
debilla/platform-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
インシデントデバッグ、リソース在庫、コスト最適化のための読み取り専用GCPプラットフォームエンジニアMCPサーバー
概要
mcp-name: io.github.deBilla/platform-mcp AIエージェント(クロードコード、クロードデスクトップ、またはMCPクライアント)をGCPプラットフォームエンジニアに変えるモデルコンテキストプロトコルサーバー。 Google Cloud プロジェクトでポイントし、インシデントを調査し、在庫をとり、コスト最適化の機会を削減するように依頼してください。インフラストラクチャを変更する機能はありません。 このサーバーでは、ステートをミュートするツールはありません。 ビューア専用のアイデンティティ(以下)と組み合わせることで、エージェントが見えますが、触れることができないという、ハードで防御的な保証を提供します。 - "過去24時間で一番上のエラーグループが何であるか" - "GKEノードプールがオーバープロビジョンされていますか? マシンタイプに対してCPUを意味します。 - "このプロジェクトで支出を減らすことができますか? 1つのサーバーは複数のプロジェクトに達することができます。 PLATFORM MCP ENVIRONMENTS(コンフィギュレーションを参照)で定義し、エージェントはプロンプトのワーディングから1つを選択します。 - *「最終時刻の誤差は?」* - *「比較クラウド」 との間のサービスを実行します.
概要(AI 翻訳)
mcp-name: io.github.deBilla/platform-mcp
AIエージェント(クロードコード、クロード デスクトップ、または MCP クライアント)を GCP プラットフォーム エンジニアに変える read-only* モデル コンテキスト プロトコル サーバー。 Google Cloud プロジェクトでポイントし、インシデントを調査し、在庫をとり、コスト最適化の機会を削減するように依頼してください。インフラストラクチャを変更する機能はありません。
宿泊のみ。 このサーバーでは、ステートをミュートするツールはありません。 ビューア専用のアイデンティティ(以下)と組み合わせることで、エージェントが見えますが、触れることができないという、ハードで防御的な保証を提供します。
できること
| エリア | ツール |
| お問い合わせ |
| ※環境** | [[T0] |
| ログ&エラー** | [query_logs, [get_recent_errors], [[list_error_groups]
|【query_metric, [list_alert_policies], [list_uptime_checks]
|【[T7], [get_billing_info, [list_cost_recommendations], [list_recommendations]
|【[T12], list_cloud_run_services, [list_gke_clusters]], [[list_sql_instances]], [[[list_compute_instances]], [[[list_cloud_run_services]]], [list_gke_clusters]]]], [[[[list_sql_instances]]]]], [[[[list_compute_instances]]]]], [[[[[[[list_cloud_run_services]]]]]]], [[[[[[[[[[[list_gke_clusters]]]]]]]]]]]]], [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]、[[[[[[[[[[[[[[[[[[[[[[[[[[
接続されると典型的なプロンプト:
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
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"]
}
}
}