GCP Platform Engineer

v0.4.0
io.github.deBilla/platform-mcp Checked 1 day ago Published 3 months ago

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

Values you need

VariableWhat it is
PLATFORM_MCP_ENVIRONMENTSoptional JSON map of environment name to GCP settings. Omit when using a config file at ~/.config/platform-mcp/config.toml.
PLATFORM_MCP_DEFAULT_ENVIRONMENToptional Environment used when a tool call omits the environment argument.
PLATFORM_MCP_CONFIGoptional Path to a TOML config file, overriding ~/.config/platform-mcp/config.toml.
PLATFORM_MCP_AUDIT_LOGoptional Path for the JSONL tool-call audit log, or 'off' to disable it.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add platform-mcp -- uvx platform-mcp==0.4.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "platform-mcp": {
      "args": [
        "platform-mcp==0.4.0"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "platform-mcp": {
      "args": [
        "platform-mcp==0.4.0"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "platform-mcp": {
      "args": [
        "platform-mcp==0.4.0"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.platform-mcp]
command = "uvx"
args = ["platform-mcp==0.4.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: list_environments, query_logs, get_recent_errors, list_error_groups, query_metric, list_alert_policies, list_uptime_checks, list_cost_recommendations, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json