
Minerva MCP — Microsoft 365 & Azure
io.github.HoussemMak由 GitHub 账号 HoussemMak 发布v0.4.2更新于 Oct 24, 2026
Microsoft 365 & Azure admin: Graph, ARM, and the PowerShell cmdlets Graph does not expose.
发布方自己的服务:Microsoft Learn MCP
概览
一个 MCP 服务器,让 AI 助手通过 Graph、ARM 和 PowerShell cmdlet 查询并管理 Microsoft 365 租户与 Azure 订阅。
- 可以做什么
- 调用 Microsoft Graph 和 Azure Resource Manager 端点,并执行统一的 Microsoft Search 查询,包括可调用任意 v1.0 或 beta Graph 路径及任意 ARM 路径的通用工具。读取租户上下文,例如组织信息、许可证和 Secure Score,并生成租户安全态势报告。运行 Exchange Online cmdlet,处理邮箱权限、传输规则、邮件跟踪和保留策略等 Graph 没有对应接口的操作。运行 SharePoint/PnP、Teams 管理员和 Purview 合规 cmdlet。按风险对每个操作分类,并在写入执行前暂停等待人工确认。
- 适用场景
- 当助手需要检查或管理 Microsoft 365 和 Azure 时使用,尤其是那些没有 Graph API、只能通过 PowerShell 完成的任务,例如邮箱权限、邮件跟踪、敏感度标签、Teams 通话策略或 SharePoint 术语库。如果仅靠 Graph 就能满足需求,则不必安装。
- 运行要求
- Node.js 20+。使用 PowerShell 工具还需要 PowerShell 7+ 及相应模块(ExchangeOnlineManagement、PnP.PowerShell、MicrosoftTeams)。默认通过 stderr 上的设备代码进行交互式登录;无人值守的应用专用登录需要 AZURE_CLIENT_ID、AZURE_CLIENT_SECRET 和 AZURE_TENANT_ID。本地运行 SharePoint/PnP 工具需要 MINERVA_SHAREPOINT_URL。需要访问 Microsoft 端点的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Minerva MCP — Microsoft 365 & Azure,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Minerva MCP
Microsoft 365 and Azure administration for AI assistants — including the parts Microsoft Graph cannot reach.
[CI] [License: MIT] [MCP 2026-07-28]
An MCP server that lets Claude, Copilot, VS Code or any MCP client query and administer a Microsoft 365 tenant in plain language.
Why another Microsoft 365 MCP server?
There are already good ones, and this is not trying to replace them.
If you only need Graph, use Lokka or ms-365-mcp-server. They are excellent, more mature, and more widely used. Lokka in particular is written by a Microsoft Entra product manager.
Reach for this one when you hit the wall everyone hits eventually: a large part of Microsoft 365 administration has no Graph API. Mailbox permissions, transport rules, message trace, retention policies, sensitivity labels, Teams calling policies, SharePoint term stores, tenant-wide Exchange settings — those live in PowerShell and nowhere else. This server exposes them, with a risk classification and a confirmation step in front of anything that writes.
How it fits together
Reads go straight through. Writes stop at a classifier, come back to you as an
input_required describing the action and its consequences, and only run once
you confirm. Microsoft still has the final word: the server forwards a token, it
never grants access.
Install
Nothing to clone. Add it to your client and sign in on first use.
Claude Desktop
claude_desktop_config.json:
VS Code
.vscode/mcp.json:
More, including read-only and app-only setups, in examples/.
On the first tool call the server prints a device-code prompt on stderr: open the link, enter the code, done. No app registration needed to try it — it uses the public Microsoft Graph PowerShell client by default.
Requirements: Node.js 20+. For the PowerShell tools, PowerShell 7+
and the modules you intend to use (ExchangeOnlineManagement, PnP.PowerShell,
MicrosoftTeams).
What you can ask
"Which mailboxes have full access delegated to someone outside their department?" →
execute_exchange_onlinewithGet-MailboxPermission, no Graph equivalent exists.
"Show me every conditional access policy that does not require MFA, and our Secure Score." →
generate_security_report+microsoft_graph_call.
"Create a shared mailbox for invoicing and give the finance team access." → classified as a write: the server describes the action and its consequences, and waits for your confirmation before doing anything.
Tools
Restrict the surface with --tools=microsoft_graph_call,get_tenant_context, or
forbid every write with --read-only.
Approval, and why it is not optional
A model reads untrusted content — an email subject, a site name, a document — and decides which tool to call. Prompt injection is not hypothetical, and the tools here can delete mailboxes.
So writes do not simply execute. Every action is classified auto, confirmed
or critical from the HTTP verb and path (or the PowerShell verb). Anything
above auto makes the server answer input_required under
MCP's Multi Round-Trip Requests:
your client shows what is about to happen and its consequences, you confirm, and
only then does it run.
The confirmation is a signed mandate (HMAC) bound to the caller, the method, and
a digest of the arguments, valid five minutes. A mandate obtained to delete
/users/1 cannot be replayed on /users/999, and cannot be presented by anyone
else.
If your client does not support elicitation, nothing is silently executed: the server returns an error saying the action needs confirmation.
Options
Every flag has an environment variable equivalent.
Transport
In stdio mode all logs go to stderr — stdout belongs to the protocol.
Authentication
Defaults: bearer over HTTP (the caller supplies the token), device-code over
stdio, client-secret as soon as a secret is present. Each resource gets its own
token: Graph, ARM, Exchange, Purview, SharePoint and Teams do not share an
audience.
Scope
--read-only reuses the same risk classifier as the approval gate, so it covers
PowerShell cmdlets too, not just HTTP verbs.
Protocol support
Speaks MCP 2026-07-28, and still serves handshake-era clients until 2027-07-28.
One endpoint serves both generations; the request body decides which. Both read the same tool registry, and a test compares them against a frozen contract so they cannot drift.
Security
Read SECURITY.md before deploying. The three things that matter:
- This server grants nothing. It forwards a Microsoft token; Microsoft authorizes. A restricted token gives a restricted server.
- Graph tokens cannot be verified by a third party — they carry a
nonceheader that only Graph can check. Theirtid/oidclaims are therefore self-reported. The server validates them structurally, flags themverified: false, and binds approval mandates to a fingerprint of the token itself rather than to the claims alone. A token that should have verified and did not is rejected. - Local PowerShell mode isolates nothing. Cmdlets run with the current user's rights. Do not expose it to a caller you do not trust.
Cmdlet names and parameters never reach the script as code: they travel through
environment variables, the name is validated against a strict Verb-Noun
pattern, and the call goes through Get-Command plus the call operator.
Report a vulnerability privately — see SECURITY.md.
What this does not do
- No process isolation in local mode.
- No multi-tenant brokering — one server, one identity.
- No signed audit ledger. Audit events are JSON on stderr, not a signed, offline-verifiable record.
Those three belong to Minerva-IA, the commercial platform this server was extracted from. Everything in this repository works without it.
Development
Tests need no credentials and touch no network.
Pull requests are closed until 2027-07-31 — see CONTRIBUTING.md for why, and for what is welcome in the meantime (bug reports very much are).
Licence
MIT — see LICENSE.
来源:README.md,提交 d4b4096
工具
0版本历史
1- v0.4.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Microsoft 集成

Microsoft Learn MCP
com.microsoft官方发布者
远程 MCP 服务器,让助手搜索、阅读并引用微软与 Azure 官方文档和代码示例。

Playwright Cloud Browsers
com.microsoft官方发布者
远程 MCP 服务器,为 AI 智能体提供托管的 Playwright 云端浏览器,可创建会话、访问并检查页面、与页面元素交互。

Microsoft Sentinel Data Exploration
com.microsoft官方发布者
远程 Microsoft Sentinel MCP 服务器,让助手用自然语言查找相关表并从 Sentinel 数据湖检索安全数据。

L50 Microsoft Fix
由 GitHub 账号 lewisororke 发布
远程 MCP 服务器,解码 Windows、Microsoft 365、Entra、Intune 和 Azure 错误码,并给出原因、修复步骤、故障状态和升级工单。

Microsoft Ads Library Scraper
由 GitHub 账号 Monkeydscraping 发布
远程 Apify MCP 服务器,让助手按关键词、广告主或域名抓取 Microsoft(Bing)广告库中的广告,含文案、落地页和日期。