Vexa
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
作者提供的说明(英文原文)
Personal Outlook.com / Hotmail inbox: read, search, file, delete, unsubscribe via Microsoft Graph.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
MAIL_MCP_CLIENT_ID, MAIL_MCP_CACHE_PATH你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"mail": {
"command": "npx",
"args": [
"-y",
"@rixtay/mail-mcp"
],
"env": {
"MAIL_MCP_CLIENT_ID": "your-value",
"MAIL_MCP_CACHE_PATH": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add mail --env MAIL_MCP_CLIENT_ID=your-value --env MAIL_MCP_CACHE_PATH=your-value -- npx -y @rixtay/mail-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"mail": {
"command": "npx",
"args": [
"-y",
"@rixtay/mail-mcp"
],
"env": {
"MAIL_MCP_CLIENT_ID": "your-value",
"MAIL_MCP_CACHE_PATH": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"mail": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@rixtay/mail-mcp"
],
"env": {
"MAIL_MCP_CLIENT_ID": "your-value",
"MAIL_MCP_CACHE_PATH": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
MAIL_MCP_CACHE_PATH env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 Rixtayz 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:MAIL_MCP_CLIENT_ID
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.2)于37天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Vexa, emailmd, MCP WhatsApp Cloud
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.
MCP server for WhatsApp Cloud API (Meta) — messages, media, and templates via Graph API
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A small, focused MCP server that lets Claude (Claude Desktop, Cowork, Claude Code or any MCP client) work on a personal Outlook.com / Hotmail / Live mailbox through Microsoft Graph: read and search mail, file it into folders, delete it, and unsubscribe from newsletters.
Built for one job: clean up an overflowing personal inbox with an AI assistant, safely.
Nine tools, all prefixed mail_:
| Tool | What it does |
|---|---|
mail_list_folders | Folder tree with total / unread counts |
mail_create_folder | Create a folder (idempotent) |
mail_search | List / search messages (sender, date range, unread, full text), paginated |
mail_get_message | Full content of one message + detected unsubscribe options |
mail_senders_summary | Aggregate a whole folder by sender: volume, latest message, available unsubscribe method |
mail_move | Move up to 500 messages to a folder |
mail_delete | Move to Deleted Items by default, permanent: true to purge |
mail_bulk_by_sender | Move or delete every message from one sender (dryRun supported) |
mail_unsubscribe | RFC 8058 one-click POST → mailto: email → otherwise a URL for the assistant to open in a browser |
Design choices:
dryRun.mail_senders_summary scans thousands of messages in a few seconds (1,000-item pages, minimal $select) and only fetches headers for the top senders through $batch.Mail.Send permission is used solely to send mailto: unsubscribe requests.readOnlyHint, destructiveHint, …) so hosts can auto-approve read-only calls.No Azure subscription is needed for a public client app.
Mail-MCPhttp://localhostxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).http://localhost is listed under "Mobile and desktop applications" and Allow public client flows is Yes.Mail.ReadWrite, Mail.Send, User.Read, offline_access. No admin consent is needed; you consent at first sign-in.No client secret is created: the server is a public client using the authorization code flow with PKCE.
No install needed, npx fetches the package from npm (@rixtay/mail-mcp, the installed command is mail-mcp):
MAIL_MCP_CLIENT_ID=<your-client-id> npx -y @rixtay/mail-mcp login
Or from a clone:
git clone https://github.com/Rixtayz/Mail-MCP.git
cd Mail-MCP npm install && npm run build MAIL_MCP_CLIENT_ID= npm run login
The login command opens your system browser, signs you in with Microsoft, then stores the token cache in ~/.mail-mcp/token-cache.json (file mode 600). Tokens refresh silently for 90 rolling days. If a tool ever answers "Token expired", run the same command again.
| Environment variable | Purpose |
|---|---|
MAIL_MCP_CLIENT_ID | Required. Application (client) ID from step 1 |
MAIL_MCP_CACHE_PATH | Optional. Token cache location |
Edit ~/Library/Application Support/Claude/claude_desktop_config.json on macOS (or %APPDATA%\Claude\claude_desktop_config.json on Windows), reachable through Settings → Developer → Edit Config.
{
"mcpServers": { "mail": { "command": "npx", "args": ["-y", "@rixtay/mail-mcp"], "env": { "MAIL_MCP_CLIENT_ID": " " } } } }
If Claude Desktop cannot find npx (it does not inherit your shell PATH), use absolute paths instead: "command": "/absolute/path/to/node", "args": ["/absolute/path/to/Mail-MCP/dist/index.js"].
Quit Claude Desktop completely and start it again. Logs: ~/Library/Logs/Claude/mcp-server-mail.log.
Cowork runs local MCP servers only in local sessions, not in cloud sessions.
claude mcp add --scope user --env MAIL_MCP_CLIENT_ID=<your-client-id> --transport stdio mail -- npx -y @rixtay/mail-mcp
Typical flow: mail_senders_summary → the assistant proposes a list, you confirm → mail_unsubscribe(lastMessageId) per newsletter (when the answer is method: "browser", the assistant opens the URL in its browser and finishes there) → mail_bulk_by_sender(action: "delete").
npm test # vitest: header parsing, Graph retry/batch/pagination, service with a mocked Graph
npm run typecheck npm run inspect # MCP Inspector against dist/index.js
Layout:
src/index.ts CLI entry point: `mail-mcp` serves stdio, `mail-mcp login` signs in
src/login.ts interactive sign-in flow src/server.ts builds the McpServer and registers the tools src/auth.ts MSAL public client, file-based token cache src/graph.ts Graph client: bearer auth, 429/503 retry, pagination, $batch in chunks of 20 src/mail.ts business logic (folders, search, sender summary, move/delete, unsubscribe cascade) src/unsubscribe.ts List-Unsubscribe / List-Unsubscribe-Post parsing, RFC 8058 one-click POST src/tools/*.ts tool definitions (zod v4 schemas, annotations)
Stack: @modelcontextprotocol/server v2, zod v4, @azure/msal-node v6, html-to-text.
mail_move and mail_delete return the old → new id mapping.DELETE would drop the item into Recoverable Items, which is invisible in Outlook, so it is deliberately not used.mail_search with query (full text) cannot be combined with the other filters (Graph limitation) and tops out at a few hundred results.mailto: send the request; the assistant's browser handles the rest.login.microsoftonline.com/consumers. With common, refresh tokens for personal accounts are rejected after the first refresh.Bug reports, fixes and focused new tools are welcome: see CONTRIBUTING.md. Please never paste real email content, addresses or tokens in an issue. Found a way the server could leak mail or tokens, or act without being asked? Please report it privately, as described in SECURITY.md.
Release history: CHANGELOG.md.
MIT