Google Cloud MCP Server

Model Context Protocol server for Google Cloud services

Local serverstdio

What is the Google Cloud MCP MCP server?

Model Context Protocol server for Google Cloud services. The google cloud mcp mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 6 defined tools rather than through you.

What it actually does

A Model Context Protocol server that connects to Google Cloud services to provide context and tools for interacting with your Google Cloud resources.

Its toolset

Everything the assistant can do here goes through one of these:

  • Billing — Manage and analyse Google Cloud billing with cost optimisation insights:
  • Logging — The Logging tool exposed by this server
  • Spanner — The Spanner tool exposed by this server
  • Monitoring — The Monitoring tool exposed by this server
  • Profiler — The Profiler tool exposed by this server
  • Trace — The Trace tool exposed by this server

Adding it to your client

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

Configuration

You will need 2 environment variables: GOOGLE_APPLICATION_CREDENTIALS, GOOGLE_PRIVATE_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

When to reach for it

Plenty of cloud and infrastructure servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Google Cloud MCP's toolset — Billing, Logging, Spanner and 3 more — is a fair guide to whether it matches your workflow. It is maintained by krzko; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Caveats

  • 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.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the google cloud mcp mcp server does with a few real requests.

Available tools

ToolWhat it does
BillingManage and analyse Google Cloud billing with cost optimisation insights:
LoggingThe Logging tool exposed by this server.
SpannerThe Spanner tool exposed by this server.
MonitoringThe Monitoring tool exposed by this server.
ProfilerThe Profiler tool exposed by this server.
TraceThe Trace tool exposed by this server.

How to install the Google Cloud MCP MCP server

{
  "mcpServers": {
      "google-cloud-mcp": {
          "command": "node",
          "args": [
              "/Users/foo/code/google-cloud-mcp/dist/index.js"
          ],
          "env": {
              "GOOGLE_APPLICATION_CREDENTIALS": "/Users/foo/.config/gcloud/application_default_credentials.json"
          }
      }
  }
}

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

Configuration

VariableDescriptionRequired
GOOGLE_APPLICATION_CREDENTIALSConfiguration value read at startup.Optional
GOOGLE_PRIVATE_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Google Cloud MCP to Billing.
  • Use Google Cloud MCP to Logging.
  • Use Google Cloud MCP to Spanner.

Frequently asked questions

It connects Google Cloud MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 6 tools (Billing, Logging, Spanner, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Google Cloud MCP directly.