Prototyp · Vorschau: alle Server aus der offiziellen Registry, alle 30 Minuten synchronisiert. Mit Google anmelden, um Bewertungen zu schreiben.
PopNx MCPMCP-Server für alle, die KI nutzen · in einfachen Worten erklärt

GCP Platform Engineer

von deBillaVersion 0.4.0i★ 2iLäuft auf deinem Computer
Name in der Registryio.github.deBilla/platform-mcp

So installierst du es

Überblick

Beschreibung vom Entwickler (englisches Original)

Read-only GCP tools for debugging incidents and finding cost savings

Was du damit machen kannst

Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.

  • Verbindung: Läuft auf deinem Computer
  • Transport: stdio
  • Kategorie: Entwicklertools

Installation

Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.

2/2 Prüfungen bestanden · Läuft auf deinem Computer

Zuerst: Welche KI nutzt du?

Wähle deine App, dann erscheinen die Schritte unten.

Klappt mit Claude, aber erst etwas vorbereiten

Du brauchst einen Schlüssel von GCP Platform Engineer (auf der Seite des Anbieters registrieren, kann kosten) · Installiere zuerst Python (uv) auf deinem Computer (nur einmal) · Nur in der Claude-App für den Computer (Windows oder Mac), nicht im Web oder auf dem Handy

  1. Python (uv) installieren

    Nur einmal; gilt für alle Server, die Python (uv) brauchen

    Download-Seite von Python (uv) öffnen ↗

  2. Bei GCP Platform Engineer registrieren und Schlüssel erstellen

    Öffne die Seite des Anbieters, registriere dich und erstelle einen API-Schlüssel für den nächsten Schritt. Kann Geld kosten.

    Seite von GCP Platform Engineer öffnen ↗

  3. Einstellungsdatei der Claude-Desktop-App öffnen

    SettingsDeveloperEdit Config

  4. Diese Einstellungen einfügen und speichern

    {
      "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"
          }
        }
      }
    }

    Füge den Schlüssel nur in das Feld der App ein, nie in einen Chat und schick ihn niemandem

  5. Claude beenden und neu öffnen

  6. Ausprobieren

    Nutze GCP Platform Engineer und sag mir, was du für mich tun kannst; zeig mir dann eine Sache

    ✓ Wenn Claude sagt, dass es GCP Platform Engineer nutzt, oder ein Werkzeug von GCP Platform Engineer in der Antwort zeigt, bist du verbunden

Menünamen am 11. Nov. 2026 mit der Hilfe von Anthropic abgeglichen · dein Bildschirm kann je nach App-Version leicht abweichen

ChatGPT kann GCP Platform Engineer noch nicht verbinden

GCP Platform Engineer läuft auf deinem Computer, aber ChatGPT verbindet nur Server, die im Web laufen

Das kannst du stattdessen tun

A · Eine App nutzen, die GCP Platform Engineer verbinden kann

  • Du brauchst einen Schlüssel von GCP Platform Engineer (auf der Seite des Anbieters registrieren, kann kosten) · Installiere zuerst Python (uv) auf deinem Computer (nur einmal) · Nur in der Claude-App für den Computer (Windows oder Mac), nicht im Web oder auf dem Handy
  • Du brauchst einen Schlüssel von GCP Platform Engineer (auf der Seite des Anbieters registrieren, kann kosten) · Installiere zuerst Python (uv) auf deinem Computer (nur einmal)
  • Du brauchst einen Schlüssel von GCP Platform Engineer (auf der Seite des Anbieters registrieren, kann kosten) · Installiere zuerst Python (uv) auf deinem Computer (nur einmal)
  • Du brauchst einen Schlüssel von GCP Platform Engineer (auf der Seite des Anbieters registrieren, kann kosten) · Installiere zuerst Python (uv) auf deinem Computer (nur einmal)

B · Andere in Entwicklertools, die mit ChatGPT funktionieren

Aus den meistgenutzten derselben Kategorie, nur solche, die per Adresse ohne Schlüssel verbinden

Klappt mit Claude Code, aber erst etwas vorbereiten

