Azure MCP Server tools: which ones change your subscription, and how to make your agent ask
The tools of Microsoft's Azure MCP Server (@azure/mcp 4.0.0-beta.10), checked by running it on this machine with no Azure account: why its default mode gives a permission rule only one tool per service, which calls its own confirmation prompt covers and which it skips, what its telemetry switch leaves on, and the Claude Code settings that make the rest ask.
Checked on by running @azure/mcp 4.0.0-beta.10 (npm, the version @latest gave on 27 November 2026, run on macOS with no Azure sign-in) from microsoft/mcp and reading its tools/list answer. Each tier is the tool risk checker’s reading, with our reason wherever we changed it. Written by the people who make VariantGate.
The short answer
Its default mode gives one tool per Azure service, so a permission rule cannot tell reading a secret from deleting a database. Run it with --mode all and the namespaces you need; its own confirmation prompt then covers deletes and secrets but not uploads, texts or emails, and 42 of the 69 tools of our setup can run unasked.
- Can run on their own
- 42
- Should ask a person
- 27
Lethal trifecta: This server can read private data and send data out. Beside a server that can take in content other people wrote, a setup holds all three legs of the lethal trifecta. Check your whole setup
Which Azure server this is
This page is about the Azure MCP Server, @azure/mcp on npm, from Microsoft’s microsoft/mcp repository. It manages Azure resources: storage, Key Vault, SQL, App Service, virtual machines, Monitor logs and about sixty other services. For Azure Boards, Repos and Pipelines there is a separate server, covered on the Azure DevOps MCP server page. The README’s setup is:
{
"mcpServers": {
"azure-mcp-server": {
"command": "npx",
"args": ["-y", "@azure/mcp@latest", "server", "start"]
}
}
}On 27 November 2026 @latest gave 4.0.0-beta.10, a beta published on 23 November; the last release without “beta” is 3.0.0, from 12 October, which we did not run. The npm package downloads a .NET program for your platform. Its initialize answer says “Azure MCP Server” 4.0.0-beta.10.
How we ran it without an Azure account
We ran it on a Mac with no az login and no Azure credentials, and talked to it over stdio with a small client of our own. Its HTTP clients honour HTTPS_PROXY, so we pointed that at a local proxy that wrote down every address the server tried and refused all of them. Nothing reached Azure. Every call that got past the server’s own checks stopped at signing in, so this page shows what the server does before it reaches Azure, not what Azure’s roles would refuse.
One tool per service by default
--mode decides how the tools are listed, and the README’s setup leaves it at namespace:
namespace, the default: 74 tools. 69 of them are one tool per service, such askeyvault,sqlandstorage, that take acommandand itsparameters, with no read-only or destructive hint. Only five, such asgroup_list, are tools of their own.all: 452 tools, one per command. 258 are marked read-only and 141 destructive.single: one tool,azure, that routes to everything.
This call to the default keyvault tool asks for a secret:
{
"name": "keyvault",
"arguments": {
"intent": "read the db password",
"command": "keyvault_secret_get",
"parameters": { "vault": "probevault", "secret": "db-password" }
}
}With "command": "keyvault_secret_create" the same tool writes one. A permission rule sees only the tool, so mcp__azure__keyvault is either allowed for both or asks for both, and sql covers listing databases and deleting a server alike. In all mode each command is its own tool with its own hints, which is what the settings below rely on. --namespace narrows it to the services you name, and --tool to single commands.
What --read-only keeps
With --mode all --read-only the server listed 258 tools: exactly the ones it marks read-only. In the default mode it drops the communication, azuremigrate and resiliencyagent tools and keeps the rest. The keyvault tool also stopped taking write commands: asked for keyvault_secret_create, it answered that the command is not available and listed the four reads. Two kinds of tool it keeps still need care:
keyvault_secret_getreturns a secret’s value, andappservice_webapp_settings_get-appsettingsan app’s settings, where connection strings usually sit. Both are marked read-only.foundryextensions_openai_chat-completions-create,create-completionandembeddings-createare marked read-only too. Each call sends a prompt to your Azure OpenAI deployment, which a standard deployment bills by the token.
Its own confirmation prompt, and what it skips
Before a tool it marks destructive, and before 13 tools it flags as handling secrets, the server asks the client to confirm through MCP elicitation. We saw it for sql_db_delete, compute_vm_delete, sql_server_firewall-rule_create, postgres_database_query with a DELETE, and the Key Vault and app settings reads. When our client declined, the answer was “Operation cancelled by user.” When our client did not offer elicitation at all, the server refused: “the client does not support elicitation. Operation rejected for security.” That holds, unless someone starts it with --dangerously-disable-elicitation.
Tools that are not marked destructive got no prompt:
storage_blob_uploadtakes a local file path. Given.env, it asked nothing and went straight on to signing in, the step before the upload.communication_sms_sendandcommunication_email_sendsend to any number or address. Our SMS call went straight on to signing in too.appservice_database_addadds a database connection to a web app, and the chat completion tools spend money. Neither asked.
The prompt also asks whoever is at the client, which only works while someone is watching. The hook further down sends those calls to a person wherever they are.
Telemetry stays on with the switch the README names
Telemetry is on by default. As soon as it started, before any tool call, the server tried to reach centralus-2.in.applicationinsights.azure.com and westus-0.in.applicationinsights.azure.com, and asked 169.254.169.254, the address where Azure machines read their own details. The README says AZURE_MCP_COLLECT_TELEMETRY=false turns off all telemetry. With only that set, it still tried westus-0.in.applicationinsights.azure.com and the metadata address, in each of our four runs. AZURE_MCP_COLLECT_TELEMETRY_MICROSOFT=false stopped both, in every run. The setup below sets both. Our proxy refused the connections, so we cannot say what would have been sent.
A safer setup
claude mcp add azure -e AZURE_MCP_COLLECT_TELEMETRY=false -e AZURE_MCP_COLLECT_TELEMETRY_MICROSOFT=false -- npx -y @azure/mcp@4.0.0-beta.10 server start --mode all --namespace group --namespace subscription --namespace storage --namespace keyvault --namespace monitor --namespace sql --namespace appservicePick the namespaces your agent needs; the ones above are an example for an agent that looks after a web app and its database, and they give the 69 tools below. --mode all is what lets Claude Code tell a read from a write. Add --read-only if the agent only needs to look: 44 of these tools stay. Pin the version, since @latest is a beta, and ten betas came out between 20 October and 23 November. The server signs in as whoever ran az login (or azd auth login, or the identity of the machine, as its error message lists them), so sign in as an identity with only the roles the agent needs, such as Reader on one resource group. In a vault that uses Azure roles, Reader does not read secret values; leave the Key Vault data roles out unless the agent must read secrets.
All 69 tools
Hard to undo17 toolsAsk a person every time. Consider two people, or deny it if the agent never needs it.
appservice_webapp_change-stateUpdates the running state of an Azure App Service web app using one of the following states: - "start": Starts a stopped web app.
Server says: destructive · toolset appservice
appservice_webapp_settings_update-appsettingsUpdates the application setting for an App Service web app.
Server says: destructive · toolset appservice
keyvault_certificate_createCreate/issue/generate a new certificate in an Azure Key Vault using the default certificate policy.
Server says: destructive · toolset keyvault
keyvault_certificate_importImports/uploads an existing certificate (PFX or PEM with private key) into an Azure Key Vault without generating a new certificate or key material.
Server says: destructive · toolset keyvault
keyvault_key_createCreate a new key in an Azure Key Vault.
Server says: destructive · toolset keyvault
keyvault_secret_createCreate/set a secret in an Azure Key Vault with the specified name and value.
Server says: destructive · toolset keyvault
monitor_traces_query_cancelCancel (abort, stop, terminate) an in-flight distributed-trace query operation on a Trace Store account.
Server says: destructive · toolset monitor
monitor_webtests_createorupdateCreate or update a standard web test in Azure Monitor to monitor endpoint availability.
Server says: destructive · toolset monitor
sql_db_createCreate a new Azure SQL Database on an existing SQL Server with configurable performance tiers, size limits, and other settings.
Server says: destructive · toolset sql
sql_db_deleteDeletes a database from an Azure SQL Server.
Server says: destructive · toolset sql
sql_db_renameRename an existing Azure SQL Database to a new name within the same SQL server.
Server says: destructive · toolset sql
sql_db_updateScale and configure Azure SQL Database performance settings.
Server says: destructive · toolset sql
sql_server_createCreates a new Azure SQL server in the specified resource group and location, with the specified administrator credentials and optional configuration settings.
Server says: destructive · toolset sql
sql_server_deleteRemove the specified SQL server from your Azure subscription, including all associated databases.
Server says: destructive · toolset sql
sql_server_firewall-rule_deleteDeletes a firewall rule from a SQL server, potentially restricting access for the IP addresses that were previously allowed by this rule.
Server says: destructive · toolset sql
storage_account_createCreates an Azure Storage account in the specified resource group and location and returns the created storage account information including name, location, SKU, access settings, and configuration details.
Server says: destructive · toolset storage
storage_blob_container_createCreate/provision a new Azure Storage blob container in a storage account.
Server says: destructive · toolset storage
Reaches people4 toolsAsk a person: once it reaches someone, it cannot be unsent.
monitor_instrumentation_send-brownfield-analysisSend brownfield code analysis findings after orchestrator-start returned status 'analysis_needed'.
Server gives no read-only or destructive hint · toolset monitor
monitor_instrumentation_send-enhancement-selectSubmit the user's enhancement selection after orchestrator-start returned status 'enhancement_available'.
Server gives no read-only or destructive hint · toolset monitor
sql_server_firewall-rule_createCreates a firewall rule for a SQL server.
Server says: destructive · toolset sql
Our call: Opens the SQL server to the addresses it is given; 0.0.0.0 to 255.255.255.255 is the whole internet. The server asked us to confirm first.
storage_blob_uploadUploads a local file to an Azure Storage blob, only if the blob does not exist, returning the last modified time, ETag, and content hash of the uploaded blob.
Server gives no read-only or destructive hint · toolset storage
Our call: Uploads any local file the model names to a blob. Given a .env, it asked nothing and went straight on to signing in, the step before the upload.
Not sure2 toolsAsk a person until you have checked what it does.
appservice_webapp_settings_get-appsettingsRetrieves the application settings for an App Service web app, returning key-value pairs that represent the setting.
Server says: read-only · toolset appservice
Our call: Marked read-only and kept by --read-only, but it returns the app's settings, where connection strings and API keys usually live. The server asked us to confirm first; a client without that prompt is refused.
keyvault_secret_getList all secrets in your Key Vault or get a specific secret by name.
Server says: read-only · toolset keyvault
Our call: Marked read-only and kept by --read-only, but given a name it returns the secret's value. The server asked us to confirm first; a client without that prompt is refused.
Changes data4 toolsAsk a person. Once it is routine, a standing rule can answer.
appservice_database_addAdd a database connection for an App Service using connection string for an existing database.
Server gives no read-only or destructive hint · toolset appservice
monitor_ingestion_uploadUploads custom log data to Azure Monitor (Log Analytics) through the Logs Ingestion API using a data collection rule.
Server gives no read-only or destructive hint · toolset monitor
monitor_instrumentation_orchestrator-nextGet the next instrumentation action after completing the current one.
Server gives no read-only or destructive hint · toolset monitor
Our call: Not marked read-only, and --read-only drops it. It hands the agent the next step of adding Azure Monitor to your local code.
monitor_instrumentation_orchestrator-startSTART HERE for Azure Monitor instrumentation.
Server gives no read-only or destructive hint · toolset monitor
Only looks42 toolsLet it run. It only looks.
appservice_webapp_deployment_getRetrieves detailed information about Azure App Service web app deployments, including deployment name, if deployment is actively happening, when the deployment started and ended, who authored and deployed the deployment, and the type of deployment.
Server says: read-only · toolset appservice
Our call: Marked read-only and kept by --read-only, and it only reads. The checker takes a word in its name, such as run or deployment, for a change.
appservice_webapp_diagnostic_diagnoseRuns a specific diagnostic detector on an App Service Web App to troubleshoot issues with performance, availability, configuration, or errors.
Server says: read-only · toolset appservice
Our call: Marked read-only and kept by --read-only, and it only reads. The checker takes a word in its name, such as run or deployment, for a change.
appservice_webapp_diagnostic_listLists all available diagnostic detectors for an App Service Web App.
Server says: read-only · toolset appservice
appservice_webapp_getRetrieves detailed information about Azure App Service web apps, including app name, resource group, location, state, hostnames, etc.
Server says: read-only · toolset appservice
group_listList all resource groups in a subscription.
Server says: read-only · toolset group
group_resource_listList all resources in a resource group.
Server says: read-only · toolset group
keyvault_admin_settings_getRetrieves all Managed HSM account settings for a Key Vault.
Server says: read-only · toolset keyvault
keyvault_certificate_getList all certificates in your Key Vault or get a specific certificate by name.
Server says: read-only · toolset keyvault
keyvault_key_getList all keys in your Key Vault or get a specific key by name.
Server says: read-only · toolset keyvault
monitor_activitylog_listAlways use this tool if user is asking for activity logs for a resource.
Server says: read-only · toolset monitor
monitor_healthmodels_getGet (show/view) a single, specific Azure Monitor Health Model by name, within a resource group and subscription.
Server says: read-only · toolset monitor
monitor_healthmodels_inspectLook inside an Azure Monitor health model: its entities with their health state, signal groups and signal aggregation groups, what drives an entity's state (walk Causes), what it depends on or what depends on it, health state history, signal history and data annotations, now or at a past timestamp.
Server says: read-only · toolset monitor
monitor_healthmodels_listList (find/show/enumerate) Azure Monitor Health Models (Microsoft.CloudHealth/healthmodels) in a subscription, or scoped to a specific resource group.
Server says: read-only · toolset monitor
monitor_ingestion_validateValidates log data before ingestion into Azure Monitor to prevent upload errors.
Server says: read-only · toolset monitor
Our call: Marked read-only and kept by --read-only, and it only reads. The checker takes a word in its name, such as run or deployment, for a change.
monitor_instrumentation_get-learning-resourceList all available learning resources for Azure Monitor instrumentation or get the content of a specific resource by path.
Server says: read-only · toolset monitor
monitor_metrics_batchqueryQuery Azure Monitor metrics for multiple resources in a single batch request.
Server says: read-only · toolset monitor
monitor_metrics_definitionsList available metric definitions for an Azure resource.
Server says: read-only · toolset monitor
monitor_metrics_queryQuery Azure Monitor metrics for a resource.
Server says: read-only · toolset monitor
monitor_resource_log_queryQuery diagnostic and activity logs for a SPECIFIC Azure resource in a Log Analytics workspace using Kusto Query Language (KQL).
Server says: read-only · toolset monitor
monitor_table_listList all tables in a Log Analytics workspace.
Server says: read-only · toolset monitor
monitor_table_type_listList available table types in a Log Analytics workspace.
Server says: read-only · toolset monitor
monitor_traces_account_listList distributed-trace accounts available in a subscription.
Server says: read-only · toolset monitor
monitor_traces_field_listList the field names exposed by a distributed-trace account.
Server says: read-only · toolset monitor
monitor_traces_query_analyze-critical-pathCritical-path latency breakdown for given trace IDs: which services and operations dominate end-to-end latency.
Server says: read-only · toolset monitor
monitor_traces_query_analyze-top-attributesCompare two trace cohorts to rank the attribute values that distinguish a selected cohort (field/operator/value within the selection window) from the baseline (the rest of the overall query and window); use it to explain latency, error, retry, or deployment differences.
Server says: read-only · toolset monitor
monitor_traces_query_resumeResume polling an existing distributed-trace query by operation id, without submitting a new query.
Server says: read-only · toolset monitor
Our call: Marked read-only and kept by --read-only, and it only reads. The checker takes a word in its name, such as run or deployment, for a change.
monitor_traces_query_runRun a KQL query on a distributed-trace account to find, filter, and analyze spans, traces, service latency, request errors, top-slowest operations, and per-service telemetry from OpenTelemetry-instrumented applications.
Server says: read-only · toolset monitor
Our call: Marked read-only and kept by --read-only, and it only reads. The checker takes a word in its name, such as run or deployment, for a change.
monitor_webtests_getGets details for a specific web test or lists all web tests.
Server says: read-only · toolset monitor
monitor_workspace_listList Log Analytics workspaces in a subscription.
Server says: read-only · toolset monitor
monitor_workspace_log_queryQuery logs across an ENTIRE Log Analytics workspace using Kusto Query Language (KQL).
Server says: read-only · toolset monitor
monitor_workspace_log_searchSearches one Basic or Auxiliary table in an Azure Log Analytics workspace through the synchronous Logs search API.
Server says: read-only · toolset monitor
sql_db_getShow, get, or list Azure SQL databases in a SQL Server.
Server says: read-only · toolset sql
sql_elastic-pool_listLists all SQL elastic pools in an Azure SQL Server with their SKU, capacity, state, and database limits.
Server says: read-only · toolset sql
sql_server_entra-admin_listGets a list of all Microsoft Entra ID administrators for a SQL server, including their display names, object IDs, and tenant information.
Server says: read-only · toolset sql
sql_server_firewall-rule_listGets/retrieves a list of all firewall rules configured for a SQL server, including their IP address ranges and rule names.
Server says: read-only · toolset sql
sql_server_getShow, get, or list Azure SQL servers in a resource group.
Server says: read-only · toolset sql
storage_account_getRetrieves detailed information about Azure Storage accounts, including account name, location, SKU, kind, hierarchical namespace status, HTTPS-only settings, and blob public access configuration.
Server says: read-only · toolset storage
storage_blob_container_getShow/list containers in a storage account.
Server says: read-only · toolset storage
storage_blob_getList/get/show blobs in a blob container in Storage account.
Server says: read-only · toolset storage
storage_disk_diagnoseDiagnoses Azure virtual machine disk performance through the Storage Intelligence service.
Server says: read-only · toolset storage
storage_table_listList all tables in an Azure Storage account.
Server says: read-only · toolset storage
subscription_listList all Azure subscriptions for the current account.
Server says: read-only · toolset subscription
Let the reads run in Claude Code
Claude Code asks before every MCP tool it has no rule for. Added as azure, this server’s tools are named mcp__azure__<tool>. These allow rules, in .claude/settings.json or ~/.claude/settings.json, let the tools that only look run without a prompt. Everything else keeps asking, including any tool a later version of the server adds.
{
"permissions": {
"allow": [
"mcp__azure__appservice_webapp_deployment_get",
"mcp__azure__appservice_webapp_diagnostic_diagnose",
"mcp__azure__appservice_webapp_diagnostic_list",
"mcp__azure__appservice_webapp_get",
"mcp__azure__group_list",
"mcp__azure__group_resource_list",
"mcp__azure__keyvault_admin_settings_get",
"mcp__azure__keyvault_certificate_get",
"mcp__azure__keyvault_key_get",
"mcp__azure__monitor_activitylog_list",
"mcp__azure__monitor_healthmodels_get",
"mcp__azure__monitor_healthmodels_inspect",
"mcp__azure__monitor_healthmodels_list",
"mcp__azure__monitor_ingestion_validate",
"mcp__azure__monitor_instrumentation_get-learning-resource",
"mcp__azure__monitor_metrics_batchquery",
"mcp__azure__monitor_metrics_definitions",
"mcp__azure__monitor_metrics_query",
"mcp__azure__monitor_resource_log_query",
"mcp__azure__monitor_table_list",
"mcp__azure__monitor_table_type_list",
"mcp__azure__monitor_traces_account_list",
"mcp__azure__monitor_traces_field_list",
"mcp__azure__monitor_traces_query_analyze-critical-path",
"mcp__azure__monitor_traces_query_analyze-top-attributes",
"mcp__azure__monitor_traces_query_resume",
"mcp__azure__monitor_traces_query_run",
"mcp__azure__monitor_webtests_get",
"mcp__azure__monitor_workspace_list",
"mcp__azure__monitor_workspace_log_query",
"mcp__azure__monitor_workspace_log_search",
"mcp__azure__sql_db_get",
"mcp__azure__sql_elastic-pool_list",
"mcp__azure__sql_server_entra-admin_list",
"mcp__azure__sql_server_firewall-rule_list",
"mcp__azure__sql_server_get",
"mcp__azure__storage_account_get",
"mcp__azure__storage_blob_container_get",
"mcp__azure__storage_blob_get",
"mcp__azure__storage_disk_diagnose",
"mcp__azure__storage_table_list",
"mcp__azure__subscription_list"
]
}
}The command that adds the server:
claude mcp add azure -e AZURE_MCP_COLLECT_TELEMETRY=false -e AZURE_MCP_COLLECT_TELEMETRY_MICROSOFT=false -- npx -y @azure/mcp@4.0.0-beta.10 server start --mode all --namespace group --namespace subscription --namespace storage --namespace keyvault --namespace monitor --namespace sql --namespace appserviceSend the rest to a person, not the terminal
A prompt in the terminal only works while someone is watching it. With this hook, every other tool of the server becomes a request in your VariantGate inbox, on your phone or in Slack, and Claude Code waits for the answer. The matcher names the look-only tools, so a tool added later is sent too. Put the key in VARIANTGATE_KEY, or run the one-command setup for Claude Code first.
{
"hooks": {
"PreToolUse": [
{
"matcher": "mcp__azure__(?!(appservice_webapp_deployment_get|appservice_webapp_diagnostic_diagnose|appservice_webapp_diagnostic_list|appservice_webapp_get|group_list|group_resource_list|keyvault_admin_settings_get|keyvault_certificate_get|keyvault_key_get|monitor_activitylog_list|monitor_healthmodels_get|monitor_healthmodels_inspect|monitor_healthmodels_list|monitor_ingestion_validate|monitor_instrumentation_get-learning-resource|monitor_metrics_batchquery|monitor_metrics_definitions|monitor_metrics_query|monitor_resource_log_query|monitor_table_list|monitor_table_type_list|monitor_traces_account_list|monitor_traces_field_list|monitor_traces_query_analyze-critical-path|monitor_traces_query_analyze-top-attributes|monitor_traces_query_resume|monitor_traces_query_run|monitor_webtests_get|monitor_workspace_list|monitor_workspace_log_query|monitor_workspace_log_search|sql_db_get|sql_elastic-pool_list|sql_server_entra-admin_list|sql_server_firewall-rule_list|sql_server_get|storage_account_get|storage_blob_container_get|storage_blob_get|storage_disk_diagnose|storage_table_list|subscription_list)$).*",
"hooks": [
{ "type": "command", "command": "variantgate hook claude-code", "timeout": 180 }
]
}
]
}
}Disagree with a tier, or run the server with other flags? Open these tools in the tool risk checker, change what you like, and copy the settings for your own setup. It runs in your browser and starts from its own reading, so a tool we marked as only looking by hand asks there until you change it.
Set it up in Cursor, VS Code, Codex, Gemini CLI and other clients
The same server as the claude mcp add line above, written the way each client reads it, for Claude Desktop, Cursor, VS Code, Windsurf, Codex, Gemini CLI, Cline and Zed. Cursor and VS Code add it in one click: the app shows the settings and asks before it saves them. Set up like this, every tool runs as soon as the model calls it; the next section puts a person in front of the ones that change things. Running it with other flags? Convert your own settings.
claude_desktop_config.json{
"mcpServers": {
"azure": {
"command": "npx",
"args": [
"-y",
"@azure/mcp@4.0.0-beta.10",
"server",
"start",
"--mode",
"all",
"--namespace",
"group",
"--namespace",
"subscription",
"--namespace",
"storage",
"--namespace",
"keyvault",
"--namespace",
"monitor",
"--namespace",
"sql",
"--namespace",
"appservice"
],
"env": {
"AZURE_MCP_COLLECT_TELEMETRY": "false",
"AZURE_MCP_COLLECT_TELEMETRY_MICROSOFT": "false"
}
}
}
}~/.cursor/mcp.json or .cursor/mcp.json{
"mcpServers": {
"azure": {
"command": "npx",
"args": [
"-y",
"@azure/mcp@4.0.0-beta.10",
"server",
"start",
"--mode",
"all",
"--namespace",
"group",
"--namespace",
"subscription",
"--namespace",
"storage",
"--namespace",
"keyvault",
"--namespace",
"monitor",
"--namespace",
"sql",
"--namespace",
"appservice"
],
"env": {
"AZURE_MCP_COLLECT_TELEMETRY": "false",
"AZURE_MCP_COLLECT_TELEMETRY_MICROSOFT": "false"
}
}
}
}.vscode/mcp.json{
"servers": {
"azure": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@azure/mcp@4.0.0-beta.10",
"server",
"start",
"--mode",
"all",
"--namespace",
"group",
"--namespace",
"subscription",
"--namespace",
"storage",
"--namespace",
"keyvault",
"--namespace",
"monitor",
"--namespace",
"sql",
"--namespace",
"appservice"
],
"env": {
"AZURE_MCP_COLLECT_TELEMETRY": "false",
"AZURE_MCP_COLLECT_TELEMETRY_MICROSOFT": "false"
}
}
}
}~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"azure": {
"command": "npx",
"args": [
"-y",
"@azure/mcp@4.0.0-beta.10",
"server",
"start",
"--mode",
"all",
"--namespace",
"group",
"--namespace",
"subscription",
"--namespace",
"storage",
"--namespace",
"keyvault",
"--namespace",
"monitor",
"--namespace",
"sql",
"--namespace",
"appservice"
],
"env": {
"AZURE_MCP_COLLECT_TELEMETRY": "false",
"AZURE_MCP_COLLECT_TELEMETRY_MICROSOFT": "false"
}
}
}
}~/.codex/config.toml[mcp_servers.azure]
command = "npx"
args = ["-y", "@azure/mcp@4.0.0-beta.10", "server", "start", "--mode", "all", "--namespace", "group", "--namespace", "subscription", "--namespace", "storage", "--namespace", "keyvault", "--namespace", "monitor", "--namespace", "sql", "--namespace", "appservice"]
env = { AZURE_MCP_COLLECT_TELEMETRY = "false", AZURE_MCP_COLLECT_TELEMETRY_MICROSOFT = "false" }~/.gemini/settings.json{
"mcpServers": {
"azure": {
"command": "npx",
"args": [
"-y",
"@azure/mcp@4.0.0-beta.10",
"server",
"start",
"--mode",
"all",
"--namespace",
"group",
"--namespace",
"subscription",
"--namespace",
"storage",
"--namespace",
"keyvault",
"--namespace",
"monitor",
"--namespace",
"sql",
"--namespace",
"appservice"
],
"env": {
"AZURE_MCP_COLLECT_TELEMETRY": "false",
"AZURE_MCP_COLLECT_TELEMETRY_MICROSOFT": "false"
}
}
}
}cline_mcp_settings.json (Configure MCP Servers){
"mcpServers": {
"azure": {
"command": "npx",
"args": [
"-y",
"@azure/mcp@4.0.0-beta.10",
"server",
"start",
"--mode",
"all",
"--namespace",
"group",
"--namespace",
"subscription",
"--namespace",
"storage",
"--namespace",
"keyvault",
"--namespace",
"monitor",
"--namespace",
"sql",
"--namespace",
"appservice"
],
"env": {
"AZURE_MCP_COLLECT_TELEMETRY": "false",
"AZURE_MCP_COLLECT_TELEMETRY_MICROSOFT": "false"
}
}
}
}~/.config/zed/settings.json{
"context_servers": {
"azure": {
"command": "npx",
"args": [
"-y",
"@azure/mcp@4.0.0-beta.10",
"server",
"start",
"--mode",
"all",
"--namespace",
"group",
"--namespace",
"subscription",
"--namespace",
"storage",
"--namespace",
"keyvault",
"--namespace",
"monitor",
"--namespace",
"sql",
"--namespace",
"appservice"
],
"env": {
"AZURE_MCP_COLLECT_TELEMETRY": "false",
"AZURE_MCP_COLLECT_TELEMETRY_MICROSOFT": "false"
}
}
}
}- Add context_servers next to your other settings in the same file.
Any MCP client: put the proxy in front
Claude Desktop, Cursor and most other MCP clients have no hook to send a call to a person. The VariantGate MCP proxy does it in the server’s place: it starts the server, lets the look-only tools above through, and holds every other call until someone approves it in the inbox. Run npx -y https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz login once to save a key, then use the settings for your client:
claude_desktop_config.json{
"mcpServers": {
"azure": {
"command": "npx",
"args": [
"-y",
"https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz",
"mcp-proxy",
"--name",
"azure",
"--look-only",
"appservice_webapp_deployment_get,appservice_webapp_diagnostic_diagnose,appservice_webapp_diagnostic_list,appservice_webapp_get,group_list,group_resource_list,keyvault_admin_settings_get,keyvault_certificate_get,keyvault_key_get,monitor_activitylog_list,monitor_healthmodels_get,monitor_healthmodels_inspect,monitor_healthmodels_list,monitor_ingestion_validate,monitor_instrumentation_get-learning-resource,monitor_metrics_batchquery,monitor_metrics_definitions,monitor_metrics_query,monitor_resource_log_query,monitor_table_list,monitor_table_type_list,monitor_traces_account_list,monitor_traces_field_list,monitor_traces_query_analyze-critical-path,monitor_traces_query_analyze-top-attributes,monitor_traces_query_resume,monitor_traces_query_run,monitor_webtests_get,monitor_workspace_list,monitor_workspace_log_query,monitor_workspace_log_search,sql_db_get,sql_elastic-pool_list,sql_server_entra-admin_list,sql_server_firewall-rule_list,sql_server_get,storage_account_get,storage_blob_container_get,storage_blob_get,storage_disk_diagnose,storage_table_list,subscription_list",
"--",
"npx",
"-y",
"@azure/mcp@4.0.0-beta.10",
"server",
"start",
"--mode",
"all",
"--namespace",
"group",
"--namespace",
"subscription",
"--namespace",
"storage",
"--namespace",
"keyvault",
"--namespace",
"monitor",
"--namespace",
"sql",
"--namespace",
"appservice"
],
"env": {
"AZURE_MCP_COLLECT_TELEMETRY": "false",
"AZURE_MCP_COLLECT_TELEMETRY_MICROSOFT": "false"
}
}
}
}~/.cursor/mcp.json or .cursor/mcp.json{
"mcpServers": {
"azure": {
"command": "npx",
"args": [
"-y",
"https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz",
"mcp-proxy",
"--name",
"azure",
"--look-only",
"appservice_webapp_deployment_get,appservice_webapp_diagnostic_diagnose,appservice_webapp_diagnostic_list,appservice_webapp_get,group_list,group_resource_list,keyvault_admin_settings_get,keyvault_certificate_get,keyvault_key_get,monitor_activitylog_list,monitor_healthmodels_get,monitor_healthmodels_inspect,monitor_healthmodels_list,monitor_ingestion_validate,monitor_instrumentation_get-learning-resource,monitor_metrics_batchquery,monitor_metrics_definitions,monitor_metrics_query,monitor_resource_log_query,monitor_table_list,monitor_table_type_list,monitor_traces_account_list,monitor_traces_field_list,monitor_traces_query_analyze-critical-path,monitor_traces_query_analyze-top-attributes,monitor_traces_query_resume,monitor_traces_query_run,monitor_webtests_get,monitor_workspace_list,monitor_workspace_log_query,monitor_workspace_log_search,sql_db_get,sql_elastic-pool_list,sql_server_entra-admin_list,sql_server_firewall-rule_list,sql_server_get,storage_account_get,storage_blob_container_get,storage_blob_get,storage_disk_diagnose,storage_table_list,subscription_list",
"--",
"npx",
"-y",
"@azure/mcp@4.0.0-beta.10",
"server",
"start",
"--mode",
"all",
"--namespace",
"group",
"--namespace",
"subscription",
"--namespace",
"storage",
"--namespace",
"keyvault",
"--namespace",
"monitor",
"--namespace",
"sql",
"--namespace",
"appservice"
],
"env": {
"AZURE_MCP_COLLECT_TELEMETRY": "false",
"AZURE_MCP_COLLECT_TELEMETRY_MICROSOFT": "false"
}
}
}
}.vscode/mcp.json{
"servers": {
"azure": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz",
"mcp-proxy",
"--name",
"azure",
"--look-only",
"appservice_webapp_deployment_get,appservice_webapp_diagnostic_diagnose,appservice_webapp_diagnostic_list,appservice_webapp_get,group_list,group_resource_list,keyvault_admin_settings_get,keyvault_certificate_get,keyvault_key_get,monitor_activitylog_list,monitor_healthmodels_get,monitor_healthmodels_inspect,monitor_healthmodels_list,monitor_ingestion_validate,monitor_instrumentation_get-learning-resource,monitor_metrics_batchquery,monitor_metrics_definitions,monitor_metrics_query,monitor_resource_log_query,monitor_table_list,monitor_table_type_list,monitor_traces_account_list,monitor_traces_field_list,monitor_traces_query_analyze-critical-path,monitor_traces_query_analyze-top-attributes,monitor_traces_query_resume,monitor_traces_query_run,monitor_webtests_get,monitor_workspace_list,monitor_workspace_log_query,monitor_workspace_log_search,sql_db_get,sql_elastic-pool_list,sql_server_entra-admin_list,sql_server_firewall-rule_list,sql_server_get,storage_account_get,storage_blob_container_get,storage_blob_get,storage_disk_diagnose,storage_table_list,subscription_list",
"--",
"npx",
"-y",
"@azure/mcp@4.0.0-beta.10",
"server",
"start",
"--mode",
"all",
"--namespace",
"group",
"--namespace",
"subscription",
"--namespace",
"storage",
"--namespace",
"keyvault",
"--namespace",
"monitor",
"--namespace",
"sql",
"--namespace",
"appservice"
],
"env": {
"AZURE_MCP_COLLECT_TELEMETRY": "false",
"AZURE_MCP_COLLECT_TELEMETRY_MICROSOFT": "false"
}
}
}
}~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"azure": {
"command": "npx",
"args": [
"-y",
"https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz",
"mcp-proxy",
"--name",
"azure",
"--look-only",
"appservice_webapp_deployment_get,appservice_webapp_diagnostic_diagnose,appservice_webapp_diagnostic_list,appservice_webapp_get,group_list,group_resource_list,keyvault_admin_settings_get,keyvault_certificate_get,keyvault_key_get,monitor_activitylog_list,monitor_healthmodels_get,monitor_healthmodels_inspect,monitor_healthmodels_list,monitor_ingestion_validate,monitor_instrumentation_get-learning-resource,monitor_metrics_batchquery,monitor_metrics_definitions,monitor_metrics_query,monitor_resource_log_query,monitor_table_list,monitor_table_type_list,monitor_traces_account_list,monitor_traces_field_list,monitor_traces_query_analyze-critical-path,monitor_traces_query_analyze-top-attributes,monitor_traces_query_resume,monitor_traces_query_run,monitor_webtests_get,monitor_workspace_list,monitor_workspace_log_query,monitor_workspace_log_search,sql_db_get,sql_elastic-pool_list,sql_server_entra-admin_list,sql_server_firewall-rule_list,sql_server_get,storage_account_get,storage_blob_container_get,storage_blob_get,storage_disk_diagnose,storage_table_list,subscription_list",
"--",
"npx",
"-y",
"@azure/mcp@4.0.0-beta.10",
"server",
"start",
"--mode",
"all",
"--namespace",
"group",
"--namespace",
"subscription",
"--namespace",
"storage",
"--namespace",
"keyvault",
"--namespace",
"monitor",
"--namespace",
"sql",
"--namespace",
"appservice"
],
"env": {
"AZURE_MCP_COLLECT_TELEMETRY": "false",
"AZURE_MCP_COLLECT_TELEMETRY_MICROSOFT": "false"
}
}
}
}~/.codex/config.toml[mcp_servers.azure]
command = "npx"
args = ["-y", "https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz", "mcp-proxy", "--name", "azure", "--look-only", "appservice_webapp_deployment_get,appservice_webapp_diagnostic_diagnose,appservice_webapp_diagnostic_list,appservice_webapp_get,group_list,group_resource_list,keyvault_admin_settings_get,keyvault_certificate_get,keyvault_key_get,monitor_activitylog_list,monitor_healthmodels_get,monitor_healthmodels_inspect,monitor_healthmodels_list,monitor_ingestion_validate,monitor_instrumentation_get-learning-resource,monitor_metrics_batchquery,monitor_metrics_definitions,monitor_metrics_query,monitor_resource_log_query,monitor_table_list,monitor_table_type_list,monitor_traces_account_list,monitor_traces_field_list,monitor_traces_query_analyze-critical-path,monitor_traces_query_analyze-top-attributes,monitor_traces_query_resume,monitor_traces_query_run,monitor_webtests_get,monitor_workspace_list,monitor_workspace_log_query,monitor_workspace_log_search,sql_db_get,sql_elastic-pool_list,sql_server_entra-admin_list,sql_server_firewall-rule_list,sql_server_get,storage_account_get,storage_blob_container_get,storage_blob_get,storage_disk_diagnose,storage_table_list,subscription_list", "--", "npx", "-y", "@azure/mcp@4.0.0-beta.10", "server", "start", "--mode", "all", "--namespace", "group", "--namespace", "subscription", "--namespace", "storage", "--namespace", "keyvault", "--namespace", "monitor", "--namespace", "sql", "--namespace", "appservice"]
env = { AZURE_MCP_COLLECT_TELEMETRY = "false", AZURE_MCP_COLLECT_TELEMETRY_MICROSOFT = "false" }~/.gemini/settings.json{
"mcpServers": {
"azure": {
"command": "npx",
"args": [
"-y",
"https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz",
"mcp-proxy",
"--name",
"azure",
"--look-only",
"appservice_webapp_deployment_get,appservice_webapp_diagnostic_diagnose,appservice_webapp_diagnostic_list,appservice_webapp_get,group_list,group_resource_list,keyvault_admin_settings_get,keyvault_certificate_get,keyvault_key_get,monitor_activitylog_list,monitor_healthmodels_get,monitor_healthmodels_inspect,monitor_healthmodels_list,monitor_ingestion_validate,monitor_instrumentation_get-learning-resource,monitor_metrics_batchquery,monitor_metrics_definitions,monitor_metrics_query,monitor_resource_log_query,monitor_table_list,monitor_table_type_list,monitor_traces_account_list,monitor_traces_field_list,monitor_traces_query_analyze-critical-path,monitor_traces_query_analyze-top-attributes,monitor_traces_query_resume,monitor_traces_query_run,monitor_webtests_get,monitor_workspace_list,monitor_workspace_log_query,monitor_workspace_log_search,sql_db_get,sql_elastic-pool_list,sql_server_entra-admin_list,sql_server_firewall-rule_list,sql_server_get,storage_account_get,storage_blob_container_get,storage_blob_get,storage_disk_diagnose,storage_table_list,subscription_list",
"--",
"npx",
"-y",
"@azure/mcp@4.0.0-beta.10",
"server",
"start",
"--mode",
"all",
"--namespace",
"group",
"--namespace",
"subscription",
"--namespace",
"storage",
"--namespace",
"keyvault",
"--namespace",
"monitor",
"--namespace",
"sql",
"--namespace",
"appservice"
],
"env": {
"AZURE_MCP_COLLECT_TELEMETRY": "false",
"AZURE_MCP_COLLECT_TELEMETRY_MICROSOFT": "false"
}
}
}
}cline_mcp_settings.json (Configure MCP Servers){
"mcpServers": {
"azure": {
"command": "npx",
"args": [
"-y",
"https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz",
"mcp-proxy",
"--name",
"azure",
"--look-only",
"appservice_webapp_deployment_get,appservice_webapp_diagnostic_diagnose,appservice_webapp_diagnostic_list,appservice_webapp_get,group_list,group_resource_list,keyvault_admin_settings_get,keyvault_certificate_get,keyvault_key_get,monitor_activitylog_list,monitor_healthmodels_get,monitor_healthmodels_inspect,monitor_healthmodels_list,monitor_ingestion_validate,monitor_instrumentation_get-learning-resource,monitor_metrics_batchquery,monitor_metrics_definitions,monitor_metrics_query,monitor_resource_log_query,monitor_table_list,monitor_table_type_list,monitor_traces_account_list,monitor_traces_field_list,monitor_traces_query_analyze-critical-path,monitor_traces_query_analyze-top-attributes,monitor_traces_query_resume,monitor_traces_query_run,monitor_webtests_get,monitor_workspace_list,monitor_workspace_log_query,monitor_workspace_log_search,sql_db_get,sql_elastic-pool_list,sql_server_entra-admin_list,sql_server_firewall-rule_list,sql_server_get,storage_account_get,storage_blob_container_get,storage_blob_get,storage_disk_diagnose,storage_table_list,subscription_list",
"--",
"npx",
"-y",
"@azure/mcp@4.0.0-beta.10",
"server",
"start",
"--mode",
"all",
"--namespace",
"group",
"--namespace",
"subscription",
"--namespace",
"storage",
"--namespace",
"keyvault",
"--namespace",
"monitor",
"--namespace",
"sql",
"--namespace",
"appservice"
],
"env": {
"AZURE_MCP_COLLECT_TELEMETRY": "false",
"AZURE_MCP_COLLECT_TELEMETRY_MICROSOFT": "false"
}
}
}
}~/.config/zed/settings.json{
"context_servers": {
"azure": {
"command": "npx",
"args": [
"-y",
"https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz",
"mcp-proxy",
"--name",
"azure",
"--look-only",
"appservice_webapp_deployment_get,appservice_webapp_diagnostic_diagnose,appservice_webapp_diagnostic_list,appservice_webapp_get,group_list,group_resource_list,keyvault_admin_settings_get,keyvault_certificate_get,keyvault_key_get,monitor_activitylog_list,monitor_healthmodels_get,monitor_healthmodels_inspect,monitor_healthmodels_list,monitor_ingestion_validate,monitor_instrumentation_get-learning-resource,monitor_metrics_batchquery,monitor_metrics_definitions,monitor_metrics_query,monitor_resource_log_query,monitor_table_list,monitor_table_type_list,monitor_traces_account_list,monitor_traces_field_list,monitor_traces_query_analyze-critical-path,monitor_traces_query_analyze-top-attributes,monitor_traces_query_resume,monitor_traces_query_run,monitor_webtests_get,monitor_workspace_list,monitor_workspace_log_query,monitor_workspace_log_search,sql_db_get,sql_elastic-pool_list,sql_server_entra-admin_list,sql_server_firewall-rule_list,sql_server_get,storage_account_get,storage_blob_container_get,storage_blob_get,storage_disk_diagnose,storage_table_list,subscription_list",
"--",
"npx",
"-y",
"@azure/mcp@4.0.0-beta.10",
"server",
"start",
"--mode",
"all",
"--namespace",
"group",
"--namespace",
"subscription",
"--namespace",
"storage",
"--namespace",
"keyvault",
"--namespace",
"monitor",
"--namespace",
"sql",
"--namespace",
"appservice"
],
"env": {
"AZURE_MCP_COLLECT_TELEMETRY": "false",
"AZURE_MCP_COLLECT_TELEMETRY_MICROSOFT": "false"
}
}
}
}- Add context_servers next to your other settings in the same file.
Already have it in Claude Desktop? One command rewrites the file for you, with these look-only tools filled in, and keeps the old one (setup vscode does the same for VS Code; how it works):
npx -y https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz setup claude-desktopThe same in Claude Code, instead of the hook. The proxy now asks about every call that matters, so an allow rule for the whole server, mcp__azure, keeps Claude Code from asking a second time in the terminal:
claude mcp add azure -e AZURE_MCP_COLLECT_TELEMETRY=false -e AZURE_MCP_COLLECT_TELEMETRY_MICROSOFT=false -- npx -y https://variantgate.com/sdk/variantgate-agent-0.19.0.tgz mcp-proxy --name azure --look-only appservice_webapp_deployment_get,appservice_webapp_diagnostic_diagnose,appservice_webapp_diagnostic_list,appservice_webapp_get,group_list,group_resource_list,keyvault_admin_settings_get,keyvault_certificate_get,keyvault_key_get,monitor_activitylog_list,monitor_healthmodels_get,monitor_healthmodels_inspect,monitor_healthmodels_list,monitor_ingestion_validate,monitor_instrumentation_get-learning-resource,monitor_metrics_batchquery,monitor_metrics_definitions,monitor_metrics_query,monitor_resource_log_query,monitor_table_list,monitor_table_type_list,monitor_traces_account_list,monitor_traces_field_list,monitor_traces_query_analyze-critical-path,monitor_traces_query_analyze-top-attributes,monitor_traces_query_resume,monitor_traces_query_run,monitor_webtests_get,monitor_workspace_list,monitor_workspace_log_query,monitor_workspace_log_search,sql_db_get,sql_elastic-pool_list,sql_server_entra-admin_list,sql_server_firewall-rule_list,sql_server_get,storage_account_get,storage_blob_container_get,storage_blob_get,storage_disk_diagnose,storage_table_list,subscription_list -- npx -y @azure/mcp@4.0.0-beta.10 server start --mode all --namespace group --namespace subscription --namespace storage --namespace keyvault --namespace monitor --namespace sql --namespace appserviceWhen the agent should write
Deleting a database or a server, renaming or scaling one, and changing a firewall rule should each wait for a person, and so should changing an app’s settings. The person who answers sees the server, the database and the address range, so a rule from 0.0.0.0 to 255.255.255.255 is easy to catch. Keep storage_blob_upload on ask even when everything else is allowed: it is the one tool here that sends a file from your machine out, and the server never questions which file.
See it before you decide.
The playground runs the whole approval loop in your browser, no account needed. When it fits, the free plan covers 100 requests a month.