GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Descripción del creador (original en inglés)
Read-only GCP tools for debugging incidents and finding cost savings
Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.
Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.
Elige la app de IA que usas y copia la configuración.
PLATFORM_MCP_ENVIRONMENTS, PLATFORM_MCP_DEFAULT_ENVIRONMENT, PLATFORM_MCP_CONFIG, PLATFORM_MCP_AUDIT_LOGNecesitas
¿Qué app usas?
Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.
Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json
{
"mcpServers": {
"platform": {
"command": "uvx",
"args": [
"platform-mcp"
],
"env": {
"PLATFORM_MCP_ENVIRONMENTS": "your-value",
"PLATFORM_MCP_DEFAULT_ENVIRONMENT": "your-value",
"PLATFORM_MCP_CONFIG": "your-value",
"PLATFORM_MCP_AUDIT_LOG": "your-value"
}
}
}
}Ejecuta esto en tu terminal
claude mcp add platform --env PLATFORM_MCP_ENVIRONMENTS=your-value --env PLATFORM_MCP_DEFAULT_ENVIRONMENT=your-value --env PLATFORM_MCP_CONFIG=your-value --env PLATFORM_MCP_AUDIT_LOG=your-value -- uvx platform-mcpCompleta los valores vacíos antes de ejecutarlo.
Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json
{
"mcpServers": {
"platform": {
"command": "uvx",
"args": [
"platform-mcp"
],
"env": {
"PLATFORM_MCP_ENVIRONMENTS": "your-value",
"PLATFORM_MCP_DEFAULT_ENVIRONMENT": "your-value",
"PLATFORM_MCP_CONFIG": "your-value",
"PLATFORM_MCP_AUDIT_LOG": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Pégalo en .vscode/mcp.json de tu proyecto
{
"servers": {
"platform": {
"type": "stdio",
"command": "uvx",
"args": [
"platform-mcp"
],
"env": {
"PLATFORM_MCP_ENVIRONMENTS": "your-value",
"PLATFORM_MCP_DEFAULT_ENVIRONMENT": "your-value",
"PLATFORM_MCP_CONFIG": "your-value",
"PLATFORM_MCP_AUDIT_LOG": "your-value"
}
}
}
}Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.
Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.
Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.
PLATFORM_MCP_ENVIRONMENTS envPLATFORM_MCP_DEFAULT_ENVIRONMENT envPLATFORM_MCP_CONFIG envPLATFORM_MCP_AUDIT_LOG envEsta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.
Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.
Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 6 nov 2026
El nombre en el registro se verificó con la cuenta de GitHub deBilla, dueña del repo
Todavía no hemos leído este repo en GitHub
Todavía no hemos leído este repo en GitHub
Este se ejecuta en tu computadora; no hay endpoint en internet
Se ejecuta en tu computadora y usa ajustes locales en su lugar
Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet
Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.
Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.
El registro no indica ninguna clave obligatoria, aunque algunos servidores te piden iniciar sesión la primera vez que los usas.
Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).
El repo de GitHub cambió por última vez –, y la última versión (0.4.0) llegó al registro hace 2 meses.
Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Python (uv) en tu computadora.
En la misma categoría: GitHub, Desktop Commander, Cloudflare MCP
Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.
Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.
mcp-name: io.github.deBilla/platform-mcp
A read-only Model Context Protocol server that turns an AI agent (Claude Code, Claude Desktop, or any MCP client) into a GCP platform engineer. Point it at your Google Cloud projects and ask it to investigate incidents, take inventory, and surface cost-optimization opportunities — all without any ability to change your infrastructure.
Observation only. No tool in this server mutates state. Combined with a viewer-only identity (below), that gives you a hard, defense-in-depth guarantee that an agent can look but never touch.
| Area | Tools |
|---|---|
| Environments | list_environments |
| Logs & errors | query_logs, get_recent_errors, list_error_groups |
| Metrics & alerting | query_metric, list_alert_policies, list_uptime_checks |
| Cost & recommendations | get_cost_breakdown, get_billing_info, list_cost_recommendations, list_recommendations |
| Resource inventory | search_assets, list_compute_instances, list_cloud_run_services, list_gke_clusters, list_sql_instances |
Typical prompts once it's connected:
One server can reach several projects. Define them under PLATFORM_MCP_ENVIRONMENTS (see Configuration) and the agent picks one from the wording of your prompt:
Every tool takes an optional environment argument. Omit it and the default environment is used; pass environment="production" to target another. Names, any aliases you define, common shorthands (prod, stg, qa, …) and bare project ids all resolve. An unrecognized name is an error listing the valid options — a typo can never silently retarget the wrong project.
Each environment carries its own service account, so staging and production are reached through separate identities from the same process, and every result echoes back the environment and project it came from.
gcloud CLI for the one-time setupuvx platform-mcp # no install step; uv fetches it on demand
pipx install platform-mcp # or keep it on PATH
From a checkout, for development:
git clone https://github.com/deBilla/platform-mcp.git
cd platform-mcp python3 -m venv .venv ./.venv/bin/pip install -e ".[dev]"
platform-mcp doctor
This checks, for every configured environment, that Application Default Credentials exist, that the read-only service account can be impersonated, that a real API read succeeds, and that the billing export is readable — printing the exact command to fix whatever fails. Run it before reporting a problem.
Run these once per project you want to reach — staging and production each need their own APIs enabled and their own read-only service account.
1. Enable the APIs the tools depend on:
gcloud services enable \
logging.googleapis.com monitoring.googleapis.com clouderrorreporting.googleapis.com \ recommender.googleapis.com cloudasset.googleapis.com cloudbilling.googleapis.com \ bigquery.googleapis.com \ --project YOUR_PROJECT_ID
2. Grant read-only access to the identity the server runs as.
For local development with your own login (Application Default Credentials):
gcloud auth application-default login
The identity needs these viewer roles on the project, plus roles/billing.viewer on the billing account:
roles/viewer # broad read (compute, run, gke, sql via Asset Inventory)
roles/logging.viewer roles/monitoring.viewer roles/errorreporting.viewer roles/recommender.viewer roles/cloudasset.viewer roles/bigquery.dataViewer # only for get_cost_breakdown roles/bigquery.jobUser # only for get_cost_breakdown
3. (Recommended) Use a dedicated read-only service account instead of your login. platform-mcp setup does every step below, is safe to re-run, and prints the config stanza at the end. It ships with the package, so there is nothing to clone:
uvx platform-mcp setup \
--project YOUR_PROJECT_ID \ --user you@example.com \ --billing-dataset YOUR_BILLING_PROJECT:billing # optional
Or by hand:
PROJECT=YOUR_PROJECT_ID
gcloud iam service-accounts create platform-mcp-ro \ --display-name "platform-mcp read-only" --project $PROJECT
SA=platform-mcp-ro@$PROJECT.iam.gserviceaccount.com for ROLE in roles/viewer roles/logging.viewer roles/monitoring.viewer \ roles/errorreporting.viewer roles/recommender.viewer roles/cloudasset.viewer \ roles/bigquery.jobUser; do gcloud projects add-iam-policy-binding $PROJECT \ --member="serviceAccount:$SA" --role="$ROLE" --condition=None done
gcloud iam service-accounts add-iam-policy-binding $SA \ --member="user:you@example.com" \ --role="roles/iam.serviceAccountTokenCreator" --project $PROJECT
The grant everyone forgets. roles/bigquery.jobUser above only lets the account *start* a query; it grants no access to any data. A billing export almost always lives in a different project, so the account also needs read on that dataset. Without it get_cost_breakdown returns 403 while every other tool works, which reads like a bug in the tool rather than a missing grant:
bq add-iam-policy-binding \
--member="serviceAccount:$SA" --role=roles/bigquery.dataViewer \ YOUR_BILLING_PROJECT:billing
If you lack admin on the billing project, that one line is what to send to someone who has it. platform-mcp doctor checks it and says which side is missing.
Then reference it as that environment's impersonate value in PLATFORM_MCP_ENVIRONMENTS (preferred — no key file), or point at a downloaded key via GOOGLE_APPLICATION_CREDENTIALS.
Impersonation is performed by whatever identity your ADC resolves to. If your
ADC is itself an impersonated service account, that SA — not your user — needs
roles/iam.serviceAccountTokenCreatoron eachplatform-mcp-ro.
Read-only is enforced by IAM, not by OAuth scope. The server requests the broad cloud-platform scope and stays read-only purely because it never calls a mutating API. Do not rely on the code alone — run it under a viewer-only identity (step 3 above) so the credential itself is incapable of writing, regardless of what code executes. This gives you two independent layers: the server doesn't try to write, and the identity couldn't if it did.
With multiple environments this stays per-project: each environment authenticates as its own service account, so a staging identity is never used to reach production. Grant each one viewer-only access to its project alone.
The friendliest option is a config file, which keeps project ids and service account emails out of every client config you own:
mkdir -p ~/.config/platform-mcp
cp config.toml.example ~/.config/platform-mcp/config.toml $EDITOR ~/.config/platform-mcp/config.toml
With that in place, registering the server takes no environment variables at all. Point PLATFORM_MCP_CONFIG elsewhere to use a different file — a copy committed to your infrastructure repo, for instance.
Environment variables still work and always win over the file, so an existing setup keeps running unchanged and a one-off override needs no edit:
| Variable | Purpose |
|---|---|
PLATFORM_MCP_ENVIRONMENTS | JSON map of environment name → settings. The recommended way to configure the server. |
PLATFORM_MCP_DEFAULT_ENVIRONMENT | Environment used when a tool call omits environment. Defaults to staging if configured, else the first entry. |
GOOGLE_APPLICATION_CREDENTIALS | Path to a read-only SA key file (alternative to impersonation). |
PLATFORM_MCP_ENVIRONMENTS holds a JSON object; each entry accepts:
| Key | Purpose |
|---|---|
project | Required. GCP project id. |
impersonate | Read-only SA to impersonate for this environment (no key file needed). |
billing_export_table | Fully-qualified BigQuery billing export table, required only for get_cost_breakdown (e.g. YOUR_PROJECT_ID.billing.gcp_billing_export_v1_XXXXXX). |
aliases | Extra names the agent may use for this environment. |
A bare string value is shorthand for {"project": "..."}. As JSON inside .mcp.json the quotes must be escaped; unescaped it reads:
{
"staging": { "project": "my-app-staging", "impersonate": "platform-mcp-ro@my-app-staging.iam.gserviceaccount.com" }, "production": { "project": "my-app", "impersonate": "platform-mcp-ro@my-app.iam.gserviceaccount.com", "billing_export_table": "my-app.billing.gcp_billing_export_v1_XXXXXX" } }
Single-environment mode. If PLATFORM_MCP_ENVIRONMENTS is unset the server behaves as before, exposing one environment named default:
| Variable | Purpose |
|---|---|
GCP_PROJECT | Target project. Falls back to your ADC default project if unset. |
IMPERSONATE_SERVICE_ACCOUNT | Read-only SA to impersonate. Also the fallback for registry entries with no impersonate. |
BILLING_EXPORT_TABLE | Billing export table. Also the fallback for registry entries with no billing_export_table. |
Claude Code — with a config file in place, this is the whole thing:
claude mcp add platform-mcp --scope user -- uvx platform-mcp
Claude Desktop — needs an absolute path to uvx; see Claude Desktop for the full walkthrough.
Without a config file, add the environment variables from .mcp.json.example to either form.
Every tool here is read-only, so approving each call individually adds nothing. Allow the whole server once, in Claude Code settings:
{ "permissions": { "allow": ["mcp__platform-mcp__*"] } }
The glob must sit after a literal mcp__ __ prefix — an unanchored pattern like mcp__* is ignored with a warning and approves nothing.
MCP Inspector — for interactive testing:
uvx --with 'mcp[cli]' mcp dev src/platform_mcp/server.py
Installing for a teammate who uses Claude Desktop rather than the CLI. It works the same as Claude Code, with one failure mode the CLI does not have.
Claude Desktop does not inherit your shell `PATH`. It launches from the Finder, so uvx and anything installed by Homebrew or uv are invisible to it. A config that says "command": "uvx" fails with ENOENT — the server never starts, and the error names the command rather than the reason. The command path must be absolute.
What does *not* break is credentials. Application Default Credentials are a file the Google libraries read directly, so gcloud is needed once, in a terminal, to create that file — not at runtime. The config file is found the same way, from the home directory, whatever launched the server.
Each person impersonates the read-only service accounts, so an admin runs this once per person, per environment (the platform-mcp setup script does it for whoever runs it, but not for anyone else):
gcloud iam service-accounts add-iam-policy-binding \
platform-mcp-ro@YOUR_PROJECT_ID.iam.gserviceaccount.com \ --member="user:teammate@example.com" \ --role="roles/iam.ser
Solo se muestra el principio; lee el resto en el repo