cloudscope

v0.3.3
io.github.alexpota/cloudscope Checked 18 hours ago Published 6 months ago

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

Values you need

VariableWhat it is
AZURE_SUBSCRIPTION_IDoptional Azure subscription ID to query for cost data. Optional; auto-detected from az login session if not set.
AZURE_TENANT_IDoptional Azure tenant ID for service principal authentication. Optional; falls back to DefaultAzureCredential (e.g. az login) if unset.
AZURE_CLIENT_IDoptional Service principal client ID. Optional; required only when using ClientSecretCredential.
AZURE_CLIENT_SECREToptional secret Service principal client secret. Optional; required only when using ClientSecretCredential.
GOOGLE_CLOUD_PROJECToptional GCP project ID. Recommended to set explicitly in the MCP client env block — may not be inherited from gcloud shell configuration.
GCP_BILLING_TABLEoptional Fully-qualified BigQuery billing export table (project.dataset.table_name). Required for GCP cost queries.
GCP_PROJECT_IDoptional Override GCP project ID if the billing dataset lives in a different project than GOOGLE_CLOUD_PROJECT.
GCP_BILLING_ACCOUNT_IDoptional GCP billing account ID (format: XXXXXX-XXXXXX-XXXXXX). Optional; needed only for budget monitoring.
GOOGLE_APPLICATION_CREDENTIALSoptional secret Path to GCP service account JSON key file. Optional; falls back to Application Default Credentials (gcloud auth).

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add cloudscope -- npx -y cloudscope-mcp@0.3.3
Add to claude_desktop_config.json
{
  "mcpServers": {
    "cloudscope": {
      "args": [
        "-y",
        "cloudscope-mcp@0.3.3"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "cloudscope": {
      "args": [
        "-y",
        "cloudscope-mcp@0.3.3"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "cloudscope": {
      "args": [
        "-y",
        "cloudscope-mcp@0.3.3"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.cloudscope]
command = "npx"
args = ["-y", "cloudscope-mcp@0.3.3"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: get_cost_summary, detect_anomalies, list_recommendations, get_cost_forecast, check_budgets, compare_periods, top_spending_resources, get_cost_by_tag, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json