Agent-Native Calendar
Agent-Native Google Calendar - manage events, sync, and public booking
作者提供的说明(英文原文)
Microsoft Graph MCP server — 85 tools for mail, calendar, Teams, files, SharePoint, and Entra ID
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"ms-graph": {
"command": "uvx",
"args": [
"ms-graph-mcp"
]
}
}
}在终端中运行这条命令
claude mcp add ms-graph -- uvx ms-graph-mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"ms-graph": {
"command": "uvx",
"args": [
"ms-graph-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"ms-graph": {
"type": "stdio",
"command": "uvx",
"args": [
"ms-graph-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 nitin27may 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.3.0)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Agent-Native Google Calendar - manage events, sync, and public booking
Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.
Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Releases · Changelog
A Model Context Protocol server for Microsoft Graph — 85 tools across mail, calendar, meetings (including transcripts), Teams chat, files, SharePoint, search, people, contacts, directory, tasks and OneNote, over stdio or Streamable HTTP.
Signs you in with your own Microsoft account — browser SSO, no token to paste, no client secret.
httpx2, so the dependency tree stays small and the wire behaviour is inspectable.Status: early. Extracted from a production agent platform where it has been running against a
real tenant. The code is battle-tested; the packaging and public API surface are newer. Expect the
config surface to move before 1.0.
Requires Python 3.12+. Two paths — pick the one that matches what you want to do.
Nothing to clone. uv runs it straight from PyPI:
uvx --from ms-graph-mcp ms-graph-mcp # stdio, for an MCP client
uvx --from ms-graph-mcp ms-graph-mcp-http # Streamable HTTP
or install it into an environment:
pip install ms-graph-mcp
Release candidates are published too. pip skips them unless you ask:
pip install --pre ms-graph-mcp # newest, including candidates
pip install ms-graph-mcp==0.3.0rc1 # a specific one; no --pre needed for an exact pin
A container image is on GHCR for the HTTP transport — see docs/hosting.md.
Also listed on the official MCP registry as io.github.nitin27may/ms-graph-mcp.
TestPyPI is not a distribution channel. Every release is published there first, but that is a
rehearsal of the publishing process: it can be wiped without notice and does not mirror PyPI, so
installing from it needs
--extra-index-url https://pypi.org/simple/just to resolve ordinary
dependencies. Use PyPI, or
--pre.
For hacking on it, forking it, or running an unreleased change:
git clone https://github.com/nitin27may/ms-graph-mcp
cd ms-graph-mcp uv sync # creates .venv and installs everything uv run ms-graph-mcp # check it starts
uv sync is the only setup step. See CONTRIBUTING.md before opening a pull request — the tool allowlists and the tier separation have invariants that are enforced rather than advisory.
To point an MCP client at your clone, you need its absolute path — clients do not inherit your working directory and most do not expand ~:
cd ms-graph-mcp && pwd
Then use the source form of the config in Configure your MCP client below.
You need an Entra ID app registration — about two minutes. Do not create a client secret: this registers as a *public client*, which signs you in through your browser using PKCE. A secret on a program running on your own machine would be readable by anyone with the config file, which is why the flow is designed not to need one. Nothing goes into a config file except two ids, neither of which is sensitive.
In the Entra portal → App registrations → New registration:
ms-graph-mcphttp://localhostLeave Certificates & secrets alone — you do not need anything from it.
Then, on the new app:
User.Read Mail.Read Calendars.Read Files.Read.All
People.Read Chat.Read Tasks.Read Notes.Read Contacts.Read
The complete copy-paste consent sets — and which permission each individual tool needs — are in docs/permissions.md.
Copy the Application (client) ID and Directory (tenant) ID from the Overview page. That is everything you need.
Every MCP client that speaks stdio takes the same three things — a command, its arguments, and an environment block:
{
"command": "uvx", "args": ["--from", "ms-graph-mcp", "ms-graph-mcp"], "env": { "GRAPH_MCP_CLIENT_ID": " ", "GRAPH_MCP_TENANT_ID": " " } }
Where that block goes, and what the surrounding key is called, differs:
| Client | Config file | Key |
|---|---|---|
| VS Code | .vscode/mcp.json (workspace), or MCP: Open User Configuration | servers |
| Claude Code | claude mcp add … — no file to edit | — |
| Claude Desktop | macOS ~/Library/Application Support/Claude/claude_desktop_config.json · Windows %APPDATA%\Claude\claude_desktop_config.json | mcpServers |
| Cursor | .cursor/mcp.json (project) or ~/.cursor/mcp.json (global) | mcpServers |
| Windsurf | ~/.codeium/windsurf/mcp_config.json | mcpServers |
| MCP Inspector | command line, -e flags | — |
The first sign-in opens your browser for normal Microsoft 365 SSO — including MFA and conditional access. The result is cached in ~/.ms-graph-mcp/token_cache.json, owner-readable only, so it does not prompt again.
{
"inputs": [ { "id": "clientId", "type": "promptString", "description": "Entra application (client) ID" }, { "id": "tenantId", "type": "promptString", "description": "Entra directory (tenant) ID" } ], "servers": { "ms-graph": { "type": "stdio", "command": "uvx", "args": ["--from", "ms-graph-mcp", "ms-graph-mcp"], "env": { "GRAPH_MCP_CLIENT_ID": "${input:clientId}", "GRAPH_MCP_TENANT_ID": "${input:tenantId}" } } } }
Reload the window. VS Code prompts once for the two ids and remembers them, so this file is safe to commit. Open the Chat view, switch to Agent mode, and the tools appear under the tools picker — that is the panel in the screenshot above. Confirm with MCP: List Servers, which shows status and output if it does not connect.
claude mcp add ms-graph \
--env GRAPH_MCP_CLIENT_ID= \ --env GRAPH_MCP_TENANT_ID= \ -- uvx --from ms-graph-mcp ms-graph-mcp
Confirm with /mcp inside Claude Code — it lists the server and its tools.
{
"mcpServers": { "ms-graph": { "command": "uvx", "args": ["--from", "ms-graph-mcp", "ms-graph-mcp"], "env": { "GRAPH_MCP_CLIENT_ID": " ", "GRAPH_MCP_TENANT_ID": " " } } } }
Confirm by quitting Claude Desktop fully — not just closing the window — reopening it, and looking for the tools icon in the composer.
Both use the same mcpServers shape as Claude Desktop, in the file named in the table above.
The quickest way to check the server independently of any client:
npx @modelcontextprotocol/inspector \
uvx --from ms-graph-mcp ms-graph-mcp \ -e GRAPH_MCP_CLIENT_ID= \ -e GRAPH_MCP_TENANT_ID=
Needs Node 22.19+. It opens a browser UI where you can list tools and call them by hand — worth doing before blaming your client. There is a scriptable --cli mode too; see docs/testing.md.
Pass variables with `-e`, not from your shell. Inspector does not give the server it spawns
your environment, so
GRAPH_MCP_CLIENT_ID=… npx @modelcontextprotocol/inspector …starts the
server with *no* client id. The
-eflags go after the server command.
Same blocks as above — swap the command and args for your clone's absolute path:
"command": "uv",
"args": ["run", "--directory", "/Users/you/workspace/ms-graph-mcp", "ms-graph-mcp"]
Two things catch people out here:
`uv` must be on the client's PATH. GUI apps launched from Finder or the Dock do not inherit your shell's PATH, so a client can fail to start the server with an unhelpful error. If that happens, put the output of which uv in "command" instead of the bare name.
`--directory` is not optional. Without it, uv run resolves against whatever directory the client happened to launch from, which will not be the project.
docs/troubleshooting.md covers the Entra errors, Conditional Access, corporate TLS proxies, and the "server disconnected" that is almost always a startup error your client is hiding.
Two settings get you running; everything else has a working default.
| Env var | Purpose |
|---|---|
GRAPH_MCP_CLIENT_ID | Entra application (client) id. Enables interactive sign-in. |
GRAPH_MCP_TENANT_ID | Entra directory (tenant) id. Defaults to common. |
GRAPH_MCP_SCOPES | Comma-separated delegated scopes to request. Defaults to a read-only set. |
GRAPH_MCP_TOOLSETS | Which tool profiles to expose. Defaults to core. See below. |
GRAPH_MCP_WRITE_SCOPE | true to expose the 23 write tools. Default off. |
GRAPH_MCP_READ_ONLY | true to remove the write tier from the deployment entirely. |
GRAPH_MCP_LOG_LEVEL | INFO logs every Graph call to stderr. Defaults to WARNING. |
Every setting, both deployment shapes, and the hosted/OBO options are in docs/configuration.md. For running it as a service, see docs/hosting.md.
85 tools is a lot to put in front of a model. GRAPH_MCP_TOOLSETS selects named profiles, each a group of
只显示了开头部分;其余内容请在仓库中阅读