Azure MCP Server — Claude Code MCP server: how to install
Local MCP server connecting AI assistants to Microsoft Azure services. Useful when managing cloud infrastructure directly from your agent chat.
claude mcp add azure -- npx -y @azure/mcpWhat Azure MCP Server does
This tool connects AI agents with Microsoft Azure services over the Model Context Protocol. It bundles cloud infrastructure tools into one local server. As a result, the assistant does not need separate integrations for each cloud task.
Execution relies on the @azure/mcp package. You can run it standalone inside Claude Code or alongside the GitHub Copilot for Azure extension. Because launch happens via npx, Node.js must be present on your system.
What it helps with
- connect AI coding assistants to Microsoft Azure infrastructure
- manage cloud services through agent environments and code editors
- run Azure tools locally without managing separate plugins for each service
Example prompts for the agent
- List all available resources in my active Azure subscription.
- Check the status of Azure services in the current resource group.
How to install Azure MCP Server
Platform CLI
claude mcp add azure -- npx -y @azure/mcpPlatform CLI
codex mcp add azure.mcp.server -- npx -y @azure/mcpConfig file
{
"mcpServers": {
"azure.mcp.server": {
"command": "npx",
"args": [
"-y",
"@azure/mcp"
]
}
}
}Config file
{
"servers": {
"azure.mcp.server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@azure/mcp"
]
}
}
}Platform CLI
gemini mcp add azure.mcp.server npx -y @azure/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Azure MCP Server
How to install Azure MCP Server in Claude Code?
Run claude mcp add azure -- npx -y @azure/mcp in your terminal.
What does Azure MCP Server do?
It exposes Microsoft Azure management tools to AI agents locally using the Model Context Protocol.
What runtime dependencies are required?
Because it launches via npx -y @azure/mcp, you must have Node.js installed on your system.