← Index

io.github.alexpota/cloudscope

io.github.alexpota/cloudscope·v0.3.2·Google Cloud
Quality Score
80
/100

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

§01  Install
Claude Desktop (claude_desktop_config.json)
{
  "mcpServers": {
    "cloudscope": {
      "command": "npx",
      "args": [
        "-y",
        "cloudscope-mcp"
      ],
      "env": {
        "AZURE_SUBSCRIPTION_ID": "<azure_subscription_id>",
        "AZURE_TENANT_ID": "<azure_tenant_id>",
        "AZURE_CLIENT_ID": "<azure_client_id>",
        "AZURE_CLIENT_SECRET": "<your-azure_client_secret>",
        "GOOGLE_CLOUD_PROJECT": "<google_cloud_project>",
        "GCP_BILLING_TABLE": "<gcp_billing_table>",
        "GCP_BILLING_ACCOUNT_ID": "<gcp_billing_account_id>",
        "GOOGLE_APPLICATION_CREDENTIALS": "<google_application_credentials>"
      }
    }
  }
}
Cursor (.cursor/mcp.json)
{
  "mcpServers": {
    "cloudscope": {
      "command": "npx",
      "args": [
        "-y",
        "cloudscope-mcp"
      ],
      "env": {
        "AZURE_SUBSCRIPTION_ID": "<azure_subscription_id>",
        "AZURE_TENANT_ID": "<azure_tenant_id>",
        "AZURE_CLIENT_ID": "<azure_client_id>",
        "AZURE_CLIENT_SECRET": "<your-azure_client_secret>",
        "GOOGLE_CLOUD_PROJECT": "<google_cloud_project>",
        "GCP_BILLING_TABLE": "<gcp_billing_table>",
        "GCP_BILLING_ACCOUNT_ID": "<gcp_billing_account_id>",
        "GOOGLE_APPLICATION_CREDENTIALS": "<google_application_credentials>"
      }
    }
  }
}
Cline (cline_mcp_settings.json)
npx -y cloudscope-mcp
§02  Environment variables
AZURE_SUBSCRIPTION_ID

Azure subscription ID to query for cost data. Optional; auto-detected from az login session if not set.

AZURE_TENANT_ID

Azure tenant ID for service principal authentication. Optional; falls back to DefaultAzureCredential (e.g. az login) if unset.

AZURE_CLIENT_ID

Service principal client ID. Optional; required only when using ClientSecretCredential.

AZURE_CLIENT_SECRET
secret

Service principal client secret. Optional; required only when using ClientSecretCredential.

GOOGLE_CLOUD_PROJECT

GCP project ID. Recommended to set explicitly in the MCP client env block — may not be inherited from gcloud shell configuration.

GCP_BILLING_TABLE

Fully-qualified BigQuery billing export table (project.dataset.table_name). Required for GCP cost queries.

GCP_BILLING_ACCOUNT_ID

GCP billing account ID (format: XXXXXX-XXXXXX-XXXXXX). Optional; needed only for budget monitoring.

GOOGLE_APPLICATION_CREDENTIALS

Path to GCP service account JSON key file. Optional; falls back to Application Default Credentials (gcloud auth).

§03  MCP Quality Score  ·  methodology
freshness
25
completeness
10
installability
25
documentation
15
stability
5
§04  Alternatives in Google Cloud