Google Cloud CLI MCP (gcloud)
Let Claude run gcloud commands to manage services across your Google Cloud projects.
Officialby Google CloudHosted or on your computerChecked November 8, 2026
Google's gcloud MCP server gives Claude one tool, run_gcloud_command, that runs Google Cloud CLI commands with your signed-in account, so it can work with Cloud Run, Compute Engine, GKE, Cloud Storage and most other services. It runs on your computer (Node.js 20 or later), and Google also hosts a Preview version at https://cloudcli.googleapis.com/mcp that adds run_bq_command for BigQuery. The repo is labeled preview and not an officially supported Google product, so try it on a test project first.
Who is Google Cloud MCP for?
- Developers deploying to Google Cloud
- Cloud engineers who work in the gcloud CLI
- Teams exploring projects they did not set up
What can you ask Google Cloud MCP to do?
Once it is connected, ask in plain words. Your AI tool decides when to use the server and asks before it changes anything important.
Deploy the container image in my Artifact Registry repo to Cloud Run in us-central1 and give me the service URL.List every Compute Engine VM in my project with its zone, machine type and status.Which service accounts in my project have the Owner role?How to connect Google Cloud to Claude
MCP is an open standard. The setup steps below cover this server in Claude Code, Claude app, Codex, Cursor, VS Code, Gemini CLI, Antigravity, OpenCode, Windsurf. Pick your tool:
New to MCP? Read what an MCP server is and how to add one.
Connect Google Cloud CLI MCP (gcloud) to Claude Code for me: run this command: claude mcp add --transport stdio gcloud -- npx -y @google-cloud/gcloud-mcp
If a value starts with YOUR_, ask me for it first. When it is connected, help me sign in if needed and show me one thing I can ask it to do.Or do it yourself:
claude mcp add --transport stdio gcloud -- npx -y @google-cloud/gcloud-mcpUnlock the setup steps
Free. Leave your email once to open the setup steps for all 152 servers, and get the best new connectors each month.
Good to know
Run gcloud auth login first. To keep Claude inside narrow permissions, sign in as a service account through impersonation and give it only the role the task needs. The hosted endpoint is in Preview and needs the Cloud CLI Execution API plus your own OAuth client for Claude.
How did we check Google Cloud MCP?
Checked on November 8, 2026: the googleapis/gcloud-mcp README (Apache-2.0, 947 stars, last commit July 15, 2026; npm 0.5.3 published January 5, 2026) and the tool list that the hosted endpoint returned to an MCP tools/list request, where Google describes both tools as potentially destructive.
Source: github.com/googleapis/gcloud-mcp
What do people ask about Google Cloud MCP?
Is the gcloud MCP server an official Google product?
Google publishes it in its googleapis GitHub organization, but the README says the repo is in preview, is not an officially supported Google product and is not covered by the Google Cloud Terms of Service. The hosted endpoint is marked Preview too, so expect breaking changes.
Can the gcloud MCP server delete Google Cloud resources?
Yes. Google's own tool description calls run_gcloud_command potentially destructive and not restricted to read-only commands. The hosted version refuses commands such as auth, billing, config, components, docker and app deploy, and the local one blocks ssh, tunnels and interactive commands. For everything else, limit the account by impersonating a service account with only the role the task needs, or add your own deny list with --config.
What is the difference between the local and the hosted server?
The local server runs gcloud on your machine with the account from gcloud auth login. The hosted Preview server runs each command in Google's own execution environment for the project you name, adds run_bq_command for BigQuery, and needs the Cloud CLI Execution API turned on plus your own OAuth client to connect from Claude.
Which other Google Cloud MCP servers sit next to it?
The same repo ships observability (logs, metrics, traces and error groups), storage (Cloud Storage buckets and objects) and backupdr (Backup and DR) servers. Google lists separate servers for Cloud Run, GKE, Firebase and MCP Toolbox for Databases.
We wrote these answers from the official pages of each product named, read on November 8, 2026.
More cloud and DevOps servers
- Cloudflare API MCP ServerReach the whole Cloudflare API, from DNS to Workers, through one hosted server
- Sentry MCP ServerSearch Sentry errors, read stack traces and get AI root-cause analysis in Claude
- Netlify MCP ServerCreate, deploy and manage Netlify sites, forms, extensions and environment variables
Using servers like Google Cloud from Claude Code? Our Claude Code course, in early access, goes from your first command to a landing page, an AI video and a working agent.