P

Platform MCP

by deBilla · io.github.deBilla/platform-mcp

A read-only MCP server that enables AI agents to act as GCP platform engineers, allowing them to investigate incidents, take inventory, and find cost-optimization opportunities in Google Cloud projects without mutating any infrastructure.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-debilla-platform-mcp": {
      "command": "uvx",
      "args": [
        "platform-mcp"
      ],
      "env": {
        "PLATFORM_MCP_ENVIRONMENTS": "<VALUE>",
        "PLATFORM_MCP_DEFAULT_ENVIRONMENT": "<VALUE>",
        "PLATFORM_MCP_CONFIG": "<VALUE>",
        "PLATFORM_MCP_AUDIT_LOG": "<VALUE>",
        "GCP_PROJECT": "<VALUE>",
        "BILLING_EXPORT_TABLE": "<VALUE>",
        "PLATFORM_MCP_LOG_LEVEL": "<VALUE>",
        "PLATFORM_MCP_DEFAULT_LIMIT": "50",
        "IMPERSONATE_SERVICE_ACCOUNT": "<VALUE>",
        "GOOGLE_APPLICATION_CREDENTIALS": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-debilla-platform-mcp": {
      "command": "uvx",
      "args": [
        "platform-mcp"
      ],
      "env": {
        "PLATFORM_MCP_ENVIRONMENTS": "<VALUE>",
        "PLATFORM_MCP_DEFAULT_ENVIRONMENT": "<VALUE>",
        "PLATFORM_MCP_CONFIG": "<VALUE>",
        "PLATFORM_MCP_AUDIT_LOG": "<VALUE>",
        "GCP_PROJECT": "<VALUE>",
        "BILLING_EXPORT_TABLE": "<VALUE>",
        "PLATFORM_MCP_LOG_LEVEL": "<VALUE>",
        "PLATFORM_MCP_DEFAULT_LIMIT": "50",
        "IMPERSONATE_SERVICE_ACCOUNT": "<VALUE>",
        "GOOGLE_APPLICATION_CREDENTIALS": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-debilla-platform-mcp": {
      "command": "uvx",
      "args": [
        "platform-mcp"
      ],
      "env": {
        "PLATFORM_MCP_ENVIRONMENTS": "<VALUE>",
        "PLATFORM_MCP_DEFAULT_ENVIRONMENT": "<VALUE>",
        "PLATFORM_MCP_CONFIG": "<VALUE>",
        "PLATFORM_MCP_AUDIT_LOG": "<VALUE>",
        "GCP_PROJECT": "<VALUE>",
        "BILLING_EXPORT_TABLE": "<VALUE>",
        "PLATFORM_MCP_LOG_LEVEL": "<VALUE>",
        "PLATFORM_MCP_DEFAULT_LIMIT": "50",
        "IMPERSONATE_SERVICE_ACCOUNT": "<VALUE>",
        "GOOGLE_APPLICATION_CREDENTIALS": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-debilla-platform-mcp": {
      "command": "uvx",
      "args": [
        "platform-mcp"
      ],
      "env": {
        "PLATFORM_MCP_ENVIRONMENTS": "<VALUE>",
        "PLATFORM_MCP_DEFAULT_ENVIRONMENT": "<VALUE>",
        "PLATFORM_MCP_CONFIG": "<VALUE>",
        "PLATFORM_MCP_AUDIT_LOG": "<VALUE>",
        "GCP_PROJECT": "<VALUE>",
        "BILLING_EXPORT_TABLE": "<VALUE>",
        "PLATFORM_MCP_LOG_LEVEL": "<VALUE>",
        "PLATFORM_MCP_DEFAULT_LIMIT": "50",
        "IMPERSONATE_SERVICE_ACCOUNT": "<VALUE>",
        "GOOGLE_APPLICATION_CREDENTIALS": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-debilla-platform-mcp": {
      "command": "uvx",
      "args": [
        "platform-mcp"
      ],
      "env": {
        "PLATFORM_MCP_ENVIRONMENTS": "<VALUE>",
        "PLATFORM_MCP_DEFAULT_ENVIRONMENT": "<VALUE>",
        "PLATFORM_MCP_CONFIG": "<VALUE>",
        "PLATFORM_MCP_AUDIT_LOG": "<VALUE>",
        "GCP_PROJECT": "<VALUE>",
        "BILLING_EXPORT_TABLE": "<VALUE>",
        "PLATFORM_MCP_LOG_LEVEL": "<VALUE>",
        "PLATFORM_MCP_DEFAULT_LIMIT": "50",
        "IMPERSONATE_SERVICE_ACCOUNT": "<VALUE>",
        "GOOGLE_APPLICATION_CREDENTIALS": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-debilla-platform-mcp": {
      "command": "uvx",
      "args": [
        "platform-mcp"
      ],
      "env": {
        "PLATFORM_MCP_ENVIRONMENTS": "<VALUE>",
        "PLATFORM_MCP_DEFAULT_ENVIRONMENT": "<VALUE>",
        "PLATFORM_MCP_CONFIG": "<VALUE>",
        "PLATFORM_MCP_AUDIT_LOG": "<VALUE>",
        "GCP_PROJECT": "<VALUE>",
        "BILLING_EXPORT_TABLE": "<VALUE>",
        "PLATFORM_MCP_LOG_LEVEL": "<VALUE>",
        "PLATFORM_MCP_DEFAULT_LIMIT": "50",
        "IMPERSONATE_SERVICE_ACCOUNT": "<VALUE>",
        "GOOGLE_APPLICATION_CREDENTIALS": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
PLATFORM_MCP_ENVIRONMENTS No JSON map of environment name to settings. The recommended way to configure the server. Each entry accepts `project` (required), `impersonate`, `billing_export_table`, and `aliases`.
PLATFORM_MCP_DEFAULT_ENVIRONMENT No Environment used when a tool call omits `environment`. Defaults to `staging` if configured, otherwise the first entry.
PLATFORM_MCP_CONFIG No Path to a config file. If unset, uses ~/.config/platform-mcp/config.toml.
PLATFORM_MCP_AUDIT_LOG No Path for the audit log, or `off` to disable auditing.
GCP_PROJECT No Target project. Falls back to your ADC default project if unset. Used in single-environment mode when PLATFORM_MCP_ENVIRONMENTS is unset.
BILLING_EXPORT_TABLE No Billing export table. Also the fallback for registry entries with no `billing_export_table`.
PLATFORM_MCP_LOG_LEVEL No Log level for diagnostic logs written to stderr.
PLATFORM_MCP_DEFAULT_LIMIT No Default max rows for list-style tools (default 50). Default: 50
IMPERSONATE_SERVICE_ACCOUNT No Read-only service account to impersonate. Also the fallback for registry entries with no `impersonate`.
GOOGLE_APPLICATION_CREDENTIALS No Path to a read-only service account key file (alternative to impersonation).

Similar servers