GCP MCP Server

Manage Google Cloud Platform resources through your AI assistant - Compute Engine, Cloud Run, GKE, and more.

April 15, 2026
mcpdevopsgcpcloudgoogle-cloud

GCP MCP Server

Manage Google Cloud Platform infrastructure from your AI assistant.

What it Does

  • Compute Management: VM instances, instance groups, and autoscaling
  • Container Services: GKE clusters, Cloud Run services, and Cloud Functions
  • Storage: Cloud Storage buckets, Cloud SQL, and Firestore
  • Networking: VPC, load balancers, and Cloud CDN
  • Monitoring: Cloud Logging and Cloud Monitoring integration

Installation

# Using npx
npx -y @anthropic-ai/mcp-server-gcp

# Using Docker
docker run -i --rm -v ~/.config/gcloud:/root/.config/gcloud mcp/gcp

Configuration

{
  "mcpServers": {
    "gcp": {
      "command": "npx",
      "args": ["-y", "@anthropic-ai/mcp-server-gcp"],
      "env": {
        "GCP_PROJECT": "my-project-id",
        "GOOGLE_APPLICATION_CREDENTIALS": "${HOME}/.config/gcloud/application_default_credentials.json"
      }
    }
  }
}

Example Prompts

  • "List all GKE clusters in my project"
  • "Show me Cloud Run services with high CPU"
  • "What Cloud Storage buckets exist?"
  • "Check Cloud SQL instances for backups"
  • "Show logs from the backend service"

Prerequisites

  • Google Cloud SDK (gcloud) installed
  • Application Default Credentials configured
  • Appropriate IAM permissions for target resources