Official Google Cloud CLI for managing Google Cloud resources, IAM, configs, deployments, and service APIs from the shell.
$curl https://sdk.cloud.google.com | bash
Agent Compatibility
JSON Output
Agent Skill
MCP Support
AI Analysis
Google Cloud CLI is Google's command line for working with Google Cloud projects, configurations, and service APIs across compute, storage, networking, IAM, deployments, and many other products. It gives one shell surface for both resource inspection and change operations instead of stitching together raw REST calls.
What It Enables
- Create, inspect, update, and delete Google Cloud resources such as VM instances, storage buckets, IAM settings, network objects, and service-specific resources from one CLI.
- Switch projects and configurations, manage authentication context, and run service operations or deployments without leaving the terminal.
- Filter and format resource data for follow-up shell steps, CI jobs, or agent inspect/change/verify loops.
Agent Fit
- Global formatting and filtering features, including
--format=json, make command results easy to parse and chain into scripts. --quietand prompt-disabling settings help with unattended execution, but initial auth often uses browser-based login and should be replaced with service accounts or impersonation for automation.- Good fit when an agent needs broad first-party Google Cloud coverage from one tool; MCP support exists in alpha and beta command groups, but the normal CLI surface is the primary value.
Caveats
- The command surface is huge and mixes GA, beta, and alpha groups, so stable automation should pin commands, flags, project, region, and output explicitly.
- The checked-out GitHub repo is an unofficial mirror, so official Google Cloud docs are the safer source of truth for install and product guidance.