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.
npx agentmods add skills/gemini-cli-extensions/sre/gcp-mcp-setupnpx skills add gemini-cli-extensions/sre --skill gcp-mcp-setupgit clone --depth 1 https://github.com/gemini-cli-extensions/sreWrote 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.
[](https://agentmods.dev/skills/gemini-cli-extensions/sre/gcp-mcp-setup)<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="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00070 | $0.00943 |
| Opus 5 | $0.00035 | $0.00472 |
| Sonnet 5 | $0.00014 | $0.00189 |
| Haiku 4.5 | $0.00007 | $0.00094 |
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 6d ago.
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). 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
- Prerequisites Verification: Ensure the user has
gcloudauthenticated and a target Google Cloud Project with billing enabled. - 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
--allflag to include optional services (Error Reporting, Databases, Vertex AI). - Use
--harnessto target a specific CLI harness (gemini,antigravity, orcopilot). Defaults togemini+antigravity. - Script:
skills/gcp-mcp-setup/scripts/setup_onemcp.py <PROJECT_ID> [--local | --global] [--harness {gemini,antigravity,copilot}] [--all] [--google-maps-key YOUR_KEY]
- Configure Settings: The script automatically writes the
mcpServersconfiguration 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.jsonand.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).
- Gemini CLI:
- 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.
- Script:
What ships with it
9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- CHANGELOG.md 3.5 KB
- EVAL.md 1.6 KB
- references/antigravity/mcp_config.json 1.8 KB
- references/gemini/settings.json 1.8 KB
- references/TEST_PROMPTS.md 1.0 KB
- scripts/harness_registry.py 3.4 KB runs code
- scripts/setup_onemcp.py 8.5 KB runs code
- scripts/test_mcp_endpoint.sh 2.0 KB runs code
- scripts/verify_setup.py 13 KB runs code
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.
- 6d ago First seen · 60 lines · 70 tokens per session scan B ba5aab434c64
gcp-mcp-setup is a skill published in the GitHub repository gemini-cli-extensions/sre (83 stars, last pushed 3d ago), licensed Apache-2.0. It adds 70 tokens to every session and 943 once invoked, about $0.0003 per session on Opus 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.
Other skills, from other repositories
gke-compute-classes
Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…
gke-reliability
Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).
gke-workload-security
Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…
nemo-automodel-launcher-config
Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.
azure-mgmt-botservice-dotnet
Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".
cloud-architect
Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…