Back to Home
googleapis icon

gcloud-mcp

Verified Safe

by googleapis

Overview

Enables AI assistants to interact with the Google Cloud environment using the gcloud CLI for natural language commands, workflow automation, and simplified cloud management.

Installation

Run Command
npx -y @google-cloud/gcloud-mcp

Environment Variables

  • GOOGLE_CLOUD_PROJECT
  • GCP_PROJECT_ID
  • LOG_LEVEL

Security Notes

The server executes arbitrary gcloud CLI commands, which is inherently high-risk. However, it implements a default denylist for dangerous commands (e.g., interactive sessions, arbitrary inputs) and allows users to configure additional allowlists/denylists via a JSON configuration file. It also recommends authorizing with a service account using impersonation for least privilege. The Model Context Protocol SDK includes rate limiting for API calls, and CORS is enabled. No hardcoded secrets or obvious obfuscation were found. The primary risk lies in the interpretation of AI prompts into gcloud commands and the potential for a compromised agent to bypass the access control list.

Similar Servers

Stats

Interest Score98
Security Score7
Cost ClassMedium
Avg Tokens50000
Stars552
Forks48
Last Update2025-12-05

Tags

AI AssistantGoogle CloudCLIAutomationModel Context Protocol