MCP server

gcloud CLI

Interact with Google Cloud through the gcloud CLI in natural language

Google's gcloud MCP server lets AI assistants run gcloud commands (with safety restrictions) to interact with Google Cloud. The same repository also provides observability, Cloud Storage and Backup and DR servers. It requires Node.js 20+ and an installed gcloud CLI and is in preview.

Also available as

Connect

  1. 1Add the server to Codex
    codex mcp add gcloud -- npx -y @google-cloud/gcloud-mcp

Configs are generated from the publisher's documented endpoint. Check their docs for plan requirements and scopes. New to this? Read the step-by-step tutorial.

Tools 1

run_gcloud_command

Things to ask

  • “List the Compute Engine instances in my project”
  • “Deploy this container to Cloud Run in us-central1”
  • “Which service accounts have the Owner role?”

Related