h

hi-gcloud

@su-record/hi-gcloud
0 Stars 165 次浏览 su-record 更新于 2026-08-23

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "hi-ai": {
      "args": [
        "-y",
        "@su-record/hi-ai"
      ],
      "command": "npx"
    },
    "hi-gcloud": {
      "args": [
        "-y",
        "@su-record/hi-gcloud"
      ],
      "command": "npx"
    }
  }
}

服务介绍

Hi-GCloud

npm version

MCP Compatible

MCP server for GCP operations - Query logs, check Cloud Run status, and debug deployments with gcloud CLI.

Features

  • Cloud Logging -
  • Cloud Run -
  • Cloud SQL -
  • Cloud Storage - /
  • Secret Manager -
  • Auth Status -
  • API Services -
  • Billing -

Prerequisites

  1. Google Cloud SDK
  2. :
gcloud auth login
gcloud config set project YOUR_PROJECT_ID

Installation

npm install -g @su-record/hi-gcloud

Claude Desktop Configuration

~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "hi-gcloud": {
      "command": "npx",
      "args": ["-y", "@su-record/hi-gcloud"]
    }
  }
}

Tools (9 tools)

gcp_logs_read

Cloud Logging

"   "
" 6 WARNING  "

gcp_run_status

Cloud Run

"my-api   "
"Cloud Run  "

gcp_run_logs

Cloud Run

"my-api  "
"Cloud Run  "

gcp_sql_query

Cloud SQL (SELECT )

"users  "

gcp_storage_list

Cloud Storage /

"  "
"my-bucket  "

gcp_secret_list

Secret Manager

" "
"API_KEY   "

gcp_auth_status

GCP

"  "
"   ?"

gcp_services_list

API

" API  ?"
"run   "

gcp_billing_info

"  "
" ?"

Use Cases

User: " "
 gcp_run_logs  
   
  

User: "   "
 gcp_billing_info   
    

User: "DB  "
 gcp_secret_list  

Integration with Hi-AI

hi-ai GCP + .

hi-ai :

 Cloud Run : my-api
 3  .

  :
   ERROR: 3

   :
  1. [12/02 14:30:00] TypeError: Cannot read property 'id' of undefined
      : my-api-00001-abc

 hi-ai  :    analyze_problem   ,
          .
            .

hi-gcloud hi-ai
analyze_problem, find_symbol
step_by_step_analysis, suggest_improvements
analyze_complexity, check_coupling_cohesion
break_down_problem, format_as_plan

User: " "

[hi-gcloud]
 gcp_run_logs   
  3 , hi-ai    

[hi-ai  ]
 analyze_problem   
 find_symbol    
 suggest_improvements   
 save_memory    ( )

{
  "mcpServers": {
    "hi-ai": {
      "command": "npx",
      "args": ["-y", "@su-record/hi-ai"]
    },
    "hi-gcloud": {
      "command": "npx",
      "args": ["-y", "@su-record/hi-gcloud"]
    }
  }
}

Configuration Priority

:

  1. (: `project_id: "my-project"`)
    
  2. gcloud CLI

Required Permissions

Tool Required Role
gcp_logs_read roles/logging.viewer
gcp_run_* roles/run.viewer
gcp_sql_query roles/cloudsql.viewer
gcp_storage_list roles/storage.objectViewer
gcp_secret_list roles/secretmanager.secretAccessor
gcp_billing_info roles/billing.viewer

License

MIT

  • hi-ai - AI development assistant MCP

相关 MCP 服务