Confidential guide on numerology and astrology, based of GG33 Public information

Azure-Resource-Graph-MCP-Server
Serveur de protocole de contexte modèle (MCP) qui donne accès aux requêtes de graphe de ressources Azure. Il vous permet de récupérer des informations sur les ressources Azure sur vos abonnements à l'aide de requêtes de graphique de ressources.
3 years
Works with Finder
1
Github Watches
0
Github Forks
3
Github Stars
Demo
Flow
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.
Features
- 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
Prerequisites
- Node.js installed
- Azure subscription
- Azure CLI installed and logged in, or other Azure credentials configured
Running the MCP Server
You can run the MCP server using either Cursor IDE or Visual Studio Code.
Option 1: Cursor IDE Integration
To integrate the MCP server with Cursor IDE:
- Clone this repository to your local machine (e.g.,
C:\YOUR_WORKSPACE\azure-resource-graph-mcp-server
) - Build the project:
npm install
npm run build
- Open Cursor Settings (JSON) and add the following configuration:
{
"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.
- Restart Cursor IDE to apply the changes
Option 2: VS Code Integration
To integrate the MCP server with Visual Studio Code:
- Clone this repository to your local machine
- Build the project:
npm install
npm run build
- Open VS Code Settings (JSON) by pressing
Ctrl+Shift+P
, type "Settings (JSON)" and select "Preferences: Open User Settings (JSON)" - Add the following configuration:
{
"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.
- Save the settings.json file
- Restart VS Code to apply the changes
The MCP server will now be available to use within VS Code with cursor integration.
Usage
The server provides the following tool:
query-resources
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")
Environment Setup
-
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:
- Copy
.env.example
to.env
- Update
AZURE_SUBSCRIPTION_ID
in.env
with your actual subscription ID - Other variables (
AZURE_TENANT_ID
,AZURE_CLIENT_ID
,AZURE_CLIENT_SECRET
) are optional when using Azure CLI authentication
- Copy
-
Make sure you have proper Azure credentials configured. The server uses DefaultAzureCredential which supports:
- Azure CLI
- Managed Identity
- Visual Studio Code credentials
- Environment variables
-
If using environment variables, set up:
- AZURE_SUBSCRIPTION_ID
- AZURE_TENANT_ID
- AZURE_CLIENT_ID
- AZURE_CLIENT_SECRET
Error Handling
The server includes robust error handling for:
- Azure client initialization failures
- Query execution errors
- Invalid queries or parameters
Development
To work on this project:
- Make changes in the
src
directory - Build using
npm run build
- Test your changes by running the server
License
This project is licensed under the MIT License. See the LICENSE file for details.
相关推荐
Advanced software engineer GPT that excels through nailing the basics.
I find academic articles and books for research and literature reviews.
Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.
Delivers concise Python code and interprets non-English comments
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
La communauté du curseur et de la planche à voile, recherchez des règles et des MCP
🔥 1Panel fournit une interface Web intuitive et un serveur MCP pour gérer des sites Web, des fichiers, des conteneurs, des bases de données et des LLM sur un serveur Linux.
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)
Reviews

user_95JkfPYc
As a devoted user of MCP applications, I find the azure-resource-graph-mcp-server to be an incredibly valuable tool. Authored by hardik-id, this server allows for seamless querying and analysis of Azure resources. The implementation is smooth, and it greatly enhances productivity by providing comprehensive insights into resource management. Highly recommended for anyone managing Azure infrastructure! Check it out: https://github.com/hardik-id/azure-resource-graph-mcp-server.