MCP Catalogs
Home

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.

cloud-storagedeveloper-toolsops-infra
20
Forks
8
Open issues
5 mo ago
Last commit
2d ago
Indexed

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:

you:DevOps engineers monitoring cloud infrastructure costs and performance
you:Developers debugging applications using error reporting and logs
you:Security teams auditing IAM permissions and access controls
you:What authentication methods are supported?
you:How do I troubleshoot timeout issues?

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 README
  • gcp-billing-list-accounts

    List all Google Cloud billing accounts

  • gcp-billing-analyse-costs

    Analyze costs for a specific Google Cloud project

  • gcp-error-reporting-list-groups

    List error groups from Google Cloud Error Reporting

  • gcp-iam-get-project-policy

    Get IAM policy for a Google Cloud project

  • gcp-logging-query-logs

    Query and filter log entries from Google Cloud Logging

  • gcp-spanner-execute-query

    Execute SQL queries on Google Cloud Spanner databases

  • gcp-monitoring-query-metrics

    Retrieve and analyze metrics from Google Cloud Monitoring

  • gcp-profiler-list-profiles

    List CPU and heap profiles from Google Cloud Profiler

  • gcp-trace-get-trace

    Get details of a specific trace from Google Cloud Trace

  • gcp-billing-cost-recommendations

    Generate cost optimization recommendations for Google Cloud billing

  • gcp-iam-test-project-permissions

    Test specific permissions for a Google Cloud project

  • gcp-monitoring-query-natural-language

    Query Google Cloud Monitoring using natural language

Comparable tools

aws-mcpazure-mcpopenstack-mcp

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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.