MCP Mail
MCP Mail · bwb.pt
面向 Claude.ai 的自托管 claude-mail-mcp 连接器,具有:
OAuth 2.1 + DCR + PKCE shim (Claude.ai Custom Connector)
管理后台位于
https://mcp-mail.bwb.pt/admin,用于多账户 IMAP/SMTP 管理基于 Ubuntu 24.04 的加固 nginx + systemd
架构
Claude.ai ──HTTPS/OAuth──▶ nginx (mcp-mail.bwb.pt)
├─ /health → claude-mail-mcp :3220
└─ /* → oauth-shim+admin :3221 ──Bearer──▶ :3220Related MCP server: Gmail MCP Server
本地开发
cp deploy/env/shim.env.example .env
# adjust STATE_DIR to a local path, SESSION_SECRET, AUTH_TOKEN
npm install
npm run build
npm start生产部署
在 VPS 上(以 root 身份),在本仓库检出目录中:
bash deploy/install.sh然后打开 https://mcp-mail.bwb.pt/admin,登录,更改临时密码,添加邮箱账户。
Claude.ai → 设置 → 连接器 → 添加自定义 → URL https://mcp-mail.bwb.pt/mcp。
运维
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted email MCP for your own Gmail, Outlook.com, Microsoft 365, iCloud or IMAP inbox: read, search, draft, reply in thread, forward and file mail. It moves or flags up to 500 messages in one call, and a send leaves exactly one copy in Sent. A calendar is a separate connection, and connecting one adds diary and scheduling tools.
Let Claude or ChatGPT search, read and send your WhatsApp messages over MCP. OAuth sign-in.
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Shared memory and mail for your AI agents. Verified with Claude Code; other MCP clients in testing.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceSelf-hosted MCP server for any IMAP/SMTP inbox. Multi-account in one config. Built for Claude Code.-
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides Claude with access to your Gmail, featuring a full OAuth 2.1 authorization server with dynamic client registration and tools to list, read, search, send, reply, draft, archive, trash, manage labels, and download attachments.181 npm1MIT
- AlicenseAqualityDmaintenanceMCP server that connects Claude to Microsoft 365 mail for inbox triage, search, classification, and idempotent rule provisioning via Microsoft Graph, with device-code auth and read-only default.61MIT
- FlicenseNot gradedqualityCmaintenanceLocal IMAP/SMTP MCP server that lets Claude read, search, draft, send, flag, and move mail across multiple IMAP mailboxes. Credentials stay on your machine.-