Gcp MCP Server

A comprehensive Model Context Protocol (MCP) server implementation for Google Cloud Platform (GCP) services, enabling AI assistants to interact with

Local serverstdioPython

What is the Gcp MCP MCP server?

Most cloud and infrastructure work still happens through a UI a human drives. Gcp MCP MCP server moves it into the conversation instead. A comprehensive Model Context Protocol (MCP) server implementation for Google Cloud Platform (GCP) services, enabling AI assistants to interact with and manage GCP resources through a standardized interface.

The short version

The implementation follows the MCP specification to enable AI systems to interact with GCP services in a secure, controlled manner.

The tools it exposes

The server publishes 3 tools. What each one is for:

  • Prerequisites — The Prerequisites tool exposed by this server
  • Installation — 1. Clone the repository: bash git clone https://github.com/yourusername/gcp-mcp-server.git cd gcp-mcp-server
  • Usage — Add this configuration to your MCP configuration file to enable GCP Cloud Tools functionality

Getting it running

Installation goes through your MCP client rather than a global install: point it at google-cloud-run on PyPI and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

What it needs from you

Configuration is passed through the environment: GOOGLE_APPLICATION_CREDENTIALS, GCP_PROJECT_ID, GCP_LOCATION. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Python 3.10+ - GCP project with enabled APIs for the services you want to use - Authenticated GCP credentials (Application Default Credentials recommended)

How it compares

Among the cloud and infrastructure options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Gcp MCP's toolset — Prerequisites, Installation, Usage — is a fair guide to whether it matches your workflow. It is maintained by enesbol; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Gcp MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
PrerequisitesThe Prerequisites tool exposed by this server.
Installation1. Clone the repository: bash git clone https://github.com/yourusername/gcp-mcp-server.git cd gcp-mcp-server
UsageAdd this configuration to your MCP configuration file to enable GCP Cloud Tools functionality.

How to install the Gcp MCP MCP server

"mcpServers": {
  "GCP Cloud Tools": {
    "command": "uv",
    "args": [
      "run",
      "--with",
      "google-cloud-artifact-registry>=1.10.0",
      "--with",
      "google-cloud-bigquery>=3.27.0",
      "--with",
      "google-cloud-build>=3.0.0",
      "--with",
      "google-cloud-compute>=1.0.0",
      "--with",
      "google-cloud-logging>=3.5.0",
      "--with",
      "google-cloud-monitoring>=2.0.0",
      "--with",
      "google-cloud-run>=0.9.0",
      "--with",
      "google-cloud-storage>=2.10.0",
      "--with",
      "mcp[cli]",
      "--with",
      "python-dotenv>=1.0.0",
      "mcp",
      "run",
      "C:\\Users\\enes_\\Desktop\\mcp-repo-final\\gcp-mcp\\src\\gcp-mcp-server\\main.py"
    ],
    "env": {
      "GOOGLE_APPLICATION_CREDENTIALS": "C:/Users/enes_/Desktop/mcp-repo-final/gcp-mcp/service-account.json",
      "GCP_PROJECT_ID": "gcp-mcp-cloud-project",
      "GCP_LOCATION": "us-east1"
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Python 3.10+ - GCP project with enabled APIs for the services you want to use - Authenticated GCP credentials (Application Default Credentials recommended)
VariableDescriptionRequired
GOOGLE_APPLICATION_CREDENTIALSConfiguration value read at startup.Optional
GCP_PROJECT_IDConfiguration value read at startup.Optional
GCP_LOCATIONConfiguration value read at startup.Optional

Example prompts to try

  • Use Gcp MCP to Prerequisites.
  • Use Gcp MCP to Installation.
  • Use Gcp MCP to Usage.

Frequently asked questions

It connects Gcp MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 3 tools (Prerequisites, Installation, Usage) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Gcp MCP directly.