
debilla/platform-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
Сервер MCP для отладки инцидентов, инвентаризации ресурсов и оптимизации затрат
Обзор
mcp-name: io.github.deBilla/platform-mcp Сервер Model Context Protocol превращает агента ИИ (Claude Code, Claude Desktop или любого MCP-клиента) в инженера платформы GCP. Направьте его на свои проекты Google Cloud и попросите его расследовать инциденты, провести инвентаризацию и использовать возможности оптимизации затрат — и все это без какой-либо возможности изменить вашу инфраструктуру. Ни один инструмент на этом сервере не мутирует. В сочетании с индивидуальностью только для зрителя (ниже), это дает вам твердую гарантию защиты, что агент может смотреть, но никогда не прикасаться. - "Каковы верхние группы ошибок за последние 24 часа, и какая из них самая новая?" - "Какие пулы узлов GKE перегружены?" Show mean CPU against machine type. - "Где я могу сократить расходы в этом проекте?" Один сервер может выполнять несколько проектов. Определите их в разделе PLATFORM MCP ENVIRONMENTS (см. Конфигурация), и агент выберет одну из формулировок вашей подсказки: "Любые ошибки в последний час?" *Сравните облако Запуск услуг между и .
Обзор (машинный перевод)
mcp-name: io.github.deBilla/platform-mcp
Сервер Model Context Protocol, который превращает агента ИИ (Claude Code, Claude Desktop или любого клиента MCP) в инженера платформы GCP. Направьте его на свои проекты Google Cloud и попросите его расследовать инциденты, провести инвентаризацию и использовать возможности оптимизации затрат — и все это без какой-либо возможности изменить вашу инфраструктуру.
** Только наблюдение** Ни один инструмент на этом сервере не мутирует. В сочетании с индивидуальностью только для зрителя (ниже), это дает вам твердую гарантию защиты, что агент может смотреть, но никогда не прикасаться.
Что можно сделать
Область, инструменты
[править править код]
Окружающая среда**list_environments
Ошибки и ошибки query_logs, get_recent_errors, list_error_groups
[править][править править код][править править код][править править код][править править код][править править код][править править код]]
get_cost_breakdown, get_billing_info, list_cost_recommendations, list_recommendations, get_cost_breakdown, list_recommendations
[11], [12], [13], [14], [15], [[T], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T]], [[T
Типичные подсказки после подключения:
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
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
| 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:
- “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
gcloudCLI 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
Установка
uvx platform-mcp # no install step; uv fetches it on demandКонфигурация
{
"preferences": { "...": "your existing settings, left alone" },
"mcpServers": {
"platform-mcp": {
"command": "/Users/YOU/.local/bin/uvx",
"args": ["platform-mcp@latest"]
}
}
}