- Home
- MCP servers
- Azure Resource
Azure Resource
- python
3
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"tim10002-mcp-azresource": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/FOLDER",
"run",
"-m",
"azure_resource_mcp_server"
],
"env": {
"AZURE_CLIENT_ID": "your-client-id",
"AZURE_TENANT_ID": "your-tenant-id",
"AZURE_CLIENT_SECRET": "your-client-secret",
"AZURE_SUBSCRIPTION_ID": "your-subscription-id"
}
}
}
}You can discover and analyze your Azure resources directly from any MCP client with this Azure Resource MCP Server. It lists resources across subscriptions, supports filtering, and retrieves cost data securely using your Azure service principal credentials, all within your existing workflow.
How to use
Use this MCP server to browse Azure resources, filter by resource group names, and fetch cost analysis data without leaving your MCP client. You will connect to the server via an MCP implementation that supports HTTP or stdio endpoints. The server exposes two primary tools: a resource discovery tool to list resources and a cost analysis tool to retrieve Azure costs.
How to install
Prerequisites you need before starting this server:
- Python 3.10+
- Azure subscription with appropriate permissions
- Azure service principal with reader access to resources
Follow these concrete steps to install and run the server with the UV runtime.
# Setup environment with uv
uv venv
.venv\Scripts\activate # On Windows
source .venv/bin/activate # On macOS/Linux
# Install dependencies
uv add mcp[cli] azure-identity python-dotenv azure-mgmt-resource aiohttp
# Run server
uv run -m azure_resource_mcp_server
Available tools
list_azure_resources
List Azure resource groups and resources using service principal authentication, returning a formatted markdown list with details like location, type, and tags.
get_azure_costs_rest
Fetch cost analysis data for an Azure subscription via REST API, returning a formatted markdown with daily costs and totals.