Azure Claude Integration
STDIOMCP implementation enabling Claude Desktop to interact with Azure services through natural language.
MCP implementation enabling Claude Desktop to interact with Azure services through natural language.
A Model Context Protocol (MCP) implementation that enables Claude Desktop to interact with Azure services. This integration allows Claude to query and manage Azure resources directly through natural language conversations.
git clone https://github.com/Streen9/azure-mcp.git cd azure-mcp
npm install
claude_desktop_config.json
{ "mcpServers": { "sequential-thinking": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-sequential-thinking" ] }, "azure": { "command": "tsx", "args": [ "C:/Users/[YourUsername]/path/to/azure-mcp/src/launcher.ts" ] } } }
The server supports multiple authentication methods through DefaultAzureCredential:
The server will automatically try these methods in sequence until one succeeds.
You: Can you get all the available Azure accounts and subscriptions?
Claude: I'll help you list all available Azure tenants and subscriptions.
[Claude will then use the Azure MCP to fetch and display the information]
azure-mcp/
├── src/
│ ├── launcher.ts # Server entry point
│ ├── AzureServer.ts # Main MCP server implementation
│ └── LoggerService.ts # Logging utility
├── package.json
└── README.md
Authentication Issues:
az login
)Connection Issues:
Common Errors:
NO_TENANT
: Select a tenant using the 'select-tenant' toolNO_CLIENTS
: Ensure proper initialization and authenticationCODE_EXECUTION_FAILED
: Check Azure permissions and connectionContributions are welcome! Please feel free to submit a Pull Request.
This implementation follows Azure security best practices:
For security concerns or vulnerabilities, please create an issue.