Du brauchst einen Schlüssel von GCP Platform Engineer (auf der Seite des Anbieters registrieren, kann kosten) · Installiere zuerst Python (uv) auf deinem Computer (nur einmal)

  1. Python (uv) installieren

    Nur einmal; gilt für alle Server, die Python (uv) brauchen

    Download-Seite von Python (uv) öffnen ↗

  2. Bei GCP Platform Engineer registrieren und Schlüssel erstellen

    Öffne die Seite des Anbieters, registriere dich und erstelle einen API-Schlüssel für den nächsten Schritt. Kann Geld kosten.

    Seite von GCP Platform Engineer öffnen ↗

  3. Terminal öffnen

    Mac: Command+Leertaste drücken und Terminal tippen · Windows: PowerShell öffnen

  4. Diesen Befehl einfügen und Enter drücken

    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-mcp

    Ersetze „your-value“ vor dem Enter durch deinen Schlüssel

    Füge den Schlüssel nur in das Feld der App ein, nie in einen Chat und schick ihn niemandem

  5. /mcp in Claude Code eingeben

    GCP Platform Engineer sollte in der Liste als verbunden erscheinen

  6. Ausprobieren

    Nutze GCP Platform Engineer und sag mir, was du für mich tun kannst; zeig mir dann eine Sache

    ✓ Wenn Claude Code sagt, dass es GCP Platform Engineer nutzt, oder ein Werkzeug von GCP Platform Engineer in der Antwort zeigt, bist du verbunden

Menünamen am 11. Nov. 2026 mit der Hilfe von Anthropic abgeglichen · dein Bildschirm kann je nach App-Version leicht abweichen

Klappt mit Cursor, aber erst etwas vorbereiten

Du brauchst einen Schlüssel von GCP Platform Engineer (auf der Seite des Anbieters registrieren, kann kosten) · Installiere zuerst Python (uv) auf deinem Computer (nur einmal)

  1. Python (uv) installieren

    Nur einmal; gilt für alle Server, die Python (uv) brauchen

    Download-Seite von Python (uv) öffnen ↗

  2. Bei GCP Platform Engineer registrieren und Schlüssel erstellen

    Öffne die Seite des Anbieters, registriere dich und erstelle einen API-Schlüssel für den nächsten Schritt. Kann Geld kosten.

    Seite von GCP Platform Engineer öffnen ↗

  3. Mit diesem Button Cursor öffnen

    In Cursor öffnen

    Cursor fragt nach einer Bestätigung; klicke Install

  4. Schlüssel eintragen

    In den Einstellungen von GCP Platform Engineer ist PLATFORM_MCP_ENVIRONMENTS, PLATFORM_MCP_DEFAULT_ENVIRONMENT, PLATFORM_MCP_CONFIG, PLATFORM_MCP_AUDIT_LOG leer; trag deinen Schlüssel ein und speichere

    Füge den Schlüssel nur in das Feld der App ein, nie in einen Chat und schick ihn niemandem

  5. KI-Chat in Cursor im Agent-Modus öffnen

  6. Ausprobieren

    Nutze GCP Platform Engineer und sag mir, was du für mich tun kannst; zeig mir dann eine Sache

    ✓ Wenn Cursor sagt, dass es GCP Platform Engineer nutzt, oder ein Werkzeug von GCP Platform Engineer in der Antwort zeigt, bist du verbunden

Menünamen am 11. Nov. 2026 mit der Hilfe von Cursor abgeglichen · dein Bildschirm kann je nach App-Version leicht abweichen

Klappt mit VS Code, aber erst etwas vorbereiten

Du brauchst einen Schlüssel von GCP Platform Engineer (auf der Seite des Anbieters registrieren, kann kosten) · Installiere zuerst Python (uv) auf deinem Computer (nur einmal)

  1. Python (uv) installieren

    Nur einmal; gilt für alle Server, die Python (uv) brauchen

    Download-Seite von Python (uv) öffnen ↗

  2. Bei GCP Platform Engineer registrieren und Schlüssel erstellen

    Öffne die Seite des Anbieters, registriere dich und erstelle einen API-Schlüssel für den nächsten Schritt. Kann Geld kosten.

    Seite von GCP Platform Engineer öffnen ↗

  3. Mit diesem Button VS Code öffnen

    In VS Code öffnen

    VS Code fragt nach einer Bestätigung; klicke Install

  4. Schlüssel eintragen

    In den Einstellungen von GCP Platform Engineer ist PLATFORM_MCP_ENVIRONMENTS, PLATFORM_MCP_DEFAULT_ENVIRONMENT, PLATFORM_MCP_CONFIG, PLATFORM_MCP_AUDIT_LOG leer; trag deinen Schlüssel ein und speichere

    Füge den Schlüssel nur in das Feld der App ein, nie in einen Chat und schick ihn niemandem

  5. KI-Chat in VS Code im Agent-Modus öffnen

  6. Ausprobieren

    Nutze GCP Platform Engineer und sag mir, was du für mich tun kannst; zeig mir dann eine Sache

    ✓ Wenn VS Code sagt, dass es GCP Platform Engineer nutzt, oder ein Werkzeug von GCP Platform Engineer in der Antwort zeigt, bist du verbunden

