Mcp Email

MCP办公协作

提供方 OneShotForge

办公协作 未标注 Token 社区 / 第三方 Claude DesktopClaudeCursorCodex

A self-hosted MCP server that gives Claude Code full IMAP and SMTP access. 15 tools cover the boring parts: search across folders, attachment fetch, drafts the agent can revise before send, move/copy/flag/delete, and folder management. Multi-account is built in: Gmail, Fastmail,

一句话选型结论

按资料字段整理

Mcp Email 属于办公协作类 MCP 服务器,传输方式未标注,Token,可直接接入 Claude Desktop、Claude、Cursor 等,没有现成安装命令,需按官方文档接入。接入前先确认权限范围;涉及写入、删除或付款的操作,建议先在测试环境验证。

分类办公协作 传输方式未标注 鉴权Token 部署方式未标注
GitHub 星标 未标注 仓库热度,无公开仓库时显示未标注
工具数 未标注 暴露给模型的工具数量
资源 / 提示词 0 / 0 资源与提示词模板数量
维护方 社区 / 第三方 核验等级 仅资料核对

工具与能力

办公协作
数量来自来源目录的标注,具体工具清单以官方文档为准
工具数量未标注暴露给模型可调用的工具个数
资源数量0可读取的资源条目
提示词数量0内置提示词模板数量

能力标签

email imap smtp claude claude code mcp server self hosted multi account

支持客户端

适用场景

emailimapsmtp

安装与配置

未标注 Token
上游未给出传输方式
  1. 1
    准备运行环境

    按官方文档确认运行环境(常见为 Node.js 或 Python),装好后再执行安装命令。

  2. 2
    安装服务

    复制上面的安装命令执行;命令里带占位符的位置,换成自己的密钥或路径。

  3. 3
    写入客户端配置

    在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4
    验证是否可用

    连接成功后随便调一个只读工具,确认能返回结果,再接入正式流程。

典型使用场景

3 类
按分类与标签整理的常见用法,具体以官方文档为准
日程与消息

查日程、发消息、约会议。

表单与审批

填表单、走审批流。

团队协作

同步任务、汇总进展。

选择建议

选之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 已适配 Claude Desktop、Claude、Cursor,换客户端不用重新研究配置。

先想清楚的地方

  • 没有现成安装命令,需要按官方文档自己填启动命令和参数。
  • 使用前要准备好Token对应的凭据,并按最小权限配置。
  • 资料没标注工具数量,实际能力要装好后确认。
  • 版本更新与行为细节以官方仓库为准。

更适合

  • 需要在办公协作场景里让模型直接调用外部能力的人。
  • 已经在用 Claude Desktop、Claude 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地或自有环境跑服务的人。

不太适合

  • 不方便管理密钥或第三方授权的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
MCP 服务器工具数传输方式部署方式安装命令最后核验
Mcp Email当前 未标注 未标注 未标注 无 未标注
CowAgent 未标注 stdio · 本地进程 本地部署 有 2026-04-11
Karakeep MCP 未标注 未标注 未标注 无 2026-05-17
agentscope 未标注 stdio · 本地进程 本地部署 有 2026-04-11
note-gen 未标注 stdio · 本地进程 本地部署 有 2026-04-11
Everywhere 未标注 stdio · 本地进程 本地部署 有 2026-04-12

服务器档案

办公协作
字段来自项目仓库与公开索引,中文说明由本站标注
提供方OneShotForge上游标注的维护方 OneShotForge
分类办公协作本站按上游分类展示
连接方式未标注上游未给出传输方式
鉴权方式Token远程服务建议用最小权限凭据
维护方社区 / 第三方核验等级 仅资料核对
包名 / 运行时未标注 · Cross-platform本地安装时用到的包标识与运行时
部署类型未标注上游给出的部署形态
最近核验未标注上游最后核验时间

详细介绍

8.0 KB
来自项目仓库与上游目录的原文,未做删改

mcp-email

> Self-hosted MCP server for IMAP and SMTP. Multi-account in one config. Built for Claude Code and any MCP-compliant client.

Buy on Gumroad — $49 · Landing page · Provider config docs


