hi-gcloud
Streamline GCP operations with quick access to logs, Cloud Run status, Cloud SQL (read-only), Storage, secrets, services, auth, and billing. Accelerate deployment debugging and cost monitoring with focused queries and project-aware controls.
Ask AI about hi-gcloud
Powered by Claude ยท Grounded in docs
I know everything about hi-gcloud. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
Hi-GCloud
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
- Google Cloud SDK ์ค์น
- ์ธ์ฆ ์๋ฃ:
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
์ค์ ์ฐ์ ์์:
- ๋๊ตฌ ํ๋ผ๋ฏธํฐ๋ก ์ง์ ์ง์ (์:
project_id: "my-project") - 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
Related
- hi-ai - AI development assistant MCP
