Azure Resource Graph MCP Server

This is a Model Context Protocol (MCP) server that provides access to Azure Resource Graph queries. It allows you to retrieve information about Azure

Local serverstdio

What is the Azure Resource Graph MCP Server?

This is a Model Context Protocol (MCP) server that provides access to Azure Resource Graph queries. It allows you to retrieve information about Azure resources

What it actually does

  • Query Azure resources using Resource Graph queries
  • Default query returns resource ID, name, type, and location
  • Supports custom Resource Graph queries
  • Uses Azure DefaultAzureCredential for authentication

Configuration

  • Node.js installed - Azure subscription - Azure CLI installed and logged in, or other Azure credentials configured

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Azure Resource Graph MCP Server

{
  "mcpServers": {
    "azure-resource-graph": {
      "command": "npx",
      "args": ["-y", "npm"],
      "env": {
        "SUBSCRIPTION_ID": "your-value",
        "AZURE_SUBSCRIPTION_ID": "your-value",
        "AZURE_TENANT_ID": "your-value",
        "AZURE_CLIENT_ID": "your-value",
        "AZURE_CLIENT_SECRET": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Node.js installed - Azure subscription - Azure CLI installed and logged in, or other Azure credentials configured
VariableDescriptionRequired
SUBSCRIPTION_IDConfiguration value read at startup.Optional
AZURE_SUBSCRIPTION_IDConfiguration value read at startup.Optional
AZURE_TENANT_IDConfiguration value read at startup.Optional
AZURE_CLIENT_IDConfiguration value read at startup.Optional
AZURE_CLIENT_SECRETCredential the server authenticates with.Yes

Frequently asked questions

This is a Model Context Protocol (MCP) server that provides access to Azure Resource Graph queries. It allows you to retrieve information about Azure resources Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.