GCP Platform Engineer
v0.4.0Read-only GCP tools for debugging incidents and finding cost savings
Values you need
| Variable | What it is | |
|---|---|---|
PLATFORM_MCP_ENVIRONMENTS | optional | JSON map of environment name to GCP settings. Omit when using a config file at ~/.config/platform-mcp/config.toml. |
PLATFORM_MCP_DEFAULT_ENVIRONMENT | optional | Environment used when a tool call omits the environment argument. |
PLATFORM_MCP_CONFIG | optional | Path to a TOML config file, overriding ~/.config/platform-mcp/config.toml. |
PLATFORM_MCP_AUDIT_LOG | optional | 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.0Add 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
- 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).
- Restart or reload the client so it starts the server.
- 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, ….
- 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