
Mcp Azure
io.github.dockndevai由 GitHub 账号 dockndevai 发布v0.3.0更新于 Oct 24, 2026
Azure Resource Manager inventory & ops for AI agents — governed, confirmation-gated.
概览
本地 MCP 服务器,让助手通过 Azure Resource Manager 盘点并操作 Azure 资源,带有访问模式、允许列表和确认机制。
- 可以做什么
- 列出订阅、位置、资源组和资源,并按 ARM id 获取任意资源(只读模式及以上)。在获批区域创建资源组、为资源合并标签,以及启动、停止、重启或解除分配虚拟机(读写模式及以上)。删除资源组和单个资源,需管理员模式、删除开关和输入名称确认。内置治理:访问模式、订阅与资源组允许列表、受保护资源组、位置允许列表、试运行和写入 stderr 的 JSON 审计日志。
- 适用场景
- 适合让助手在聊天客户端中查看或管理 Azure 基础设施,例如列出资源组、给资源打标签或停止虚拟机,同时把代理限制在既定边界内。仅需盘点时使用只读模式即可。
- 运行要求
- 通过 npx 从 npm 包本地运行,需要 Node.js。需要 Entra ID 服务主体:AZURE_TENANT_ID、AZURE_CLIENT_ID 和 AZURE_CLIENT_SECRET,可选 AZURE_SUBSCRIPTION_ID 与 AZURE_MODE。需要访问 Azure Resource Manager 的网络。仅支持桌面客户端。
安装
在 SourceWeft 中
- 打开 控制台中的 Mcp Azure,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
mcp-azure
A Model Context Protocol server for Azure (via the Azure Resource Manager API — the programmatic layer behind the Azure Portal). It lets an MCP-capable client (Claude Desktop, Claude Code, Cursor, Codex, …) inventory and operate Azure resources — with a governance layer that keeps an AI agent inside safe boundaries.
What this offers
- Inventory — list subscriptions, locations, resource groups, and resources; get any resource by ARM id.
- Operations — create resource groups (in approved regions), merge tags onto any resource, and control VM power state (start / stop / restart / deallocate).
- Lifecycle — delete resource groups and individual resources, guarded.
- Governance built in — access modes, subscription/resource-group allowlists, protected resource groups, a location allowlist for new groups, delete gating, typed confirmation for high-impact deletes, dry-run, and JSON audit logging.
Governance & security model
Tools
Read (read-only+): list_subscriptions, list_locations, list_resource_groups, list_resources, get_resource
Write (read-write+): create_resource_group, tag_resource, control_vm
Admin (admin): delete_resource_group, delete_resource (both need AZURE_ALLOW_DELETE + typed confirm)
Quickstart — add to your agent
Published on npm as @dockndevai/mcp-azure. Runs via npx with an Entra ID service principal. See docs/CLIENTS.md for every client and .env.example for all variables.
Claude Code
Claude Desktop · Cursor · Windsurf
Example prompts
- "List all resource groups in my subscription and which region each is in"
- "Show every resource in the rg-web group"
- "Tag the app-plan resource with env=prod and owner=team-a" (needs read-write)
- "Stop the build-agent VM in rg-ci" (needs read-write)
Run from source (development)
Develop
Publishing
Ships a server.json for the official MCP registry and an mcpName for npm ownership validation. See PUBLISHING.md.
License
MIT
来源:README.md,提交 1a5bb0c
工具
0版本历史
2- v0.3.0最新Sep 29, 2026
- v0.2.2Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分