What this repo is

This is the public face of mcp-email, a paid product from OneShotForge. The source code lives in the paid bundle sold on Gumroad. This repo contains:

  • The README you're reading (features, scope, FAQ)
  • The full per-provider config docs (docs/CONFIG.md)
  • The public changelog (CHANGELOG.md)
  • The license terms (LICENSE)

If you're shopping: this is enough to decide whether mcp-email fits your setup. The buy link is at the top.

If you've already purchased: the full TypeScript source, Docker setup, build configs, and complete installation guide are in the zip you received after checkout.


Why this exists

Anthropic's MCP spec lets agents talk to your tools. Email is the most-asked tool. But the existing "MCP email" servers I tried either lock you to Gmail, demand an OAuth setup that takes an afternoon, or break the moment you point them at a second account.

mcp-email is the one I built for myself after that triage. I sell it because it now solves a problem cleanly enough that I'd rather get paid to maintain it than maintain it for free.

What's different:

  • Any IMAP/SMTP provider — Gmail, Hostinger, Fastmail, iCloud, Outlook 365, Proton (via Bridge), Yahoo, Zoho, custom domains, anything that speaks the protocol.
  • Multi-account in one config — declare N accounts via env vars, every tool call takes an account argument. One server instance speaks to all of them.
  • 15 tools, prod-grade — list, search, read, threads, attachments, send, draft, move, copy, delete, flag, folder CRUD. The boring operations are covered.
  • Self-hosted, credentials never leave your box — runs locally via npm or in Docker. Bearer-token auth on the MCP endpoint. No telemetry, no SaaS proxy.
  • One .env file — no OAuth dance, no service account JSON, no Google Cloud project. Generate app passwords on the provider side, drop them in, done.

What you get when you buy

After checkout on Gumroad, you download a single zip containing:

  • Full TypeScript source for the server (Node 20+, @modelcontextprotocol/sdk, imapflow, nodemailer)
  • Dockerfile + docker-compose.yml ready to run
  • .env.example with the full template and inline comments
  • The expanded README with install instructions, Claude Code wiring, production deployment via Caddy, and troubleshooting
  • A perpetual commercial license (see LICENSE for the full terms — unlimited business use, no resale, refund within the first day if it doesn't fit)
  • Free patch and minor updates within the 1.x major version

Approximate first-tool-call time after checkout: 5 minutes if your provider's app password is already generated.


Provider matrix

I run on Hostinger and Gmail daily. Setup is documented and tested for the others.

Provider Authentication IMAP host SMTP host Notes
Hostinger Mailbox password imap.hostinger.com:993 smtp.hostinger.com:465 What I use for hello@oneshotforge.com. 10/10 on mail-tester.com.
Gmail / Workspace App password imap.gmail.com:993 smtp.gmail.com:465 Enable 2FA first. Workspace admins can disable IMAP at the org level.
Fastmail App password imap.fastmail.com:993 smtp.fastmail.com:465 Clean implementation, no surprises.
iCloud Mail App-specific password imap.mail.me.com:993 smtp.mail.me.com:587 SMTP on 587/STARTTLS.
Outlook 365 App password outlook.office365.com:993 smtp.office365.com:587 Some tenants disable SMTP AUTH. Personal accounts always work.
Proton Mail Via Proton Bridge 127.0.0.1:1143 127.0.0.1:1025 Bridge must be running locally.
Yahoo Mail App password imap.mail.yahoo.com:993 smtp.mail.yahoo.com:465 App password under account security.
Zoho Mail App password (or normal) imap.zoho.eu:993 / .com smtp.zoho.eu:465 / .com EU vs US tenants use different hosts.
Generic App password or normal depends depends Anything RFC-compliant works.

Full per-provider setup in docs/CONFIG.md.


The 15 tools

All tools take an account parameter — the ID you declared in .env. Folders default to INBOX where applicable.

Reading (6)

Tool Purpose
email_list_folders List all IMAP folders with unread counts
email_list_messages List messages in a folder with pagination and unseen filter
email_search_messages Search by sender, subject, body, date, or has-attachment
email_get_message Full message body (text + HTML + attachment metadata) by UID
email_get_attachment Fetch an attachment's content (UTF-8 or base64)
email_get_thread Reconstruct a conversation thread from Message-ID / In-Reply-To / References

Writing (2)

Tool Purpose
email_send_message Send via SMTP, append a copy to Sent folder via IMAP
email_create_draft Create a draft in the Drafts folder

Management (7)

Tool Purpose
email_move_message Move a message to another folder
email_copy_message Copy a message to another folder
email_delete_message Move to Trash (default) or \Deleted + expunge
email_mark_message Set or unset \Seen / \Flagged / \Answered flags
email_create_folder Create an IMAP folder
email_rename_folder Rename an IMAP folder
email_delete_folder Delete an IMAP folder

How it connects to Claude Code

After install (covered in the zip), add this to your project .mcp.json or ~/.claude.json global:json { "mcpServers": { "email": { "type": "http", "url": "http://localhost:3000/mcp", "headers": { "Authorization": "Bearer YOUR_MCP_AUTH_TOKEN" } } } }

Restart Claude Code (/mcp to verify the server is connected), then try:

> "List my last 5 unread emails in account main."

Or, for advanced usage with multi-account:

> "Search account support for unanswered messages from customer@example.com in the last 7 days, summarize them, and draft a reply in account main."


Pricing

$49 one-time. Perpetual commercial license, unlimited business use, no recurring fee.

Same-day refund if it doesn't fit your setup. Email hello@oneshotforge.com within 24 hours of buying and I'll process it (next morning if I'm asleep when you write).

Buy on Gumroad


Limits and scope (intentional)

  • Authentication: app password or plain password only. No OAuth 2.0. This keeps the server stateless and provider-agnostic.
  • Transport: HTTP only (no stdio). MCP over HTTP is the only mode that supports remote agents and shared infrastructure.
  • Folder names: defaults assume INBOX, Sent, Drafts, Trash. Servers with prefixes like INBOX.Sent are handled with a fallback. Custom names require small code changes.
  • Attachment download: 1 MB cap for binary attachments (returned as base64). Textual attachments (text/*, JSON, XML, ICS) have no cap.
  • HTML body: truncated past 25,000 characters in email_get_message. The text body is always sent in full.

Roadmap (post-1.0, not committed)

  • Optional SENT_FOLDER / DRAFTS_FOLDER / TRASH_FOLDER env overrides per account
  • OAuth flow for Gmail and Microsoft (separate add-on, not bundled)
  • Webhook on incoming mail (push-style notifications for agents)
  • Calendar/ICS bridge (separate product, will integrate cleanly)
  • AI auto-tagging via the Anthropic API

Vote with email — what do you want next? hello@oneshotforge.com.


License

Commercial license — see LICENSE.

TL;DR: unlimited personal and business use after purchase, no resale or redistribution of the source.


Support

  • Bugs and feature requests: email hello@oneshotforge.com with a clear repro.
  • License questions, volume pricing: same address.
  • Public changelog: CHANGELOG.md.

Built by OneShotForge.

常见问题

7 问
答案由本站依据条目字段整理,不引用上游原文
Mcp Email 怎么安装?

资料没有给出安装命令,请到官方仓库或文档按说明接入;这类条目多数是生态应用,或尚未发布可安装包。

Mcp Email 怎么在 Claude Desktop、Claude、Cursor 里配置?

它的传输方式未标注,在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,配置才会生效。

Mcp Email 收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Mcp Email 需要 API Key 吗?

资料标注需要Token认证,使用前准备好对应凭据,并按最小权限配置。

Mcp Email 支持哪些客户端?

资料标注支持 Claude Desktop、Claude、Cursor、Codex、Zed;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

Mcp Email 能提供哪些能力?

资料显示能力标签包括 email、imap、smtp、claude、claude code、mcp server。具体工具清单以官方文档为准。

Mcp Email 需要什么运行环境?

运行时为 Cross-platform。

热门专题

按标签挑服务器
全部专题 →

服务器信息以作者仓库与官方文档为准;分类、传输方式与鉴权方式的中文说明为中文整理,最近核验 未标注。