google-cloud-mcp
by krzko·★ 78·Score 45
A comprehensive MCP server providing access to multiple Google Cloud services including billing, monitoring, IAM, Spanner, and more.
Overview
The Google Cloud MCP server offers extensive integration with Google Cloud Platform services through the Model Context Protocol. It provides specialized tools for billing analysis, error monitoring, IAM management, logging queries, Spanner database operations, metrics monitoring, performance profiling, and distributed tracing. The server supports both service account key file and environment variable authentication methods, making it flexible for various deployment scenarios. With clear documentation and numerous examples provided, users can easily connect to their GCP resources through natural language prompts.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this MCP server if you're already using Google Cloud services and need AI assistance with cost management, debugging, or infrastructure monitoring without switching between tools.
When NOT to choose this
Avoid this server if you're not using Google Cloud services or prefer vendor-agnostic solutions, as it's tightly coupled to Google Cloud and may introduce single-vendor lock-in concerns.
Tools this server exposes
12 tools extracted from the READMEgcp-billing-list-accountsList all Google Cloud billing accounts
gcp-billing-analyse-costsAnalyze costs for a specific Google Cloud project
gcp-error-reporting-list-groupsList error groups from Google Cloud Error Reporting
gcp-iam-get-project-policyGet IAM policy for a Google Cloud project
gcp-logging-query-logsQuery and filter log entries from Google Cloud Logging
gcp-spanner-execute-queryExecute SQL queries on Google Cloud Spanner databases
gcp-monitoring-query-metricsRetrieve and analyze metrics from Google Cloud Monitoring
gcp-profiler-list-profilesList CPU and heap profiles from Google Cloud Profiler
gcp-trace-get-traceGet details of a specific trace from Google Cloud Trace
gcp-billing-cost-recommendationsGenerate cost optimization recommendations for Google Cloud billing
gcp-iam-test-project-permissionsTest specific permissions for a Google Cloud project
gcp-monitoring-query-natural-languageQuery Google Cloud Monitoring using natural language
Comparable tools
Installation
# Clone and install the repository
git clone https://github.com/krzko/google-cloud-mcp.git
cd google-cloud-mcp
pnpm install
pnpm build
# Authenticate to Google Cloud
gcloud auth application-default login
# Configure in Claude Desktop
{
"mcpServers": {
"google-cloud-mcp": {
"command": "node",
"args": ["/path/to/google-cloud-mcp/dist/index.js"],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "/path/to/credentials.json"
}
}
}
}FAQ
- What authentication methods are supported?
- The server supports service account key files (recommended) via GOOGLE_APPLICATION_CREDENTIALS environment variable, or direct environment variables GOOGLE_CLIENT_EMAIL and GOOGLE_PRIVATE_KEY.
- How do I troubleshoot timeout issues?
- Enable debug logging with 'debug: true' in configuration, set 'lazyAuth: true' to defer authentication until needed, ensure credentials are accessible, and check logs for error messages.
Compare google-cloud-mcp with
Last updated · Auto-generated from public README + GitHub signals.