Powerful capabilities to enhance your AI assistant's interaction with GCP
Query and modify GCP resources using natural language during conversations
Seamlessly work with multiple GCP projects in the same conversation
Access resources across different GCP regions with ease
No credentials are exposed to external services, keeping your data safe
Runs locally with your GCP credentials for maximum security
Built-in retry mechanism for improved reliability and performance
Get up and running with GCP MCP in minutes
Open Claude desktop app and go to Settings -> Developer -> Edit Config
Add the following entry to your claude_desktop_config.json
:
{
"mcpServers": {
"gcp": {
"command": "sh",
"args": ["-c", "npx -y gcp-mcp"]
}
}
}
git clone https://github.com/eniayomi/gcp-mcp
cd gcp-mcp
npm install
Set up application default credentials:
gcloud auth application-default login
Refresh your AI assistant (Claude Desktop/Cursor/Windsurf)
Start interacting with your GCP environment through natural language
Start by selecting a project or asking questions like:
"List all GCP projects I have access to"
"Show me all Cloud SQL instances in project X"
"What's my current billing status?"
"Show me the logs from my Cloud Run services"
"List all GKE clusters in us-central1"
"Show me all Cloud Storage buckets in project X"
Try out GCP MCP commands in this interactive demo
Welcome to the GCP MCP interactive demo. Try out some commands:
Powerful tools to interact with your GCP environment
Execute GCP API calls using TypeScript code
List all accessible GCP projects
Select a GCP project for subsequent operations
Get billing information for the current project
Get cost forecast for the current project
Get billing budgets for the current project
List all GKE clusters in the current project
List all Cloud SQL instances in the current project
Get Cloud Logging entries for the current project
GCP MCP supports a wide range of Google Cloud Platform services
Common issues and how to resolve them
To see logs:
tail -n 50 -f ~/Library/Logs/Claude/mcp-server-gcp.log
Ensure you've run gcloud auth application-default login
Check IAM roles for your account
Verify that required APIs are enabled in your project