Menünamen am 11. Nov. 2026 mit der Hilfe von VS Code abgeglichen · dein Bildschirm kann je nach App-Version leicht abweichen

Andere Apps mit MCP, etwa Windsurf, Zed oder Gemini CLI, fügen Server unterschiedlich hinzu. Sieh in der App-Liste nach

Alle Apps mit MCP ansehen →

JSON-Einstellungen stehen unten unter „Für Entwickler“

Hängst du fest? Frag Leute, die GCP Platform Engineer nutzen💬 Diskussion →
Für Entwickler: Terminal-Befehle und JSON-Einstellungen

Auf deinem Computer installiert

Claude Code

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-mcp

Claude Desktop (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"
      }
    }
  }
}

Cursor (~/.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"
      }
    }
  }
}

VS Code (mcp.json)

{
  "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"
      }
    }
  }
}

Werte, die du selbst einträgst

  • PLATFORM_MCP_ENVIRONMENTS env
    JSON map of environment name to GCP settings. Omit when using a config file at ~/.config/platform-mcp/config.toml.
  • PLATFORM_MCP_DEFAULT_ENVIRONMENT env
    Environment used when a tool call omits the environment argument.
  • PLATFORM_MCP_CONFIG env
    Path to a TOML config file, overriding ~/.config/platform-mcp/config.toml.
  • PLATFORM_MCP_AUDIT_LOG env
    Path for the JSONL tool-call audit log, or 'off' to disable it.

Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.

Auf einen Blick

Downloads pro Wochei
21/Wo.
Lizenzi
Keine Lizenz angegeben
Verbindung
Läuft auf deinem Computer
Neueste Versioni
0.4.0
In der Registry veröffentlichti
2. Sept. 2026
Code zuletzt geänderti
22. Okt. 2026
Entwickler
deBilla
Pakete
pypi: platform-mcp
Registry-Status
Aktiv

Welche Apps ihn nutzen können

Basierend darauf, wie sich dieser Server verbindet, und auf der eigenen Doku jeder App, geprüft am 10. Nov. 2026.

Laufen auf deinem Computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

Alle Apps, mit Vor- und Nachteilen →

Was er kann

Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.

Basischecksi

Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 11. Nov. 2026

  • ✓ Bestanden

    Entwickler passt zum Repo

    Der Registry-Name wurde mit dem GitHub-Konto deBilla bestätigt, dem das Repo gehört

  • ✓ Bestanden

    Wird noch gepflegt

    Code zuletzt geändert: vor 21 Tagen

  • … Noch nicht geprüft

    Hat eine Lizenz

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • – Nicht zutreffend

    Endpunkt antwortet

    Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet

  • – Nicht zutreffend

    Anmeldung mit OAuth

    Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen

  • … Noch nicht geprüft

    Keine versteckten Anweisungen in Tool-Beschreibungen

    Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen

Diskussion

Fragen, Tipps teilen oder melden, dass etwas nicht geht. Sortiert nach „hilfreich“.

Noch keine Beiträge. Stell die erste Frage oder teile einen Tipp.

Beiträge hier stammen von Nutzern, nicht vom PopNx-Team.

Mit Google anmelden, um zu posten

Nutzerbewertungen

Noch keine Bewertungen

Mit Google anmelden, um zu bewerten

