Gcloud MCP
MCP server by googleapis Verified · npm:@google-cloud
Gcloud MCP is a Model Context Protocol server that lets AI assistants run gcloud CLI commands against Google Cloud. It is for users who want to manage Google Cloud through natural language.
Install Gcloud MCP
Built from the published package, never by AI.
claude mcp add gcloud-mcp -- npx -y @google-cloud/gcloud-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"gcloud-mcp": {
"args": [
"-y",
"@google-cloud/gcloud-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"gcloud-mcp": {
"args": [
"-y",
"@google-cloud/gcloud-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"gcloud-mcp": {
"args": [
"-y",
"@google-cloud/gcloud-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add gcloud-mcp -- npx -y @google-cloud/gcloud-mcp{
"mcpServers": {
"gcloud-mcp": {
"args": [
"-y",
"@google-cloud/gcloud-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add gcloud-mcp npx -y @google-cloud/gcloud-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the gcloud-mcp block.
About
The gcloud MCP server lets AI assistants interact with the Google Cloud environment through the gcloud CLI. Users can describe the outcome they want in natural language instead of memorizing gcloud command syntax, flags, and arguments. The source also says multiple cloud operations can be chained into a single repeatable command.
The repository hosts other MCP servers too, including observability, storage, and backupdr, each published as a separate npm package under @google-cloud. Setup runs through npx with the package name. The source gives configuration steps for Gemini CLI, Gemini Code Assist, Claude Desktop, Cline, Cursor, and Visual Studio Code. The project targets anyone who manages Google Cloud with AI assistants, including team members who are less familiar with gcloud.
Written from the project's README and checked against it.
Tools it gives your assistant
run_gcloud_commandExecutes a gcloud command. Some commands are restricted from execution by the agent.list_log_entriesLists log entries from a project.list_metric_descriptorsLists metric descriptors for a project.list_time_seriesLists time series data for a given metric.list_tracesSearches for traces in a project.list_objectsLists objects in a GCS bucket.read_object_contentReads the content of a specific object.write_objectWrites a new object to a bucket.create_bucketCreates a new bucket.
What you need
- Node.js version 20 or higher
- gcloud CLI
Try asking
- Use gcloud to list my Compute Engine instances in my project
- Show me recent log entries for my project from the last hour
- List the objects in my Cloud Storage bucket named reports
Good to know
- Some gcloud commands are restricted from execution by the agent.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Gcloud MCP
All alternatives →Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.
Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.
SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.
Lets AI assistants manage Fettle uptime monitoring, including monitors, incidents, heartbeats, maintenance windows and status page incidents. Built for developers and operations teams who use Fettle and want to work from Claude, Cursor or Codex.
Superlog is an open-source agentic telemetry system that ingests traces, logs and metrics and groups noisy signals into incidents. It is aimed at teams debugging production systems with OpenTelemetry data.
Microsoft Learn MCP gives AI assistants direct access to official Microsoft documentation and code samples through a remote MCP endpoint. It is for developers who use MCP-compatible clients and want answers based on current Microsoft docs.
Compare with Azure MCP Server, openstatus or SmartBear MCP
Gcloud MCP: common questions
What does the gcloud MCP server do?
It enables AI assistants to interact with Google Cloud using the gcloud CLI. The source says users can describe the outcome they want in natural language.
What do I need to run it?
The source lists Node.js version 20 or higher and the gcloud CLI as prerequisites.
Are all gcloud commands available to the assistant?
No. The source says some commands have been restricted from execution by the agent.
How do I install Gcloud MCP?
In Claude Code run claude mcp add gcloud-mcp -- npx -y @google-cloud/gcloud-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Gcloud MCP the official server?
Gcloud MCP is published by npm:@google-cloud from its verified domain in the official MCP Registry.
Is Gcloud MCP free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Gcloud MCP safe to use?
It scores 86 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Gcloud MCP?
Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.
Does Gcloud MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
