Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Cloud and hosting - official Google Cloud server

gcloud MCP server

Open source local MCP servers from Google that run gcloud CLI commands, plus companion servers for Cloud Observability (logs, metrics, traces), Cloud Storage, and Backup and DR. It runs locally from @google-cloud/gcloud-mcp (npm); the notes below cover how it authenticates.

Last verified 8 tools2 sources

Install

VS Code

JSON
"servers": {
  "[SERVER_NAME]": {
    "command": "npx",
    "args": ["-y", "@google-cloud/[PACKAGE_NAME]"]
  }
}

Generic

JSON
"gcloud": {
  "command": "npx",
  "args": ["-y", "@google-cloud/gcloud-mcp"]
}

Tools

run_gcloud_command
Executes a gcloud command. Some commands have been restricted from execution by the agent.
list_log_entries
Lists log entries from a project. (observability)
list_time_series
Lists time series data for a given metric. (observability)
list_traces
Searches for traces in a project. (observability)
list_objects
Lists objects in a GCS bucket. (storage)
write_object
Writes a new object to a bucket. (storage)
list_buckets
Lists all buckets in a project. (storage)
list_backup_vaults
Lists all backup vaults in a given project and location. (backupdr)

As documented on October 17, 2026. A running server reports its current list through tools/list.

Notes and caveats

  • README: 'This repository is currently in preview and may see breaking changes' and 'not an officially supported Google product', not covered by Google Cloud Terms of Service.
  • Requires Node.js 20+ and the gcloud CLI; permissions follow the active gcloud account.
  • Google also offers a hosted Google Cloud CLI remote MCP server.

FAQ

What does the gcloud MCP server do?

Open source local MCP servers from Google that run gcloud CLI commands, plus companion servers for Cloud Observability (logs, metrics, traces), Cloud Storage, and Backup and DR. The vendor documents 8 tools, including run_gcloud_command, list_log_entries, list_time_series and list_traces.

How do I add the gcloud MCP server to VS Code?

Google Cloud documents a VS Code config; copy it from the VS Code section of this page. Snippets for Generic are there too.

Does the gcloud MCP server need authentication?

It uses a scheme other than OAuth or an API key, such as the session of the app or instance it runs in; the notes on this page describe it. Transport: stdio. Status: Preview, last checked October 17, 2026.

Sources

Last verified against 2 Google Cloud pages, then re-checked independently.

Newsletter

New MCP servers, the week they ship

One email per week. New official MCP servers, the coding tools that support them and how developers wire them up.