MCP server enabling AI agents to query and analyze Azure resources at scale via Azure Resource Graph.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
One-click editor setup isn’t available for this listing yet — we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.
Inspect callable tools, capabilities, and parameters exposed to AI agents by 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 across your subscriptions using Resource Graph queries.
You can run the MCP server using either Cursor IDE or Visual Studio Code.
To integrate the MCP server with Cursor IDE:
C:\YOUR_WORKSPACE\azure-resource-graph-mcp-server)Note: Make sure to update the path to match your local repository location.
To integrate the MCP server with Visual Studio Code:
Ctrl+Shift+P, type "Settings (JSON)" and select "Preferences: Open User Settings (JSON)"Note: Make sure to update the path to match your local repository location.
The MCP server will now be available to use within VS Code with cursor integration.
The server provides the following tool:
Retrieves resources and their details from Azure Resource Graph.
Parameters:
subscriptionId (optional): Azure subscription ID (defaults to configured ID)query (optional): Custom Resource Graph query (defaults to "Resources | project id, name, type, location")First, make sure you're logged in to Azure CLI by running:
This step is crucial for local development as the DefaultAzureCredential will automatically use your Azure CLI credentials.
Set up your environment variables:
.env.example to .envAZURE_SUBSCRIPTION_ID in .env with your actual subscription IDAZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET) are optional when using Azure CLI authenticationMake sure you have proper Azure credentials configured. The server uses DefaultAzureCredential which supports:
If using environment variables, set up:
The server includes robust error handling for:
To work on this project:
src directorynpm run buildThis project is licensed under the MIT License. See the LICENSE file for details.
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/hardik-id-azure-resource-graph-mcp-server)<a href="https://allmcps.com/mcp/hardik-id-azure-resource-graph-mcp-server"><img src="https://allmcps.com/api/badge/hardik-id-azure-resource-graph-mcp-server?style=directory" alt="Azure Resource Graph MCP Server on AllMCPs" /></a>