Skip to content
VS Code

cloudscope for VS Code

io.github.alexpota/cloudscope

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

client:VS Code transport:stdio runtime:npm

Install cloudscope in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "azure-subscription-id",
      "description": "AZURE_SUBSCRIPTION_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "azure-tenant-id",
      "description": "AZURE_TENANT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "azure-client-id",
      "description": "AZURE_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "azure-client-secret",
      "description": "AZURE_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-cloud-project",
      "description": "GOOGLE_CLOUD_PROJECT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gcp-billing-table",
      "description": "GCP_BILLING_TABLE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gcp-project-id",
      "description": "GCP_PROJECT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "gcp-billing-account-id",
      "description": "GCP_BILLING_ACCOUNT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "google-application-credentials",
      "description": "GOOGLE_APPLICATION_CREDENTIALS",
      "password": true
    }
  ],
  "servers": {
    "cloudscope": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "cloudscope-mcp"
      ],
      "env": {
        "AZURE_SUBSCRIPTION_ID": "${input:azure-subscription-id}",
        "AZURE_TENANT_ID": "${input:azure-tenant-id}",
        "AZURE_CLIENT_ID": "${input:azure-client-id}",
        "AZURE_CLIENT_SECRET": "${input:azure-client-secret}",
        "GOOGLE_CLOUD_PROJECT": "${input:google-cloud-project}",
        "GCP_BILLING_TABLE": "${input:gcp-billing-table}",
        "GCP_PROJECT_ID": "${input:gcp-project-id}",
        "GCP_BILLING_ACCOUNT_ID": "${input:gcp-billing-account-id}",
        "GOOGLE_APPLICATION_CREDENTIALS": "${input:google-application-credentials}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

cloudscope in other clients