
codefuturist/email-mcp 是从 https://github.com/codefuturist/email-mcp. 导入的 MCP 服务器候选。
概览
codefuturist/email-mcp 是从 https://github.com/codefuturist/email-mcp. 导入的 MCP 服务器候选。
概述(AI 翻译)
一台MCP(模型上下文协议)服务器,通过IMAP和SMTP提供全面的电子邮件功能。
使 AI 助手能够读取、搜索、发送、管理、调度和分析多个账户的邮件。通过 MCP 协议,提供 52 个工具、7 个提示和 6 个资源,支持(实验性)_、邮件调度、日历提取、分析、提供者感知标签管理、实时 IMAP IDLE 监控器(含 AI 驱动的分诊)、即时验证码捕捉(通过剪贴板复制)、可自定义预设和静态规则,以及引导式设置向导。
它基于 MCP TypeScript SDK v2(规范修订版 2026-07-28),本地客户端通过 stdio 或网络访问通过 可流式 HTTP 提供服务——现有的 stdio 配置保持不变。
精彩片段
| 功能 | 电子邮件-MCP | 典型的 MCP 邮件 |
|---|---|---|
| 多账户 | ✅ | ❌ |
| 发送 / 回复 / 转发 | ✅ | ✅ |
| 草稿与模板 | ✅ | ❌ |
| 标签与批量操作 | ✅服务提供者意识 | ❌ |
| 安排未来的邮件 | ✅ | ❌ |
| 实时IMAP IDLE watcher | ✅ | ❌ |
| 验证码→剪贴板 | ✅隐藏 + 自动清除 | ❌ |
| 带预设的AI分流 | ✅ | ❌ |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Email MCP Server
An MCP (Model Context Protocol) server providing comprehensive email capabilities via IMAP and SMTP.
Enables AI assistants to read, search, send, manage, schedule, and analyze emails across multiple accounts. Exposes 52 tools, 7 prompts, and 6 resources over the MCP protocol with OAuth2 support (experimental), email scheduling, calendar extraction, analytics, provider-aware label management, real-time IMAP IDLE watcher with AI-powered triage, instant verification-code catching with clipboard copy, customizable presets and static rules, and a guided setup wizard.
Built on the MCP TypeScript SDK v2 (spec revision 2026-07-28), it serves over stdio for local clients or Streamable HTTP for networked access — existing stdio configurations keep working unchanged.
Highlights
| Feature | email-mcp | Typical MCP email |
|---|---|---|
| Multi-account | ✅ | ❌ |
| Send / reply / forward | ✅ | ✅ |
| Drafts & templates | ✅ | ❌ |
| Labels & bulk ops | ✅ provider-aware | ❌ |
| Schedule future emails | ✅ | ❌ |
| Real-time IMAP IDLE watcher | ✅ | ❌ |
| Verification codes → clipboard | ✅ concealed + auto-clear | ❌ |
| AI triage with presets | ✅ | ❌ |
| Desktop & webhook alerts | ✅ | ❌ |
| Calendar (ICS) extraction | ✅ | ❌ |
| Email analytics | ✅ | ❌ |
| OAuth2 (Gmail / M365) | ✅ experimental | ❌ |
| Guided setup wizard | ✅ auto-detect | ❌ |
| Streamable HTTP transport | ✅ | ❌ |
Table of Contents
Security
- All connections use TLS/STARTTLS encryption
- Passwords are never logged; audit trail records operations without credentials
- Token-bucket rate limiter prevents abuse (one bucket per account, sharing a global
rate_limit) - OAuth2 XOAUTH2 authentication for Gmail and Microsoft 365 (experimental)
- Attachment downloads capped at 5 MB with base64 encoding
Background
安装
npx -y @codefuturist/email-mcp stdio配置
{
"mcpServers": {
"email": {
"command": "npx",
"args": ["-y", "@codefuturist/email-mcp", "stdio"]
}
}
}