/sre-extension:gcp-mcp-setupfrom sre-extension
Automates enabling Google Managed MCP (OneMCP) servers, generating API keys, and configuring MCP settings for Gemini, Antigravity, or Copilot CLI harnesses.
Ships in sre-extension. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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.
Use this skill when the user asks to "install OneMCP", "setup OneMCP", or "configure Google Managed MCP servers".
gcloud authenticated and a target Google Cloud Project with billing enabled.--all flag to include optional services (Error Reporting, Databases, Vertex AI).--harness to target a specific CLI harness (gemini, antigravity, or copilot). Defaults to gemini+antigravity.skills/gcp-mcp-setup/scripts/setup_onemcp.py <PROJECT_ID> [--local | --global] [--harness {gemini,antigravity,copilot}] [--all] [--google-maps-key YOUR_KEY]mcpServers configuration to the correct location depending on the target harness:
.gemini/settings.json (local) or ~/.gemini/settings.json (global)..gemini/antigravity/mcp_config.json and .gemini/config/mcp_config.json (local) or the global equivalents under ~/.gemini/.~/.copilot/mcp-config.json (always global — no workspace-level config yet).skills/gcp-mcp-setup/scripts/verify_setup.py [--harness {gemini,antigravity,copilot}]User: "Please install OneMCP on my project my-gcp-project" Agent: "I will use the gcp-mcp-setup skill to configure your project and Gemini settings for Cloud Logging, Developer Knowledge, Firestore, and BigQuery."
Note that the gcloud CLI Identity (how you are currently logged in via gcloud auth login) may differ from the MCP Server Identity (which is based on Application Default Credentials, or ADC).
MCP servers typically use ADC to authenticate. If these identities do not match, you may encounter permission errors (e.g., serviceusage.serviceUsageConsumer denied) even if gcloud commands work correctly.
If MCP doesn't work, you can propose to run this on user's behalf: gcloud auth application-default login --account <PROPOSED_IDENTITY_EMAIL>
If you encounter an identity mismatch:
gcloud auth application-default login --account=YOUR_CLI_IDENTITY to synchronize identities.python3 skills/gcp-mcp-setup/scripts/verify_setup.py.CHANGELOG.md (opens in a new tab)EVAL.md (opens in a new tab)references/TEST_PROMPTS.md (opens in a new tab)references/antigravity/mcp_config.json (opens in a new tab)references/gemini/settings.json (opens in a new tab)scripts/harness_registry.py (opens in a new tab)scripts/setup_onemcp.py (opens in a new tab)scripts/test_mcp_endpoint.sh (opens in a new tab)scripts/verify_setup.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub googlecloudplatform/sre-plugin --plugin sre-extension16 skills in this plugin
/anomaly-detection🐉 Detects anomalies in time-series data from various sources./cloud-logging🐉 Skill for interacting with and analyzing Google Cloud Logging and Error Reporting. Use this when you need to process large JSON logs from GCP or convert them to Apache format for easier analysis./cloud-monitoring🐉 Skill for interacting with Google Cloud Monitoring (CM) via APIs to avoid large context bloat. Produces nice short synoptic "gists" of graphs/data-ingestion🐉 Fetches and parses time-series data from various sources./gcp-architecture-discovery🐉 Discover and map GCP infrastructure architecture including compute, networking, storage, and service dependencies./gcp-playbooks🐉 Use when you need to follow established SRE playbooks for GCP/GKE investigations, including infrastructure discovery and common mitigation steps.Other plugins' skills for the same job