Google Cloud Platform MCP server

Integrates with Google Cloud Platform to enable natural language management of cloud resources including compute, storage, networking, and databases through automated OAuth authentication.
Back to servers
Provider
Heni Haddad
Release date
Mar 19, 2025
Language
Python
Package
Stats
634 downloads
18 stars

The GCP MCP application enables Google Cloud Platform management through Claude Desktop via the Model Context Protocol. This integration lets you manage your GCP resources using natural language commands without complex setup processes or manual credential handling.

Installation

To get started with GCP MCP, install it using pip:

pip install gcp-mcp

Integrating with Claude Desktop

Add the following configuration to your Claude Desktop MCP configuration:

{
  "gcp-mcp": {
    "command": "uvx",
    "args": [
      "gcp-mcp"
    ]
  }
}

No additional setup or credential manipulation is required. When you first ask Claude to interact with your GCP resources, a browser window will automatically open for authentication. After granting access, Claude can manage your GCP resources through natural language commands.

Usage Examples

Basic Operations

Could you list my GCP projects?
Show me my compute instances
What storage buckets do I have?

Resource Creation

Please create a compute instance with 2GB RAM and 10GB storage, name it MCP-engine
Create a new storage bucket called my-backup-bucket in us-central1
Set up a new VPC network named prod-network with subnet 10.0.0.0/24

Resource Management

Stop all compute instances in the dev project
Show me all instances that have been running for more than 24 hours
What's the current CPU usage of my instance named backend-server?
Create a snapshot of my database disk

Monitoring and Alerts

Set up an alert for when CPU usage goes above 80%
Show me all critical alerts from the last 24 hours
What's the current status of my GKE clusters?

Supported Features

Resource Management

  • Projects and quotas management
  • Asset inventory
  • IAM permissions

Compute & Infrastructure

  • Compute Engine instances
  • Storage buckets and disks
  • VPC networks and firewall rules
  • Kubernetes Engine (GKE) clusters

Databases & Storage

  • Cloud SQL instances
  • Firestore databases
  • Cloud Storage
  • Database backups

Monitoring & Billing

  • Metrics and alerts
  • Billing information
  • Uptime monitoring
  • Resource usage tracking

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later