gcp-mcp-setup

gcp-mcp-setup is a skill for Claude Code from gemini-cli-extensions/sre. It costs 66 tokens per session (939 once invoked), scanned B, original, Apache-2.0.

A setup guide for Google Managed MCP servers, which let command-line tools access Google Cloud services. It enables the services, creates an API key, and writes settings for Gemini, Antigravity, or Copilot CLI.

In plain words
What is it for?
Use it to configure Google Cloud Logging, Monitoring, GKE, Cloud Run, Resource Manager, and Developer Knowledge servers, with optional services such as BigQuery and Vertex AI.
Why use it?
It removes the manual work of enabling Google Cloud APIs and connecting MCP servers to your command-line environment.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Gemini CLI.

Part of the sre-extension plugin — 16 skills shipped together

Good fit Use it to configure Google Cloud Logging, Monitoring, GKE, Cloud Run, Resource Manager, and Developer Knowledge servers, with optional services such as BigQuery and Vertex AI.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gemini-cli-extensions/sre/gcp-mcp-setup
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gemini-cli-extensions/sre --skill gcp-mcp-setup
Clone the repo
git clone --depth 1 https://github.com/gemini-cli-extensions/sre

Made for: Claude Code.

Or install sre-extension, the plugin that ships this one along with the rest of its 16 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gcp-mcp-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/gemini-cli-extensions/sre/gcp-mcp-setup/github.svg)](https://agentmods.dev/skills/gemini-cli-extensions/sre/gcp-mcp-setup)
Your own site
<a href="https://agentmods.dev/skills/gemini-cli-extensions/sre/gcp-mcp-setup"><img src="https://agentmods.dev/badge/skills/gemini-cli-extensions/sre/gcp-mcp-setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gcp-mcp-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/gemini-cli-extensions/sre/gcp-mcp-setup"><img src="https://agentmods.dev/badge/skills/gemini-cli-extensions/sre/gcp-mcp-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 939 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00066 $0.00939
Opus 5.5 $0.00026 $0.00376
Sonnet 5.5 $0.00013 $0.00188
Haiku 4.5 $0.00007 $0.00094

Measured 1mo ago against content hash cf772aa9806b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

gcp-mcp-setup scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/harness_registry.py, scripts/setup_onemcp.py, scripts/test_mcp_endpoint.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- **Gemini CLI**: `.gemini/settings.json` (local) or `~/.gemini/settings.json` (global).
skills/gcp-mcp-setup/SKILL.md · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OneMCP Setup Skill

Overview

This skill provides the automated steps to configure your environment and enable the Core Google Managed MCP servers (Logging, Monitoring, GKE, Run, Resource Manager, Developer Knowledge) by default. Use the --all flag to include additional services like Error Reporting, Cloud SQL, Spanner, Pub/Sub, Vertex AI, Firestore, and BigQuery.

When to Use

Use this skill when the user asks to "install OneMCP", "setup OneMCP", or "configure Google Managed MCP servers".

Core Pattern

  1. Prerequisites Verification: Ensure the user has gcloud authenticated and a target Google Cloud Project with billing enabled.
  2. Setup Script Execution: Run the provided script to enable APIs, MCP services, and generate the required API Key.
    • By default, it installs a Lean SRE toolset (Logging, Monitoring, GKE, Run, Resource Manager, Developer Knowledge).
    • Use the --all flag to include optional services (Error Reporting, Databases, Vertex AI).
    • Use --harness to target a specific CLI harness (gemini, antigravity, or copilot). Defaults to gemini+antigravity.
    • Script: skills/gcp-mcp-setup/scripts/setup_onemcp.py <PROJECT_ID> [--local | --global] [--harness {gemini,antigravity,copilot}] [--all] [--google-maps-key YOUR_KEY]
  3. Configure Settings: The script automatically writes the mcpServers configuration to the correct location depending on the target harness:
    • Gemini CLI: .gemini/settings.json (local) or ~/.gemini/settings.json (global).
    • Antigravity CLI (agy): .gemini/antigravity/mcp_config.json and .gemini/config/mcp_config.json (local) or the global equivalents under ~/.gemini/.
    • GitHub Copilot CLI: ~/.copilot/mcp-config.json (always global — no workspace-level config yet).
  4. Verification & Diagnostics:
    • Script: skills/gcp-mcp-setup/scripts/verify_setup.py [--harness {gemini,antigravity,copilot}]
    • This script checks identity consistency (gcloud vs ADC), runs the harness-specific MCP list command, and confirms all expected google-* servers are registered.

Read the full file on GitHub · 60 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -4 tokens per session cf772aa9806b
  2. 3mo ago First seen · 60 lines · 70 tokens per session scan B ba5aab434c64

Subscribe to this mod's changes

gcp-mcp-setup is a skill published in the GitHub repository gemini-cli-extensions/sre (150 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 66 tokens to every session and 939 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

gcp-mcp-setup compared with skills from other repositories

gcp-mcp-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gcp-mcp-setupgemini-cli-extensions/sreSkill1501mo agoApache-2.0B66Claude Code
gke-compute-classesgoogle/skillsSkill26ktodayApache-2.0A100Claude Code, Codex
cloud-operator-admin-setupgoogle/skillsSkill26ktodayApache-2.0A118Claude Code, Codex
gke-reliabilitygoogle/skillsSkill26ktodayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill26ktodayApache-2.0A171Claude Code, Codex
nemo-automodel-launcher-configNVIDIA/skillsSkill4.3ktodayApache-2.0A30Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3ktodayMITA78Claude Code