Google Cloud Platform

by henihaddad

19 stars
1.4k downloads
Not rated
GitHub

About

Integrates with Google Cloud Platform to enable natural language management of cloud resources including compute, storage, networking, and databases through automated OAuth authentication.

Details

Author
henihaddad
Repository
henihaddad/gcp-mcp
GitHub stars
19
Downloads
1,439
Categories
Design, Developer Tools, File Management, Security, Infrastructure, Database, Automation

The application provides comprehensive coverage of GCP services:

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Google Cloud Platform
    Command (node, npx, python, etc.) uvx
    Arguments
    • Argument 1 gcp-mcp

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

pip install gcp-mcp

list_projects

List all GCP projects associated with the user's account.

show_compute_instances

Display all compute instances available in the user's GCP projects.

list_storage_buckets

Show all storage buckets available in the user's GCP account.

create_compute_instance

Create a compute instance with specified parameters. Parameters: RAM (string), storage (string), name (string).

create_storage_bucket

Create a new storage bucket with a specified name and location. Parameters: bucket_name (string), location (string).

create_vpc_network

Set up a new VPC network with a specified name and subnet. Parameters: network_name (string), subnet (string).

stop_compute_instances

Stop all compute instances in a specified GCP project. Parameters: project_name (string).

show_long_running_instances

Display all instances that have been running for more than 24 hours.

check_cpu_usage

Get the current CPU usage of a specified instance. Parameters: instance_name (string).

create_snapshot

Create a snapshot of a specified database disk. Parameters: disk_name (string).

set_cpu_alert

Set up an alert for when CPU usage exceeds a specified threshold. Parameters: threshold (integer).

show_critical_alerts

Display all critical alerts from the last 24 hours.

check_gke_status

Get the current status of the user's GKE clusters.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "google cloud platform": {
            "env": {},
            "args": [
                "gcp-mcp"
            ],
            "shell": false,
            "command": "uvx"
        }
    }
}

Linux

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

Macos

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

Windows

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

GCP MCP Application

Claude Desktop Integration

To enable GCP management capabilities in Claude Desktop, simply add the following configuration to your Claude Desktop MCP configuration:

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

That's it! 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 you to authenticate and grant access. Once you approve the access, Claude will be able to manage your GCP resources through natural language commands.

Here are some example requests you can make:

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?"

Features

The application provides comprehensive coverage of GCP services:

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

Coming Soon

- Deployment manager and infrastructure as code

Installation

pip install gcp-mcp

License

MIT License

Your contributions and issues are welcome !

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.