Im Vergleich mit anderen in Entwicklertoolsi

  • Mehr Sterne als 77 % der anderen 5760 Server in dieser Kategorie
  • Neuer in der Registry veröffentlicht als 33 % der anderen 5760 Server in dieser Kategorie
  • Basischecks gleich gut wie oder besser als bei 100 % der anderen 5760 Server in dieser Kategorie

Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.

Häufige Fragen

Ist GCP Platform Engineer sicher?

Er hat 2 von 2 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.

Welche Schlüssel oder Codes braucht er?

Die Registry nennt keinen erforderlichen Schlüssel, manche Server bitten dich aber bei der ersten Nutzung, dich anzumelden.

Läuft er auf meinem Computer oder in der Cloud?

Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).

Wird er noch gepflegt?

Das GitHub-Repo wurde zuletzt vor 21 Tagen geändert, und die neueste Version (0.4.0) kam vor 2 Monaten in die Registry.

Welche Apps können ihn nutzen?

Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Python (uv) auf deinem Computer.

Was kann ich stattdessen nutzen?

In derselben Kategorie: REA, Netdata, Front-End Checklist

Alternativen

Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.

So liest du eine Karte:↓ Downloads pro Wochei★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti

REA

Reverse engineer anything from your terminal or agent with one CLI and MCP server.

von morlutoWeit verbreitet↓ 388.706/Wo.★ 451.315Aktualisiert vor 17 Tagen

Läuft auf deinem Computer

Netdata

Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.

von netdataWeit verbreitet★ 81.366Aktualisiert vor 7 Tagen

Läuft in der Cloud

Front-End Checklist

Review frontend code and live pages against 386 quality-gated web development rules.

von thedaviddiasWeit verbreitet★ 74.693Aktualisiert vor 38 Tagen

Läuft in der Cloud

README vom Entwickler

README öffnen

Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.

platform-mcp

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.

What it can do

AreaTools
Environmentslist_environments
Logs & errorsquery_logs, get_recent_errors, list_error_groups
Metrics & alertingquery_metric, list_alert_policies, list_uptime_checks
Cost & recommendationsget_cost_breakdown, get_billing_info, list_cost_recommendations, list_recommendations
Resource inventorysearch_assets, list_compute_instances, list_cloud_run_services, list_gke_clusters, list_sql_instances

Typical prompts once it's connected:

  • *"What are the top error groups in the last 24 hours, and which one is newest?"*
  • *"Which GKE node pools are over-provisioned? Show mean CPU against machine type."*
  • *"Where can I reduce spend in this project?"*

Multiple environments

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:

  • *"Any errors in staging in the last hour?"*
  • *"Compare Cloud Run services between staging and prod."*

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.

Requirements

  • Python 3.11+
  • A Google Cloud project and credentials (your own login, or a service account)
  • The gcloud CLI for the one-time setup

Install

uvx 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]"

Check your setup
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.

One-time GCP setup

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

Let your own login impersonate it (no key file to manage):

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.serviceAccountTokenCreator on each platform-mcp-ro.

Security model

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.

Configuration

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:

VariablePurpose
PLATFORM_MCP_ENVIRONMENTSJSON map of environment name → settings. The recommended way to configure the server.
PLATFORM_MCP_DEFAULT_ENVIRONMENTEnvironment used when a tool call omits environment. Defaults to staging if configured, else the first entry.
GOOGLE_APPLICATION_CREDENTIALSPath to a read-only SA key file (alternative to impersonation).

PLATFORM_MCP_ENVIRONMENTS holds a JSON object; each entry accepts:

KeyPurpose
projectRequired. GCP project id.
impersonateRead-only SA to impersonate for this environment (no key file needed).
billing_export_tableFully-qualified BigQuery billing export table, required only for get_cost_breakdown (e.g. YOUR_PROJECT_ID.billing.gcp_billing_export_v1_XXXXXX).
aliasesExtra 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:

VariablePurpose
GCP_PROJECTTarget project. Falls back to your ADC default project if unset.
IMPERSONATE_SERVICE_ACCOUNTRead-only SA to impersonate. Also the fallback for registry entries with no impersonate.
BILLING_EXPORT_TABLEBilling export table. Also the fallback for registry entries with no billing_export_table.

Register with a client

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.

Skip the approval prompt

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

Claude Desktop

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.

Before you start: the admin grant

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

Nur der Anfang wird gezeigt; den Rest findest du im Repo