MCP server
Azure MCP Server
- Maintainer
- Official · Microsoft
- Runs
- Local (stdio)
- Repo
- microsoft/mcp
- GitHub
- ★ 3,800, last push 2026-10-23 (checked 2026-10-24)
- License
- MIT
- Registry
- com.microsoft/azure
- Connects to
- Azure, Azure Key Vault, Azure Monitor, Azure Storage, Cosmos DB
Install the Azure MCP Server
Pick your client. Each tab starts the same local command. Config shapes checked against each client's docs on 2026-10-25.
Run in a terminal. Everything after -- is the command that starts the server. docs
claude mcp add --transport stdio azure -- npx -y @azure/mcp@latest server start
Claude Desktop only: Settings > Developer > Edit Config opens claude_desktop_config.json. Add this, save and restart the app. docs
{
"mcpServers": {
"azure": {
"command": "npx",
"args": [
"-y",
"@azure/mcp@latest",
"server",
"start"
]
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project), or use the install button. docs
{
"mcpServers": {
"azure": {
"command": "npx",
"args": [
"-y",
"@azure/mcp@latest",
"server",
"start"
]
}
}
}Add to .vscode/mcp.json (note the "servers" key and the type), or use the install button. Command Palette > "MCP: Open User Configuration" for all workspaces. docs
{
"servers": {
"azure": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@azure/mcp@latest",
"server",
"start"
]
}
}
}Run codex mcp add azure -- npx -y @azure/mcp@latest server start, or add this to ~/.codex/config.toml. docs
[mcp_servers.azure] command = "npx" args = ["-y", "@azure/mcp@latest", "server", "start"]
Run in a terminal (-s user adds it for all projects; the default is this project). docs
gemini mcp add -s user azure npx -- -y @azure/mcp@latest server start
Run in a terminal; it writes ~/.copilot/mcp-config.json. docs
copilot mcp add azure -- npx -y @azure/mcp@latest server start
Add to mcp_config.json: ~/.config/devin/mcp_config.json on macOS and Linux (older installs: ~/.codeium/windsurf/mcp_config.json), %APPDATA%\devin\ on Windows. docs
{
"mcpServers": {
"azure": {
"command": "npx",
"args": [
"-y",
"@azure/mcp@latest",
"server",
"start"
]
}
}
}Add to Zed's settings.json (or Settings > AI > MCP Servers > Add Server). Remote servers without an Authorization header sign in with OAuth. docs
{
"context_servers": {
"azure": {
"command": "npx",
"args": [
"-y",
"@azure/mcp@latest",
"server",
"start"
]
}
}
}Add to opencode.json in the project (or ~/.config/opencode/opencode.json). docs
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"azure": {
"type": "local",
"command": [
"npx",
"-y",
"@azure/mcp@latest",
"server",
"start"
],
"enabled": true
}
}
}Add to ~/.kiro/settings/mcp.json (all projects) or .kiro/settings/mcp.json (this project). docs
{
"mcpServers": {
"azure": {
"command": "npx",
"args": [
"-y",
"@azure/mcp@latest",
"server",
"start"
]
}
}
}MCP Servers > Configure > Configure MCP Servers opens cline_mcp_settings.json; add this entry. docs
{
"mcpServers": {
"azure": {
"command": "npx",
"args": [
"-y",
"@azure/mcp@latest",
"server",
"start"
]
}
}
}Security notes
- The local server runs with your user's permissions (the command starts it on your machine). The package is pinned to @latest, so each start can pull a new version; pin a version if you want to review updates.
- It acts on real infrastructure with your credentials. Use a read-only role or a sandbox account first.
Alternatives
- Kubesharkofficial · ★ 12k
Live Kubernetes network traffic: HTTP, gRPC, Redis, Kafka and DNS calls between services.
- Cloudflareofficial · ★ 4.4k
A set of hosted servers (docs, Workers bindings, builds, observability, Radar and more), each at its own URL; the docs one is shown.
- Fly.ioofficial · ★ 1.7k
MCP server built into flyctl to manage Fly apps, machines, volumes and logs.
- Terraformofficial · ★ 1.6k
Look up Terraform providers, modules and policies in the registry, and manage HCP Terraform workspaces.
- Google Cloud Runofficial · ★ 632
Deploy code or containers to Cloud Run and list services and logs.
- Argo CDofficial · ★ 596
List, sync and inspect Argo CD applications and their resources.
- Renderofficial · ★ 180
Create services and databases on Render, check deploys, logs and metrics.
- Docker Hubofficial · ★ 169
Search Docker Hub images and manage your repositories.
Comparing servers for one product? Azure Key Vault MCP servers · Azure Monitor MCP servers · Azure Storage MCP servers · Cosmos DB MCP servers
FAQ
What does the Azure MCP Server do?+
Azure resources, storage, Cosmos DB, Key Vault, monitoring and CLI commands from one server.
Is the Azure MCP server official?+
Official: built and maintained by Microsoft.
How do I add Azure to Claude Code?+
Run: claude mcp add azure -- npx -y @azure/mcp@latest server start. Add --scope project to share it with your team through .mcp.json.
How do I use the Azure MCP server in Cursor or VS Code?+
Open the Cursor or VS Code tab above: it has the mcp.json entry and a one-click install link. Cursor uses the "mcpServers" key; VS Code uses "servers" and needs a type ("stdio").
Does Azure work in ChatGPT and claude.ai?+
No: it runs locally over stdio, and ChatGPT and claude.ai only connect to remote servers. Use it in Claude Desktop, Claude Code, Cursor, VS Code or another client that can start a local process.
What are the alternatives to the Azure MCP server?+
Other cloud & devops MCP servers: Kubeshark, Cloudflare, Fly.io, Terraform and Google Cloud Run.