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.
{
"mcpServers": {
"azure-resource-graph-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
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.
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
MIT. View license →
Is it maintained?
Last commit 337 days ago. 17 stars.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationHave you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
MCP Server for GCP environment for interacting with various Observability APIs.
MCP Server for kubernetes management commands
Model Context Protocol (MCP) server for Kubernetes and OpenShift
The power of Claude Code / GeminiCLI / CodexCLI + [Gemini / OpenAI / OpenRouter / Azure / Grok / Ollama / Custom Model / All Of The Above] working as one.
MCP Security Weekly
Get CVE alerts and security updates for Azure Resource Graph Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.


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)npm install
npm run build
{
"mcpServers": {
"azure-resource-graph-mcp-server": {
"command": "node",
"args": [
"C:\\YOUR_WORKSPACE\\azure-resource-graph-mcp-server\\build\\index.js"
],
"env": {
"SUBSCRIPTION_ID": "xxxxxx-xx-xx-xx-xxxxxx"
},
}
}
}
Note: Make sure to update the path to match your local repository location.
To integrate the MCP server with Visual Studio Code:
npm install
npm run build
Ctrl+Shift+P, type "Settings (JSON)" and select "Preferences: Open User Settings (JSON)"{
"mcp": {
"servers": {
"azure-resource-graph": {
"type": "stdio",
"command": "node",
"args": [
"C:\\YOUR_WORKSPACE\\azure-resource-graph-mcp-server\\build\\index.js"
],
"env": {
"SUBSCRIPTION_ID": "xxxxxx-xx-xx-xx-xxxxxx"
},
}
}
}
}
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:
az login
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: