This guide helps AI agents and developers install and configure the Azure MCP Server for different environments.
The Azure MCP Server requires configuration based on the client type. Below are the setup instructions for each supported client:
✅ Recommended: Use the Azure MCP Server VS Code Extension
- Open VS Code and go to the Extensions view
(
Ctrl+Shift+Xon Windows/Linux orCmd+Shift+Xon macOS). - Search for "Azure MCP Server" and install the official Azure MCP Server extension by Microsoft.
- Open the Command Palette (
Ctrl+Shift+P/Cmd+Shift+P). - Run
MCP: List Servers. - Select
azure-mcp-server-extfrom the list and click Start to launch the server.
Alternative: Use the classic npx route via .vscode/mcp.json
Requires Node.js (Latest LTS version)
- Create or modify the MCP configuration file,
mcp.json, in your.vscodefolder.
{
"servers": {
"Azure MCP Server": {
"command": "npx",
"args": [
"-y",
"@azure/mcp@latest",
"server",
"start"
]
}
}
}Requires Node.js (Latest LTS version)
- Create or modify the configuration file at
~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"Azure MCP Server": {
"command": "npx",
"args": [
"-y",
"@azure/mcp@latest",
"server",
"start"
]
}
}
}