GCP

v1.0.2Cloud Servicesstable

Enables AI assistants to interact with Google Cloud Platform resources through natural language queries. Supports querying and managing GCP services like Compute Engine, Cloud Storage, BigQuery, and more across multiple projects and regions.

gcpmcpclaudeaillm
Share:
198
Stars
0
Downloads
0
Weekly
0/5

What is GCP?

GCP is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables ai assistants to interact with google cloud platform resources through natural language queries. supports querying and managing gcp services like compute engine, cloud storage, bigquery, and m...

Enables AI assistants to interact with Google Cloud Platform resources through natural language queries. Supports querying and managing GCP services like Compute Engine, Cloud Storage, BigQuery, and more across multiple projects and regions.

This server falls under the Cloud Services category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Enables AI assistants to interact with Google Cloud Platform

Use Cases

Query and manage Google Cloud resources via natural language.
Interact with Compute Engine, Cloud Storage, BigQuery across projects.
Automate GCP infrastructure management through AI assistants.
eniayomi

Maintainer

LicenseMIT License
Languagetypescript
Versionv1.0.2
UpdatedMay 6, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y gcp-mcp

Manual Installation

npx -y gcp-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use GCP

GCP MCP enables AI assistants to query and manage Google Cloud Platform resources through natural language, removing the need to memorize gcloud CLI syntax or navigate the GCP console. It supports Compute Engine, Cloud Storage, BigQuery, Cloud SQL, GKE, Cloud Functions, Cloud Run, Cloud Logging, and Cloud Billing across multiple projects. Developers and DevOps engineers use it to quickly inspect infrastructure state, check billing, retrieve logs, and list resources — all from within their MCP client.

Prerequisites

  • Node.js installed (npx must be available)
  • Google Cloud SDK (gcloud) installed and authenticated — run gcloud auth application-default login
  • A GCP project with appropriate IAM permissions for the resources you want to query
  • An MCP-compatible client such as Claude Desktop, Cursor, or Windsurf
1

Authenticate with Google Cloud

Run the application default credentials login command so the server can authenticate as your user account when making GCP API calls.

gcloud auth application-default login
2

Add to your MCP client configuration

Add gcp-mcp to your claude_desktop_config.json (Claude Desktop), Cursor, or Windsurf config. The server is run via npx so no global install is required.

{
  "mcpServers": {
    "gcp": {
      "command": "sh",
      "args": ["-c", "npx -y gcp-mcp"]
    }
  }
}
3

Restart your MCP client

Restart Claude Desktop or reload your MCP client configuration so it picks up the new gcp-mcp server entry.

4

Select a GCP project

Use the list-projects tool to see available projects, then select-project to set the active project for subsequent operations.

5

Query your GCP resources

Ask natural-language questions about your GCP infrastructure. The server maps these to the appropriate tool calls across Compute Engine, BigQuery, Cloud SQL, GKE, Cloud Logging, and billing APIs.

GCP Examples

Client configuration

Claude Desktop configuration for gcp-mcp using npx. No environment variables are required beyond your application default credentials.

{
  "mcpServers": {
    "gcp": {
      "command": "sh",
      "args": ["-c", "npx -y gcp-mcp"]
    }
  }
}

Prompts to try

Example prompts covering the main GCP services exposed by this server.

- "List all GCP projects I have access to"
- "Show me all Cloud SQL instances in project my-project-id"
- "What are my current GCP billing charges and cost forecast?"
- "List all GKE clusters and their node counts"
- "Show me the last 50 error log entries from project my-project-id"
- "What BigQuery datasets and tables exist in my project?"

Troubleshooting GCP

Authentication error: Application Default Credentials not found

Run gcloud auth application-default login in your terminal before starting the MCP server. The credentials file is stored at ~/.config/gcloud/application_default_credentials.json and is picked up automatically by the server.

Permission denied errors when listing resources

Ensure your GCP account has the required IAM roles for the services you are querying. At minimum you need roles/viewer on the project. For billing data you need roles/billing.viewer on the billing account.

npx gcp-mcp fails with 'package not found'

Verify the package name by running npx -y gcp-mcp in a terminal. If it fails, try installing it globally first: npm install -g gcp-mcp. Ensure your Node.js version is compatible with the package.

Frequently Asked Questions about GCP

What is GCP?

GCP is a Model Context Protocol (MCP) server that enables ai assistants to interact with google cloud platform resources through natural language queries. supports querying and managing gcp services like compute engine, cloud storage, bigquery, and more across multiple projects and regions. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install GCP?

Install via npm with the command: npx -y gcp-mcp. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with GCP?

GCP works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is GCP free to use?

Yes, GCP is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Cloud Services MCP Servers

Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "gcp-mcp": { "command": "npx", "args": ["-y", "gcp-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use GCP?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides