Azure Resource MCP Server
Azure リソース MCP サーバー
この MCP サーバーは、任意の MCP クライアントから直接 Azure リソースを一覧表示およびクエリするためのツールを提供するため、ワークフローを離れることなく Azure インフラストラクチャを効率的に参照し、コストを分析できます。
これは、Azure リソースをクエリする方法の例です。
これは、Azure コストを照会する方法の例です。
特徴
📊リソース検出- Azure サブスクリプション全体のすべてのリソースを一覧表示します
🔍フィルタリング- リソースグループ名でリソースをフィルタリングする
💰コスト分析- Azure サブスクリプションのコスト情報を取得します
🔐安全- Azure サービス プリンシパルの資格情報を使用します
🏷️詳細表示- すべてのリソースの場所、種類、タグを確認できます
Related MCP server: Azure FinOps MCP Server
ツール
Azureリソースの一覧
サービス プリンシパル認証を使用して Azure リソース グループとリソースを一覧表示する
入力:
subscription_id(文字列、オプション): 照会するサブスクリプションID。指定されていない場合は、環境変数から取得されたデフォルトのサブスクリプションが使用されます。resource_group_filter(文字列、オプション): リソース グループを名前でフィルターします (大文字と小文字は区別されず、一致するものが含まれます)。
返される値: 場所、タイプ、タグなどの詳細を含む、リソース グループとそのリソースのフォーマットされたマークダウン リスト。
get_azure_costs_rest
REST API を使用して Azure サブスクリプションのコスト分析データを取得する
入力:
subscription_id(文字列、オプション): 照会するサブスクリプションID。指定されていない場合は、環境変数から取得されたデフォルトのサブスクリプションが使用されます。timeframe(文字列、オプション):コスト分析の期間。デフォルトは「MonthToDate」です。
戻り値: 日次コストや合計などのコスト分析データを含むフォーマットされたマークダウン。
構成
Azureのセットアップ
認証用の Azure サービス プリンシパルを作成します。
az ad sp create-for-rbac --name {service principal name}サービスプリンシパルに適切なリーダー権限を割り当てる
AzureサブスクリプションID、テナントID、クライアントID、クライアントシークレットをメモします。
必要な環境変数を設定する
環境変数
このサーバーには次の環境変数が必要です。
# Required Azure authentication
AZURE_TENANT_ID=your-tenant-id
AZURE_CLIENT_ID=your-client-id
AZURE_CLIENT_SECRET=your-client-secret
AZURE_SUBSCRIPTION_ID=your-subscription-idインストール
前提条件
Python 3.10以上
適切な権限を持つ Azure サブスクリプション
リソースへの読み取りアクセス権を持つサービス プリンシパル
設定
uv を使用する場合:
# 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_serverClaude Desktopでの使用
Claude Desktop で使用するには、構成ファイルに以下を追加します。
{
"mcpServers": {
"azure-resource": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/FOLDER",
"run",
"-m",
"azure_resource_mcp_server"
],
"env": {
"AZURE_TENANT_ID": "your-tenant-id",
"AZURE_CLIENT_ID": "your-client-id",
"AZURE_CLIENT_SECRET": "your-client-secret",
"AZURE_SUBSCRIPTION_ID": "your-subscription-id"
}
}
}
}This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceAn MCP server that wraps the Azure CLI. As LLMs are very good at generating Azure CLI commands, this server allows your LLM to list resources, update/create/delete them, fix errors (by looking at the logs), fix security issues...81
- AlicenseNot gradedqualityDmaintenanceAnalyzes Azure cloud costs, audits for waste, and provides budget insights via natural language through a secure local MCP server.2MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that exposes core Azure services as read-mostly tools any MCP client can call, including Blob Storage, Key Vault, Service Bus, and Resource Manager.1MIT
- FlicenseAqualityDmaintenanceIntegrates Azure Cost Management APIs via MCP, enabling cost queries, forecasts, budgets, and Advisor recommendations through natural language in compatible clients.9
Related MCP Connectors
Official Microsoft MCP Server to query Microsoft Entra data using natural language
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tim10002/mcp-azresource'
If you have feedback or need assistance with the MCP directory API, please join our Discord server