Azure MCP Server

Microsoft's Azure MCP server covering storage, Cosmos DB, monitor, Key Vault and more.

By defaultCan delete
With our presetRead-only
Flagssecrets

Labels are provisional (from the project README/docs, checked Nov 3, 2026). Not yet tested in our sandbox.

Read-only switch

--read-only argument to server start. Found in the project's source (VS Code extension passes --read-only) and contributing guide, not in the main README. Confirm before relying on it. Weakly sourced: not in the main README.

Preset

Read-onlyRead-only switch from the vendor's docs. Not sandbox-tested yet.
What the preset changes
  • Added --read-only

Claude Code

.mcp.json
{
  "mcpServers": {
    "azure": {
      "command": "npx",
Removed:       "args": ["-y", "@azure/mcp@3.0.0", "server", "start"]
      "args": ["-y", "@azure/mcp@3.0.0", "server", "start", "--read-only"]
    }
  }
}

Optional third layer: add "deny": ["mcp__azure__<write tool>"] under permissions in .claude/settings.json.

Codex

~/.codex/config.toml
# Generated by redpresets.dev on 2026-11-03. Unverified preset. Also use a read-only credential. Not a security guarantee.

[mcp_servers.azure]
command = "npx"
Removed: args = ["-y", "@azure/mcp@3.0.0", "server", "start"]
args = ["-y", "@azure/mcp@3.0.0", "server", "start", "--read-only"]
default_tools_approval_mode = "writes"

default_tools_approval_mode = "writes" asks before any tool the server does not mark read-only.

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "azure": {
      "type": "stdio",
      "command": "npx",
Removed:       "args": ["-y", "@azure/mcp@3.0.0", "server", "start"]
      "args": ["-y", "@azure/mcp@3.0.0", "server", "start", "--read-only"]
    }
  }
}

Don't add write tools to mcpAllowlist in .cursor/permissions.json. Leave them on approval. Cursor's docs say the allowlist is not a security boundary.

Lines marked + are what we added to the vendor's install command. Struck-through lines marked − are what they replaced; Copy leaves those out.

Credential layer

Sign in with an identity holding only the Reader role on the subscriptions the agent needs. Key Vault secret reads need separate denial.

Facts

Vendor
Microsoft official
Source
microsoft/mcp
License
MIT
GitHub stars
3.8k
Latest release
Template.Mcp.Server-0.0.12-alpha.7000977 (Oct 26, 2026)
Last push
Oct 27, 2026
Status
Active
Last checked
Nov 3, 2026

Sources

Spotted something wrong? Labels change when vendors change. Suggest a correction

Read-only alternatives in Cloud