mcp-azure
v0.3.0Azure Resource Manager inventory & ops for AI agents — governed, confirmation-gated.
Values you need
| Variable | What it is | |
|---|---|---|
AZURE_TENANT_ID | required | Entra ID tenant id. |
AZURE_CLIENT_ID | required | App registration (service principal) client id. |
AZURE_CLIENT_SECRET | required secret | Service principal client secret. |
AZURE_SUBSCRIPTION_ID | optional | Default subscription id. |
AZURE_MODE | optional | Access mode: read-only | read-write | admin. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mcp-azure -e 'AZURE_CLIENT_ID=<AZURE_CLIENT_ID>' -e 'AZURE_CLIENT_SECRET=<AZURE_CLIENT_SECRET>' -e 'AZURE_TENANT_ID=<AZURE_TENANT_ID>' -- npx -y @dockndevai/mcp-azure@0.3.0Add to
claude_desktop_config.json{
"mcpServers": {
"mcp-azure": {
"args": [
"-y",
"@dockndevai/mcp-azure@0.3.0"
],
"command": "npx",
"env": {
"AZURE_CLIENT_ID": "<AZURE_CLIENT_ID>",
"AZURE_CLIENT_SECRET": "<AZURE_CLIENT_SECRET>",
"AZURE_TENANT_ID": "<AZURE_TENANT_ID>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp-azure": {
"args": [
"-y",
"@dockndevai/mcp-azure@0.3.0"
],
"command": "npx",
"env": {
"AZURE_CLIENT_ID": "<AZURE_CLIENT_ID>",
"AZURE_CLIENT_SECRET": "<AZURE_CLIENT_SECRET>",
"AZURE_TENANT_ID": "<AZURE_TENANT_ID>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "AZURE_CLIENT_ID",
"id": "azure-client-id",
"password": true,
"type": "promptString"
},
{
"description": "AZURE_CLIENT_SECRET",
"id": "azure-client-secret",
"password": true,
"type": "promptString"
},
{
"description": "AZURE_TENANT_ID",
"id": "azure-tenant-id",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp-azure": {
"args": [
"-y",
"@dockndevai/mcp-azure@0.3.0"
],
"command": "npx",
"env": {
"AZURE_CLIENT_ID": "${input:azure-client-id}",
"AZURE_CLIENT_SECRET": "${input:azure-client-secret}",
"AZURE_TENANT_ID": "${input:azure-tenant-id}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp-azure]
command = "npx"
args = ["-y", "@dockndevai/mcp-azure@0.3.0"]
env = { "AZURE_CLIENT_ID" = "<AZURE_CLIENT_ID>", "AZURE_CLIENT_SECRET" = "<AZURE_CLIENT_SECRET>", "AZURE_TENANT_ID" = "<AZURE_TENANT_ID>" }For AI agents
- Ask the user for: AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_subscriptions, list_locations, list_resource_groups, list_resources, get_resource.
- 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