
About
The gcloud Model Context Protocol (MCP) server enables AI assistants to easily interact with the Google Cloud environment using the gcloud CLI.
Features
- Interact with Google Cloud using natural language. Describe the outcome you want instead of memorizing complex command syntax, flags, and arguments.
- Automate and simplify complex workflows. Chain multiple cloud operations into a single, repeatable command to reduce manual effort and the chance of error.
- Lower the barrier to entry for cloud management. Empower team members who are less familiar with gcloud to perform powerful actions confidently and safely.
Related Servers
This repository hosts multiple Google Cloud MCP servers:
- gcloud - Interact with Google Cloud via the gcloud CLI using natural language prompts
- observability - Access Google Cloud Observability APIs to query logs, metrics, and traces
- storage - Interact with Google Cloud Storage for bucket and object management
- backupdr - Interact with Google Cloud Backup and Disaster Recovery
Prerequisites
- Node.js: version 20 or higher
- gcloud CLI
Permissions
The permissions of the gcloud MCP are directly tied to the permissions of the active gcloud account. To restrict permissions and operate with the principle of least privilege, you can authorize as a service account using impersonation and assign the service account a role with limited permissions.
By default, the gcloud MCP prevents execution of gcloud commands that don't make sense for AI agents. This is done to restrict commands that can run arbitrary inputs and initiate interactive sessions.
This server runs through your single 1Server connection. No extra config required.