Outlook MCP Server
Enables reading, sending, and managing Microsoft 365/Outlook emails through MCP tools with OAuth 2.1 authentication.
README
Outlook MCP Server
Public Outlook / Microsoft 365 mail MCP server — Streamable HTTP + OAuth 2.1, same architecture as the Salesforce MCP Server. One deployed URL works with:
- Archon AI portal (Managed MCP via Anthropic / OpenAI)
- Claude.ai custom connectors
- ChatGPT custom MCP
- Any standalone MCP client (n8n, Cursor, custom apps) via the PATH B flow
Tools (11)
| Tool | Kind | Description |
|---|---|---|
getProfile |
read | Connected mailbox owner (name, email) |
listEmails |
read | List a folder's messages, filters: unread, sender |
readEmail |
read | Full body of one message |
searchEmails |
read | Full-text search across all folders (KQL) |
listFolders |
read | Folder tree with unread counts |
getAttachments |
read | Attachment names/types/sizes |
sendEmail |
write | Send a new email |
replyEmail |
write | Reply / reply-all in-thread |
createDraft |
write | Draft without sending |
moveEmail |
write | Move to folder / archive / trash |
markEmail |
write | Read/unread + follow-up flag |
Setup
1. Azure app registration (one-time)
- https://entra.microsoft.com → App registrations → New registration
- Supported account types: Accounts in any organizational directory and personal Microsoft accounts
- Redirect URIs (type Web):
https://claude.ai/api/mcp/auth_callback(Claude connector)<BASE_URL>/auth/callback(PATH B standalone)
- API permissions → Microsoft Graph → Delegated:
Mail.Read,Mail.ReadWrite,Mail.Send,User.Read,offline_access - Certificates & secrets → New client secret → copy the Value
2. Run
cp .env.example .env # fill in MS_CLIENT_ID / MS_CLIENT_SECRET / BASE_URL
npm install
npm run dev # http://localhost:3100
3. Deploy (Render)
- Build command:
npm install - Start command:
npm start - Env vars:
BASE_URL(the Render URL),MS_CLIENT_ID,MS_CLIENT_SECRET,MS_TENANT=common,MS_REDIRECT_URI=<BASE_URL>/auth/callback - After deploy, add
<BASE_URL>/auth/callbackto the Azure app's redirect URIs.
Auth paths
PATH A — Bearer header (portals, Claude connector). The client sends
Authorization: Bearer <graph access token> on /mcp. Tokens acquired
through this server's /token proxy get vaulted, enabling server-side
refresh when Graph returns 401 (Graph tokens live ~1 hour).
PATH B — session flow (standalone clients). Visit
<BASE_URL>/auth?session=<id> → Microsoft login → tokens stored server-side
keyed by the stable Microsoft user id.
The /authorize and /token proxies force the real Azure client credentials
so Dynamic Client Registration (Claude invents a random client id) still
works — the only requirement is the client's redirect URI being whitelisted
on the Azure app.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。