MCP servers · Microsoft Azure · MCP server
Connect Codex CLI to Microsoft Azure
One line gives Codex CLI your Microsoft Azure account as tools: 11 endpoints, resources, resource groups, storage, called with your own connection. No key in the prompt, a receipt for every call, revoke Codex CLI's access alone any time.
Three steps
- Create a free 0n3 account and connect Microsoft Azure. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Codex CLI. OpenAI's terminal agent reads 0n3 over Streamable HTTP with a token from your environment.
- Ask Codex CLI: whoami. Then: "List resources in Microsoft Azure".
Put the token in your environment
export ON3_TOKEN="<your 0n token>"
Add it to your shell profile so Codex finds it next time.
The line above carries a placeholder; 0n3.app/install mints a real key named for Codex CLI and fills it in.
What Codex CLI can then do in Microsoft Azure
Resources · Manage Azure resources3
List resources
GET /subscriptions/{subscriptionId}/resourcesGet a resource
GET /{resourceId}Delete a resource
DELETE /{resourceId}Resource groups · Manage resource groups2
List resource groups
GET /subscriptions/{subscriptionId}/resourcegroupsCreate a resource group
PUT /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}Storage · Manage storage accounts1
List storage accounts
GET /subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccountsVms · Manage virtual machines4
List vms
GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachinesGet a vm
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}Start a vm
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/startStop a vm
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/deallocateMore · Everything else this app exposes.1
List subscriptions
GET /subscriptionsMicrosoft Azure in other AI clients
Claude Code + Microsoft AzureMCP server + skillClaude (desktop & claude.ai) + Microsoft AzureconnectorChatGPT + Microsoft Azureconnector · GPT actionGemini CLI + Microsoft AzureMCP serverCursor + Microsoft AzureMCP serverVS Code (Copilot) + Microsoft AzureMCP serverWindsurf + Microsoft AzureMCP server
