← Back to Leaderboard
Ggoogleapis

googleapis/gcloud-mcp

A local MCP bridge for gcloud CLI operations and Google Cloud observability

View on GitHub ↗
Engineering Health (Methodology)
A · 76/100
Maintenance Activity
● Updated 1mo ago
Latest Release
storage-mcp-v0.6.0
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance26/35
Fork Adoption16/25
Release Cadence14/20
License Clarity20/20
MCPCLI
Total Stars
★ 962
24h Growth
+1
7d Growth
+5
Forks
93

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

googleapis/gcloud-mcp Star History (2025-08-15 - 2026-12-03) ALL-TIME STAR HISTORY (2025-08 – 2026-12) +961 in 475d · avg +2/day 1k 508 0 2025-08-15: ★ 12025-09-13: ★ 2662025-10-18: ★ 4582025-11-22: ★ 5132025-12-27: ★ 5712026-01-31: ★ 6292026-03-07: ★ 6892026-04-11: ★ 7252026-05-16: ★ 7812026-06-20: ★ 8342026-07-25: ★ 8642026-08-29: ★ 8912026-10-03: ★ 9162026-11-02: ★ 9402026-12-03: ★ 962 ★ 962 2025-08 2026-04 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

This TypeScript repository collects separate MCP server packages under packages/. In the documented local setup, the AI client launches a selected npm package via npx and communicates over stdio. The gcloud package exposes run_gcloud_command, which delegates to the installed gcloud CLI. Cloud access is governed by the active CLI identity rather than by a separate MCP permission model.

The observability package exposes named log and metric operations instead of a general command tool. The repository also ships Storage releases separately, and the root manifest lists @google-cloud/storage. For operators, package selection determines which tools the assistant sees; the credentials and IAM roles used by those tools determine what Google Cloud permits.

Key Capabilities & Differentiators

The general gcloud tool lets an assistant translate requests into CLI operations and chain calls across a workflow. It is not an unrestricted command runner: the default deny list is intended to block selected commands that accept arbitrary input or start interactive sessions. Actual resource access still depends on the active identity's IAM permissions.

The observability server offers a narrower interface: it lists log entries and names, log buckets and views, sinks and scopes, metric descriptors, and time series. That is enough to inspect what telemetry is available and investigate a service issue without giving the assistant a broad CLI tool. Storage tool names and classifications should be checked against the exact version before wiring them into persistent workflows.

Trade-offs & Limitations

Compared with direct gcloud scripts, the MCP bridge lets assistants choose flags and sequence calls without a predefined runbook for every task. The trade-off is predictability: keep reviewed scripts for routine production changes that need explicit, repeatable command sequences. For log and metric investigations, the dedicated observability server exposes fewer operations and makes the assistant's intended action easier to inspect.

The gcloud deny list is a guardrail, not a replacement for IAM or approval of sensitive changes. Use least-privilege roles, for example through service-account impersonation, and require separate approval for destructive operations where the client supports it. Apache-2.0 permits reuse under its terms, but the project is in preview, may introduce breaking changes, and is not an officially supported Google product.

Hardware & Deployment Guide

Use Node.js 20 or newer and install the gcloud CLI for the gcloud package. For Gemini CLI or Gemini Code Assist, run npx @google-cloud/gcloud-mcp init --agent=gemini-cli from the home directory and verify registration with gemini mcp list. Other clients can launch npx -y @google-cloud/gcloud-mcp via stdio; VS Code workspace configuration uses the servers map in .vscode/mcp.json.

The MCP process runs locally, but Google Cloud operations still need valid credentials and network access. Test the effective identity and keep production roles narrow. Pin package versions for managed rollouts: Storage v0.5.1 reclassified delete_object from safe to destructive, while v0.6.0, released on May 6, 2026, removed download_object_safe as a breaking change. Check existing tool allowlists and workflows before upgrading.

Transport: MCP clients launch the npm package as a local stdio subprocess.
CLI execution: run_gcloud_command delegates to the installed gcloud CLI and denies selected commands by default.
Observability: Named tools list log entries, buckets, views, sinks, and scopes, as well as metric descriptors and time series.
Authorization: The gcloud server runs with the active CLI identity; service-account impersonation supports a narrower IAM role.
Client integration: Gemini supports init --agent=gemini-cli; VS Code uses a servers map in .vscode/mcp.json.
Storage compatibility: v0.5.1 moved delete_object to destructive tools; v0.6.0 removed download_object_safe.
Best For

Google Cloud teams that want an MCP client to inspect telemetry or assist with ad hoc gcloud tasks under a tightly scoped identity.

Skip If

You need offline cloud access, an officially supported Google product, or a reviewed production procedure with fixed commands and parameters; use direct scripts or an existing runbook for that last case.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

MCPCLI
npx @google-cloud/[PACKAGE_NAME] init --agent=gemini-cli

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
gcloud-mcp ★962+5TypeScriptApache-2.0A local MCP bridge for gcloud CLI operations and Google Cloud observability
rea488.8k+7.6kTypeScriptMITA local CLI and MCP server for evidence-backed app and binary analysis
chrome-devtools-mcp60.4k+801TypeScriptApache-2.0Chrome DevTools via MCP and CLI for live browser debugging and performance analy
OpenSpec76.4k+495TypeScriptMITA CLI and agent-skill layer for keeping AI coding aligned with versioned specs

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/googleapis/gcloud-mcp.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

googleapis/gcloud-mcp Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about gcloud-mcp

How does the MCP client connect, and where do cloud permissions come from?

The MCP client launches the npm package as a local subprocess and communicates with it over stdio. The gcloud server delegates requests to the installed gcloud CLI, so a working MCP connection does not establish that the active identity can access the intended project. Verify both separately.

Does the server need a GPU, and what determines local resource usage?

No local model runtime or GPU is specified for the MCP bridge. Budget for the Node.js process, any gcloud subprocesses, and the results they return. Large log queries and concurrent calls are more relevant to bridge sizing than VRAM; size the AI client separately if it runs a local model.

Can a company run or redistribute this software?

Apache-2.0 allows commercial use and local operation subject to its license terms, including applicable notice obligations on redistribution. That license does not confer Google product support or Google Cloud service entitlements. The bridge is a preview solution, not an officially supported Google product.

When should I use direct gcloud scripts or the observability server instead?

Use direct gcloud scripts for reviewed, repeatable procedures in which commands and flags should be explicit. Use the broad gcloud MCP tool when an assistant needs to choose among several Google Cloud operations. If the workflow only requires log and metric inspection, the observability server gives the assistant a narrower, more explicit tool surface.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining googleapis/gcloud-mcp? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature googleapis/gcloud-mcp on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare