GCP
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.
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
Maintainer
Works with
Installation
NPM
npx -y gcp-mcpManual Installation
npx -y gcp-mcpConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
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 loginAdd 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"]
}
}
}Restart your MCP client
Restart Claude Desktop or reload your MCP client configuration so it picks up the new gcp-mcp server entry.
Select a GCP project
Use the list-projects tool to see available projects, then select-project to set the active project for subsequent operations.
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.
GCP Alternatives — Similar Cloud Services Servers
Looking for alternatives to GCP? Here are other popular cloud services servers you can use with Claude, Cursor, and VS Code.
Open WebUI
★ 138.2kUser-friendly AI Interface (Supports Ollama, OpenAI API, ...)
Anything LLM
★ 60.4kThe all-in-one AI productivity accelerator. On device and privacy first with no annoying setup or configuration.
LocalAI
★ 46.4kLocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.
Nacos
★ 33.0kan easy-to-use dynamic service discovery, configuration and service management platform for building AI cloud native applications.
Xiaozhi ESP32
★ 26.7k本项目为xiaozhi-esp32提供后端服务,帮助您快速搭建ESP32设备控制服务器。Backend service for xiaozhi-esp32, helps you quickly build an ESP32 device control server.
Gateway
★ 11.8kA blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API.
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.
Set Up GCP in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.