KG

krzko/google-cloud-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

80 stars 21 forks 品質 69 トレンド 14Apache-2.0

krzko/google-cloud-mcp は [https://github.com/krzko/google-cloud-mcp.] からインポートされた MCP サーバー候補です

概要

krzko/google-cloud-mcp は [https://github.com/krzko/google-cloud-mcp.] からインポートされた MCP サーバー候補です

概要(AI 翻訳)

Google Cloudサービスに接続するモデルコンテキストプロトコルサーバーで、Google Cloudリソースとやり取りするためのコンテキストとツールを提供します。

サービス

サポートされているGoogleクラウドサービス:

  • [x] 請求
  • [x] エラー報告
  • [x] アイデンティティとアクセス管理(IAM)
  • [x] ログイン
  • [x] 監視
  • [x] プロフィール
  • [x]スパナー
  • [x] トレース

請求

コスト最適化のインサイトでGoogleクラウド課金の管理と分析:

ツール: gcp-billing-list-accounts, gcp-billing-get-account-details], gcp-billing-list-projects], [gcp-billing-get-project-info]], [gcp-billing-list-skus], [[[T6], [gcp-billing-detect-anomalies, [gcp-billing-cost-recommendations], [[[[gcp-billing-service-breakdown]]]

例のプロンプト:

  • 「すべての請求口座を表示」
  • 「過去30日間のプロジェクトmy-app-prod-123の分析コスト」
  • 「請求口座請求費用の勧告を生成するアカウント/123456-789ABC-DEF012」
  • 「プロジェクトmy-ecommerce-456で異常を請求するチェック」

エラー報告

自動調査および是正の提案によるアプリケーションエラーの監視と分析:

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Google Cloud MCP Server

A Model Context Protocol server that connects to Google Cloud services to provide context and tools for interacting with your Google Cloud resources.

Services

Supported Google Cloud services:

Billing

Manage and analyse Google Cloud billing with cost optimisation insights:

Tools: gcp-billing-list-accounts, gcp-billing-get-account-details, gcp-billing-list-projects, gcp-billing-get-project-info, gcp-billing-list-services, gcp-billing-list-skus, gcp-billing-analyse-costs, gcp-billing-detect-anomalies, gcp-billing-cost-recommendations, gcp-billing-service-breakdown

Example prompts:

  • “Show me all my billing accounts”
  • “Analyse costs for project my-app-prod-123 for the last 30 days”
  • “Generate cost recommendations for billing account billingAccounts/123456-789ABC-DEF012”
  • “Check for billing anomalies in project my-ecommerce-456”

Error Reporting

Monitor and analyse application errors with automated investigation and remediation suggestions:

Tools: gcp-error-reporting-list-groups, gcp-error-reporting-get-group-details, gcp-error-reporting-analyse-trends

Example prompts:

  • “Show me error groups from project my-webapp-prod-789 for the last hour”
  • “Get details for error group projects/my-app-123/groups/xyz789”
  • “Analyse error trends for service my-api in project analytics-prod-456”

IAM

Query and analyse IAM policies and permissions:

Tools: gcp-iam-get-project-policy, gcp-iam-test-project-permissions, gcp-iam-test-resource-permissions, gcp-iam-validate-deployment-permissions, gcp-iam-list-deployment-services, gcp-iam-analyse-permission-gaps

Example prompts:

  • “Get IAM policy for project my-webapp-prod-123”
  • “Test if I have storage.buckets.create permission on project data-lake-456”
  • “Check deployment permissions for Cloud Run in project microservices-789”
  • “Analyse permission gaps for deploying to GKE cluster in project k8s-prod-321”

Logging

Query and filter log entries from Google Cloud Logging:

Tools: gcp-logging-query-logs, gcp-logging-query-time-range, gcp-logging-search-comprehensive

Example prompts:

  • “Show me logs from project my-app-prod-123 from the last hour with severity ERROR”
  • “Search for logs containing ‘timeout’ from service my-api in project backend-456”
GitHub で README 全文を見る

インストール

npx -y @modelcontextprotocol/inspector node dist/index.js
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "google-cloud-mcp": { "command": "node", "args": [ "/Users/foo/code/google-cloud-mcp/dist/index.js" ], "env": { "GOOGLE_APPLICATION_CREDENTIALS": "/Users/foo/.config/gcloud/application_default_credentials.json" } } } }