Skip to content
VS Code

Azure for VS Code

io.github.asklokesh/azure-mcp-server

MCP server for Azure API integration

client:VS Code transport:stdio runtime:pypi

Install Azure in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "azure-subscription-id",
      "description": "AZURE_SUBSCRIPTION_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": "azure-tenant-id",
      "description": "AZURE_TENANT_ID",
      "password": true
    }
  ],
  "servers": {
    "azure-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "azure-mcp-server"
      ],
      "env": {
        "AZURE_SUBSCRIPTION_ID": "${input:azure-subscription-id}",
        "AZURE_CLIENT_ID": "${input:azure-client-id}",
        "AZURE_CLIENT_SECRET": "${input:azure-client-secret}",
        "AZURE_TENANT_ID": "${input:azure-tenant-id}"
      }
    }
  }
}

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

Azure in other clients