ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Cloudscope

โดย alexpotaรุ่น 0.3.3i★ –iรันบนเครื่อง
ชื่อใน registryio.github.alexpota/cloudscope

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Azure + GCP cost management: spending, forecasts, anomalies, budgets, idle resources, and tags.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: เครื่องมือนักพัฒนา
  • ต้องใส่ค่าเหล่านี้: AZURE_CLIENT_SECRET, GOOGLE_APPLICATION_CREDENTIALS

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: AZURE_SUBSCRIPTION_ID, AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET, GOOGLE_CLOUD_PROJECT, GCP_BILLING_TABLE, GCP_PROJECT_ID, GCP_BILLING_ACCOUNT_ID, GOOGLE_APPLICATION_CREDENTIALS

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "cloudscope": {
      "command": "npx",
      "args": [
        "-y",
        "cloudscope-mcp"
      ],
      "env": {
        "AZURE_SUBSCRIPTION_ID": "ใส่ค่าของคุณ",
        "AZURE_TENANT_ID": "ใส่ค่าของคุณ",
        "AZURE_CLIENT_ID": "ใส่ค่าของคุณ",
        "AZURE_CLIENT_SECRET": "ใส่ค่าของคุณ",
        "GOOGLE_CLOUD_PROJECT": "ใส่ค่าของคุณ",
        "GCP_BILLING_TABLE": "ใส่ค่าของคุณ",
        "GCP_PROJECT_ID": "ใส่ค่าของคุณ",
        "GCP_BILLING_ACCOUNT_ID": "ใส่ค่าของคุณ",
        "GOOGLE_APPLICATION_CREDENTIALS": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add cloudscope --env AZURE_SUBSCRIPTION_ID='ใส่ค่าของคุณ' --env AZURE_TENANT_ID='ใส่ค่าของคุณ' --env AZURE_CLIENT_ID='ใส่ค่าของคุณ' --env AZURE_CLIENT_SECRET='ใส่ค่าของคุณ' --env GOOGLE_CLOUD_PROJECT='ใส่ค่าของคุณ' --env GCP_BILLING_TABLE='ใส่ค่าของคุณ' --env GCP_PROJECT_ID='ใส่ค่าของคุณ' --env GCP_BILLING_ACCOUNT_ID='ใส่ค่าของคุณ' --env GOOGLE_APPLICATION_CREDENTIALS='ใส่ค่าของคุณ' -- npx -y cloudscope-mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "cloudscope": {
      "command": "npx",
      "args": [
        "-y",
        "cloudscope-mcp"
      ],
      "env": {
        "AZURE_SUBSCRIPTION_ID": "ใส่ค่าของคุณ",
        "AZURE_TENANT_ID": "ใส่ค่าของคุณ",
        "AZURE_CLIENT_ID": "ใส่ค่าของคุณ",
        "AZURE_CLIENT_SECRET": "ใส่ค่าของคุณ",
        "GOOGLE_CLOUD_PROJECT": "ใส่ค่าของคุณ",
        "GCP_BILLING_TABLE": "ใส่ค่าของคุณ",
        "GCP_PROJECT_ID": "ใส่ค่าของคุณ",
        "GCP_BILLING_ACCOUNT_ID": "ใส่ค่าของคุณ",
        "GOOGLE_APPLICATION_CREDENTIALS": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "cloudscope": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "cloudscope-mcp"
      ],
      "env": {
        "AZURE_SUBSCRIPTION_ID": "ใส่ค่าของคุณ",
        "AZURE_TENANT_ID": "ใส่ค่าของคุณ",
        "AZURE_CLIENT_ID": "ใส่ค่าของคุณ",
        "AZURE_CLIENT_SECRET": "ใส่ค่าของคุณ",
        "GOOGLE_CLOUD_PROJECT": "ใส่ค่าของคุณ",
        "GCP_BILLING_TABLE": "ใส่ค่าของคุณ",
        "GCP_PROJECT_ID": "ใส่ค่าของคุณ",
        "GCP_BILLING_ACCOUNT_ID": "ใส่ค่าของคุณ",
        "GOOGLE_APPLICATION_CREDENTIALS": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • AZURE_SUBSCRIPTION_ID env
    Azure subscription ID to query for cost data. Optional; auto-detected from az login session if not set.
  • AZURE_TENANT_ID env
    Azure tenant ID for service principal authentication. Optional; falls back to DefaultAzureCredential (e.g. az login) if unset.
  • AZURE_CLIENT_ID env
    Service principal client ID. Optional; required only when using ClientSecretCredential.
  • AZURE_CLIENT_SECRET ความลับ env
    Service principal client secret. Optional; required only when using ClientSecretCredential.
  • GOOGLE_CLOUD_PROJECT env
    GCP project ID. Recommended to set explicitly in the MCP client env block — may not be inherited from gcloud shell configuration.
  • GCP_BILLING_TABLE env
    Fully-qualified BigQuery billing export table (project.dataset.table_name). Required for GCP cost queries.
  • GCP_PROJECT_ID env
    Override GCP project ID if the billing dataset lives in a different project than GOOGLE_CLOUD_PROJECT.
  • GCP_BILLING_ACCOUNT_ID env
    GCP billing account ID (format: XXXXXX-XXXXXX-XXXXXX). Optional; needed only for budget monitoring.
  • GOOGLE_APPLICATION_CREDENTIALS ความลับ env
    Path to GCP service account JSON key file. Optional; falls back to Application Default Credentials (gcloud auth).

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub alexpota ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด เครื่องมือนักพัฒนาi

  • ดาวมากกว่า 0% ของอีก 1384 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 24% ของอีก 1384 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1384 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Cloudscope ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: AZURE_CLIENT_SECRET, GOOGLE_APPLICATION_CREDENTIALS

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.3.3) เข้า registry 5 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

GitHub

โดย github

server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้

บนเครื่องหรือคลาวด์★ 34,245MITอัปเดต 3 วันที่ผ่านมา
ติดตั้ง

Desktop Commander

โดย wonderwhy-er

MCP server for terminal commands, file operations, and process management

รันบนเครื่อง★ 10,225MITอัปเดต 15 วันที่ผ่านมา
ติดตั้ง

Cloudflare MCP

โดย cloudflare

Cloudflare MCP servers

รันบนคลาวด์★ 4,446Apache-2.0อัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

CloudScope MCP

Ask your AI about your cloud bill.

What you get

Ask once: "Give me this month's cost review" — and CloudScope runs the full workflow (spend, deltas, anomalies, idle resources, budgets, forecast) and hands back a decision-ready report, not raw numbers to interpret yourself:

## TL;DR

Month-to-date Azure spend is $4,312 (May 1–29), tracking +11% vs April.

The mover is App Service (+$280) — a new staging slot left running.

2 idle resources cost $94/month; prod-budget is at 78% with 2 days left.

Top action: delete the orphaned managed disk → save $63/month.

## Spend This Month

| Service | Cost | % |

|------------------|----------|------|

| Virtual Machines | $2,140 | 49.6% |

| App Service | $890 | 20.6% |

| Storage | $612 | 14.2% |

| Redis Cache | $410 | 9.5% |

| Networking | $260 | 6.0% |

## vs Last Month

+$427 (+11%) overall. App Service +$280 drove most of it; everything

else flat. → *new staging-slot-2, created May 12, never torn down.*

## Idle & Wasted Resources

| Resource | Type | $/month |

|-----------------------|-------------|---------|

| orphaned-osdisk-01 | Managed Disk| $63 |

| old-lb-ip | Public IP | $31 |

## Budget Status

prod-budget — 78% used, $4,312 / $5,500, on track (2 days left).

## Recommended Actions

1. Delete orphaned-osdisk-01 (unattached 40 days) → $63/month

2. Tear down staging-slot-2 if staging is idle → ~$280/month

3. Release old-lb-ip (no binding) → $31/month

*Illustrative example showing the report format. Run /cloudscope:monthly-cost-review against your own subscription for live numbers.*

Install

Claude CodeCursorVS Code
claude mcp add cloudscope -- npx -y cloudscope-mcpInstallInstall

Azure is auto-detected from your az login session. GCP requires BigQuery billing export setup (see below).

Supported Providers

ProviderStatus
Azure✅ Supported
GCP✅ Supported
AWSUse AWS's official server

Prerequisites

Azure
  • Azure CLI installed and logged in (az login)
  • Cost Management Reader role on the subscription
GCP
  • gcloud CLI installed and logged in (gcloud auth application-default login)
  • Billing export to BigQuery enabled — this is a one-time manual setup step, not enabled by default (the detailed export is recommended for resource-level cost queries)
  • BigQuery Data Viewer + BigQuery Job User roles on the dataset project
  • Note: BigQuery on-demand queries cost $6.25 per TiB scanned (pricing). The first 1 TiB/month is free. Billing export tables are small — typical CloudScope queries cost <$0.01 each.

Configuration

Azure (zero-config)

CloudScope auto-detects your subscription from az login. Just add the server:

{

"mcpServers": { "cloudscope": { "command": "npx", "args": ["-y", "cloudscope-mcp"] } } }

To target a specific subscription, add an env block:

{

"mcpServers": { "cloudscope": { "command": "npx", "args": ["-y", "cloudscope-mcp"], "env": { "AZURE_SUBSCRIPTION_ID": "your-subscription-id" } } } }

Advanced: Service Principal (CI/CD & automated environments)

VariableDescription
AZURE_TENANT_IDAzure AD tenant ID
AZURE_CLIENT_IDApp registration client ID
AZURE_CLIENT_SECRETApp registration client secret

Set these alongside AZURE_SUBSCRIPTION_ID in the env block above.

GCP

GCP requires a BigQuery billing export table. Find your table name in GCP Console > Billing > Billing export > BigQuery export.

{

"mcpServers": { "cloudscope": { "command": "npx", "args": ["-y", "cloudscope-mcp"], "env": { "GOOGLE_CLOUD_PROJECT": "my-project", "GCP_BILLING_TABLE": "my-project.my_dataset.gcp_billing_export_resource_v1_XXXXXX" } } } }

Set GOOGLE_CLOUD_PROJECT to your GCP project ID. Override with GCP_PROJECT_ID if your billing dataset lives in a different project.

These variables apply only when using GCP; Azure-only users can skip them.

VariableDescriptionRequired
GOOGLE_CLOUD_PROJECTGCP project IDYes
GCP_BILLING_TABLEFully-qualified BigQuery table (project.dataset.table)Yes
GCP_PROJECT_IDOverride project ID if different from GOOGLE_CLOUD_PROJECTNo
GCP_BILLING_ACCOUNT_IDBilling account ID for budget monitoringNo
GOOGLE_APPLICATION_CREDENTIALSPath to service account JSON key fileNo
Both Providers
{

"mcpServers": { "cloudscope": { "command": "npx", "args": ["-y", "cloudscope-mcp"], "env": { "AZURE_SUBSCRIPTION_ID": "your-subscription-id", "GOOGLE_CLOUD_PROJECT": "my-project", "GCP_BILLING_TABLE": "my-project.my_dataset.gcp_billing_export_resource_v1_XXXXXX" } } } }

Azure is auto-detected from az login. Add AZURE_SUBSCRIPTION_ID to target a specific subscription.

Example Questions

  • "How much did Azure cost last month?"
  • "Show GCP spending by service for the last 7 days"
  • "Any cost anomalies this week on GCP?"
  • "What will Azure cost next month?"
  • "Show me cost optimization recommendations for GCP"
  • "Compare Azure and GCP costs across all projects and subscriptions"

Security

CloudScope is read-only. It cannot create, modify, or delete any cloud resources. Azure uses Cost Management Reader permissions. GCP uses BigQuery Data Viewer + Job User with no write access.

FAQ

Does this modify my cloud resources? No. Read-only access only.

Do I need a service principal? No. az login (Azure) or gcloud auth application-default login (GCP) works for local use.

Does the Azure Cost Management API cost money? No. It's free.

Do GCP BigQuery cost queries cost money? Yes, but typically <$0.01 per query ($6.25/TiB scanned, first 1 TiB/month free). See BigQuery pricing.

Can I use both Azure and GCP at the same time? Yes. Configure both sets of env vars and CloudScope queries whichever provider you specify in each tool call.

Development

git clone https://github.com/alexpota/cloudscope-mcp.git

cd cloudscope-mcp npm install npm run build npm test npx @modelcontextprotocol/inspector node dist/index.js

Reference

Tools

Most tools accept a provider parameter (azure or gcp); the provider-specific tools (list_subscriptions, list_projects, and the cross-account tools get_cross_subscription_costs / get_cross_project_costs) are fixed to their own cloud. The default provider is auto-detected based on which providers are configured.

Cost Analysis

ToolDescriptionKey Parameters
get_cost_summarySpending breakdown by service, group, or regionstart_date, end_date, group_by
get_cost_by_tagCosts grouped by a tag/label keytag_key, start_date, end_date
compare_periodsSide-by-side cost comparison of two date rangesperiod_a_start/end, period_b_start/end
top_spending_resourcesMost expensive individual resourcesdays, limit
get_cross_subscription_costsCombined costs across Azure subscriptionssubscription_ids, start_date, end_date
get_cross_project_costsCombined costs across GCP projectsproject_ids, start_date, end_date

Monitoring

ToolDescriptionKey Parameters
detect_anomaliesFind spending spikes vs previous perioddays, threshold
check_budgetsBudget status, current spend, projected overage_(none)_
get_cost_forecastPredict spending based on current trendsdays

Optimization

ToolDescriptionKey Parameters
list_recommendationsCost optimization suggestions (Azure Advisor / GCP Recommender)category
find_idle_resourcesProvisioned but unused resources with cost estimates_(none)_
find_untagged_resourcesResources with no tags/labels (cost attribution gaps)_(none)_

Utility

ToolDescriptionKey Parameters

| get_current_date | Today's date and current/previous month

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx