emailmd
Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.
MCP server for Open-Xchange: email (IMAP/SMTP), Sieve filters, CalDAV calendar, CardDAV contacts
列表按使用分(满分 100)排序,由以下部分组成
| 热度 | 6/80 | GitHub 星标或每周下载量:较大的计 60,较小的计 20 |
|---|---|---|
| 新鲜度 | 7/12 | 30 天内有发布或代码更新得满分 |
| 仍在响应 | 0/8 | 上次检查时云端端点有响应 |
| 使用分 | 13/100 |
质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)
选择你使用的 AI 应用,然后复制设置。
用一句话让 AI 帮你安装
请帮我安装 ox-mcp。按照 https://mcp.popnx.com/i/rheopyrin-ox-mcp.md 操作,先把命令给我看,等我同意后再运行。粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要 ox-mcp 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude 安装 MCP server ox-mcp,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "ox": { "command": "npx", "args": [ "-y", "@rheopyrin/ox-mcp" ], "env": { "OX_MCP_MAIL_APP_PASSWORD": "your-value", "OX_MCP_CALDAV_APP_PASSWORD": "your-value", "OX_MCP_CARDDAV_APP_PASSWORD": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) OX_MCP_MAIL_APP_PASSWORD, OX_MCP_CALDAV_APP_PASSWORD, OX_MCP_CARDDAV_APP_PASSWORD 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 ox-mcp 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
SettingsDeveloperEdit Config
{
"mcpServers": {
"ox": {
"command": "npx",
"args": [
"-y",
"@rheopyrin/ox-mcp"
],
"env": {
"OX_MCP_MAIL_APP_PASSWORD": "your-value",
"OX_MCP_CALDAV_APP_PASSWORD": "your-value",
"OX_MCP_CARDDAV_APP_PASSWORD": "your-value"
}
}
}
}只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 ox-mcp 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 ox-mcp,或回答中出现 ox-mcp 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
OX_MCP_MAIL_SERVER 邮件部分(email_ 工具)使用的 IMAP/SMTP/ManageSieve 主机 OX_MCP_MAIL_USER mail 部分的登录用户(邮箱地址)。 OX_MCP_CALDAV_SERVER calDav 部分(calendar_ 工具)使用的 CalDAV 主机。 OX_MCP_CALDAV_USER calDav 部分的登录用户。 OX_MCP_CARDDAV_SERVER cardDav 部分(contact_ 工具)使用的 CardDAV 主机 OX_MCP_CARDDAV_USER cardDav 部分的登录用户。 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 ox-mcp
ox-mcp 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 ox-mcp 的应用
B · 聊天与邮件 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
可连接 Claude Code,但需要先准备
需要 ox-mcp 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude Code 安装 MCP server ox-mcp,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user ox --env OX_MCP_MAIL_APP_PASSWORD=your-value --env OX_MCP_CALDAV_APP_PASSWORD=your-value --env OX_MCP_CARDDAV_APP_PASSWORD=your-value -- npx -y @rheopyrin/ox-mcp 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) OX_MCP_MAIL_APP_PASSWORD, OX_MCP_CALDAV_APP_PASSWORD, OX_MCP_CARDDAV_APP_PASSWORD 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 ox-mcp 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
获取密钥的方法见下方开发者的 README
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --scope user ox --env OX_MCP_MAIL_APP_PASSWORD=your-value --env OX_MCP_CALDAV_APP_PASSWORD=your-value --env OX_MCP_CARDDAV_APP_PASSWORD=your-value -- npx -y @rheopyrin/ox-mcp按 Enter 前,把“your-value”改成你的密钥
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
应能看到 ox-mcp 在列表中并显示已连接
用 ox-mcp 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 ox-mcp,或回答中出现 ox-mcp 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
OX_MCP_MAIL_SERVER 邮件部分(email_ 工具)使用的 IMAP/SMTP/ManageSieve 主机 OX_MCP_MAIL_USER mail 部分的登录用户(邮箱地址)。 OX_MCP_CALDAV_SERVER calDav 部分(calendar_ 工具)使用的 CalDAV 主机。 OX_MCP_CALDAV_USER calDav 部分的登录用户。 OX_MCP_CARDDAV_SERVER cardDav 部分(contact_ 工具)使用的 CardDAV 主机 OX_MCP_CARDDAV_USER cardDav 部分的登录用户。 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要 ox-mcp 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Cursor 安装 MCP server ox-mcp,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "ox": { "command": "npx", "args": [ "-y", "@rheopyrin/ox-mcp" ], "env": { "OX_MCP_MAIL_APP_PASSWORD": "your-value", "OX_MCP_CALDAV_APP_PASSWORD": "your-value", "OX_MCP_CARDDAV_APP_PASSWORD": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) OX_MCP_MAIL_APP_PASSWORD, OX_MCP_CALDAV_APP_PASSWORD, OX_MCP_CARDDAV_APP_PASSWORD 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 ox-mcp 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
获取密钥的方法见下方开发者的 README
在 ox-mcp 的设置中,OX_MCP_MAIL_APP_PASSWORD, OX_MCP_CALDAV_APP_PASSWORD, OX_MCP_CARDDAV_APP_PASSWORD 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 ox-mcp 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 ox-mcp,或回答中出现 ox-mcp 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
OX_MCP_MAIL_SERVER 邮件部分(email_ 工具)使用的 IMAP/SMTP/ManageSieve 主机 OX_MCP_MAIL_USER mail 部分的登录用户(邮箱地址)。 OX_MCP_CALDAV_SERVER calDav 部分(calendar_ 工具)使用的 CalDAV 主机。 OX_MCP_CALDAV_USER calDav 部分的登录用户。 OX_MCP_CARDDAV_SERVER cardDav 部分(contact_ 工具)使用的 CardDAV 主机 OX_MCP_CARDDAV_USER cardDav 部分的登录用户。 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要 ox-mcp 的密钥(在开发者网站创建) · 需要先在电脑上安装 Node.js(只需一次)
把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 VS Code 安装 MCP server ox-mcp,按顺序:1) 用 node -v 检查是否有 Node.js。没有的话,请让我从 https://nodejs.org/en/download 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "ox": { "type": "stdio", "command": "npx", "args": [ "-y", "@rheopyrin/ox-mcp" ], "env": { "OX_MCP_MAIL_APP_PASSWORD": "your-value", "OX_MCP_CALDAV_APP_PASSWORD": "your-value", "OX_MCP_CARDDAV_APP_PASSWORD": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) OX_MCP_MAIL_APP_PASSWORD, OX_MCP_CALDAV_APP_PASSWORD, OX_MCP_CARDDAV_APP_PASSWORD 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 ox-mcp 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
node -vMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: 打开官方下载页,选择 LTS 版本和点选式安装程序:Mac 用 .pkg · Windows 用 .msi。双击后一路下一步即可,不需要 curl 命令
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: node -v
安装一次,所有需要 Node.js 的工具都能用
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
获取密钥的方法见下方开发者的 README
在 ox-mcp 的设置中,OX_MCP_MAIL_APP_PASSWORD, OX_MCP_CALDAV_APP_PASSWORD, OX_MCP_CARDDAV_APP_PASSWORD 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 ox-mcp 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 ox-mcp,或回答中出现 ox-mcp 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
OX_MCP_MAIL_SERVER 邮件部分(email_ 工具)使用的 IMAP/SMTP/ManageSieve 主机 OX_MCP_MAIL_USER mail 部分的登录用户(邮箱地址)。 OX_MCP_CALDAV_SERVER calDav 部分(calendar_ 工具)使用的 CalDAV 主机。 OX_MCP_CALDAV_USER calDav 部分的登录用户。 OX_MCP_CARDDAV_SERVER cardDav 部分(contact_ 工具)使用的 CardDAV 主机 OX_MCP_CARDDAV_USER cardDav 部分的登录用户。 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add --scope user ox --env OX_MCP_MAIL_APP_PASSWORD=your-value --env OX_MCP_CALDAV_APP_PASSWORD=your-value --env OX_MCP_CARDDAV_APP_PASSWORD=your-value -- npx -y @rheopyrin/ox-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"ox": {
"command": "npx",
"args": [
"-y",
"@rheopyrin/ox-mcp"
],
"env": {
"OX_MCP_MAIL_APP_PASSWORD": "your-value",
"OX_MCP_CALDAV_APP_PASSWORD": "your-value",
"OX_MCP_CARDDAV_APP_PASSWORD": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"ox": {
"command": "npx",
"args": [
"-y",
"@rheopyrin/ox-mcp"
],
"env": {
"OX_MCP_MAIL_APP_PASSWORD": "your-value",
"OX_MCP_CALDAV_APP_PASSWORD": "your-value",
"OX_MCP_CARDDAV_APP_PASSWORD": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"ox": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@rheopyrin/ox-mcp"
],
"env": {
"OX_MCP_MAIL_APP_PASSWORD": "your-value",
"OX_MCP_CALDAV_APP_PASSWORD": "your-value",
"OX_MCP_CARDDAV_APP_PASSWORD": "your-value"
}
}
}
}OX_MCP_MAIL_SERVER envOX_MCP_MAIL_USER envOX_MCP_MAIL_APP_PASSWORD 机密 必填 envOX_MCP_CALDAV_SERVER envOX_MCP_CALDAV_USER envOX_MCP_CALDAV_APP_PASSWORD 机密 必填 envOX_MCP_CARDDAV_SERVER envOX_MCP_CARDDAV_USER envOX_MCP_CARDDAV_APP_PASSWORD 机密 必填 env说明为自动翻译,变量名保持原样;不确定时请查看原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月19日
注册名称已通过 GitHub 账户 Rheopyrin 验证,该账户拥有此仓库
代码最后更新于38天前
使用 MIT
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
OSV.dev 中没有 @rheopyrin/ox-mcp@0.1.4 的记录
只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月15日
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/servers/rheopyrin-ox-mcp)提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:OX_MCP_MAIL_APP_PASSWORD, OX_MCP_CALDAV_APP_PASSWORD, OX_MCP_CARDDAV_APP_PASSWORD
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于38天前,最新版本(0.1.4)于38天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:emailmd, Kite Discord Bot Builder, e2a — email for AI agents, Infobip MCP, kernelCAD
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.
Build and fix Discord bots from a chat. Kite hosts them 24/7, with no code to deploy.
Authenticated email gateway for AI agents — per-agent inboxes, HITL approval, SPF/DKIM verified.
Infobip MCP server for omnichannel communication and messaging. SMS, RCS, WhatsApp, Viber and more.
CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.
| 本项 ox-mcp | emailmd | Kite Discord Bot Builder | e2a — email for AI agents | Infobip MCP | kernelCAD | |
|---|---|---|---|---|---|---|
| 运行位置 | 需要安装在电脑上 | 云端或安装在电脑上都可以 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 | 在云端运行,无需安装 |
| 需要密钥 | 是 | 否 | 否 | 否 | 否 | 否 |
| 可在 Claude 中按 + 添加 | 否 | 否 | 否 | 否 | 是 | 否 |
| 基础检查 | 3/3 | 5/5 | 4/4 | 4/4 | 4/4 | 4/4 |
| 许可证 | MIT | MIT | AGPL-3.0 | Apache-2.0 | MIT | MIT |
| 价格 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 |
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
An MCP server for Open-Xchange and standards-based mail platforms — read & search email, send & reply, manage server-side filters, calendar events and invitations, contacts, and other people's availability (free/busy), across one or many accounts.
It speaks standard IMAP + SMTP + ManageSieve + CalDAV + CardDAV with RFC 6638 free/busy, so it works with any Open-Xchange deployment or standards-compliant host. Authenticate with your email + app password (the same credential DAVx5 uses) or OAuth2/OIDC.
No affiliation with Open-Xchange.
npx -y @rheopyrin/ox-mcp
npx -y @rheopyrin/ox-mcp --config /path/to/config.json
MCP client config (Claude Desktop / Claude Code):
{
"mcpServers": { "ox": { "command": "npx", "args": ["-y", "@rheopyrin/ox-mcp"], "env": { "OX_MCP_MAIL_SERVER": "mail.example.com", "OX_MCP_MAIL_USER": "you@yourdomain.com", "OX_MCP_MAIL_APP_PASSWORD": "xxxx-xxxx-xxxx-xxxx", "OX_MCP_CALDAV_SERVER": "dav.example.com", "OX_MCP_CALDAV_USER": "you@yourdomain.com", "OX_MCP_CALDAV_APP_PASSWORD": "yyyy-yyyy-yyyy-yyyy" } } } }
On first run (without --config) it creates ~/.ox-mcp/config.json (permissions 0600) with every feature flag listed — reads enabled, writes disabled — and empty hosts for you to fill in.
--config--config (or env OX_MCP_CONFIG; the flag wins) loads an explicit config file instead of ~/.ox-mcp/config.json. The file must exist — nothing is auto-created when the override is used.
Tools are grouped by protocol domain. A group's tools appear only when enabled, and the group's server host must be configured (see *Validation*).
| Group | Read (enabled by default) | Write (disabled by default) |
|---|---|---|
email_* (IMAP/SMTP/Sieve — mail section) | email_list_folders, email_list, email_read, email_search, email_filter_list | email_send, email_save_draft, email_reply, email_reply_all, email_delete, email_move, email_flag, email_mark_read, email_mark_unread, email_mark_spam, email_archive, email_create_folder, email_delete_folder, email_filter_create, email_filter_update |
calendar_* (CalDAV — calDav section) | calendar_list, calendar_list_events, calendar_free_busy | calendar_create_event, calendar_update_event, calendar_delete_event, calendar_accept_event, calendar_decline_event, calendar_tentative_event |
contact_* (CardDAV — cardDav section) | contact_list, contact_find | contact_create |
| meta | list_servers (always on) | — |
list_servers) accepts an optional server argument to target a specific account. A tool is hidden from the tool list unless its flag is enabled for at least one account.email_search searches all folders by default; pass folder to narrow it. On the ox-api transport, body/text match only the subject and addresses of recent messages — use transport: "imap" for true full-text search.email_mark_spam / email_archive find the Junk/Archive folder via IMAP special-use attributes, with name-based fallbacks.email_reply / email_reply_all preserve threading (In-Reply-To/References) and exclude your own address from reply-all recipients.calendar_accept_event / calendar_decline_event / calendar_tentative_event) share one feature flag: respondEvent (calDav section). They rewrite your PARTSTAT on the invitation; the server notifies the organizer.contact_find searches contacts server-side (CardDAV addressbook-query, RFC 6352) with automatic fallback to client-side filtering; fields narrows the match to name/email/phone/org (default name + email). Handy for resolving a name to an email before calendar_free_busy. contact_list is plain enumeration.email_filter_create / email_filter_update manage server-side sieve filters over ManageSieve (port 4190, STARTTLS; requires basic/app-password auth). Rules support conditions on from/to/subject/any header (AND or OR) and actions fileinto (move to folder), discard, markRead, redirect.
Backend depends on
mail.transport: with ox-api (default), filters go through the OXmailfilter/v2module and operate on the account's real webmail rules (rules with tests/actions beyond this model are listed read-only asother). With imap, ox-mcp manages its own sieve script over ManageSieve (port 4190) and activates it — filters from other scripts become inactive while it is active.
Each account is made of up to three self-contained sections — mail, calDav, cardDav — each with its own server, auth (incl. its own login user), and features. This matches servers (like Open-Xchange) that scope app passwords per protocol: your Mail password, CalDAV password, and CardDAV password can all differ.
{
"defaultServer": "default", "timeoutSeconds": 300, // optional; request timeout, default 300 "servers": { "default": { "mail": { "server": "webmail.example.com", // OX HTTP API host (default transport) "transport": "ox-api", // optional; "imap" for direct IMAP/SMTP "imap": { "host": "imap.example.com", "port": 993 }, // optional overrides "smtp": { "host": "smtp.example.com", "port": 587, "secure": false }, // secure optional; 993/465 = TLS, else STARTTLS "auth": { "type": "basic", "user": "me@example.com", "appPassword": "mail-scoped-pw" }, "features": { "search": true, "send": false /* per-tool flags */ } }, "calDav": { "server": "dav.example.com", "auth": { "type": "basic", "user": "me@example.com", "appPassword": "caldav-scoped-pw" }, "features": { "respondEvent": false /* … */ } }, "cardDav": { "server": "dav.example.com", "auth": { "type": "basic", "user": "me@example.com", "appPassword": "carddav-scoped-pw" } } } } }
https:// /appsuite/api). OX deployments validate app passwords at this middleware, so it works even where raw IMAP rejects them; server is the webmail host. Filter tools use the OX mailfilter/v2 module — they list and edit the account's actual webmail rules. Caveat: search matches subject/addresses (not full bodies).server is the mail host, with optional split imap/smtp endpoints.enabled: false on a section is a config master switch for all its tools.Resolution precedence — env always beats config, first defined wins:
OX_MCP_ _ENABLE_EMAIL_SENDOX_MCP_ _ENABLE_MAILOX_MCP_ENABLE_EMAIL_SENDOX_MCP_ENABLE_MAIL / _CALDAV / _CARDDAVservers. .mail.features.sendservers. .mail.enabledtrue for reads, false for writes# enable sending on all accounts
OX_MCP_ENABLE_EMAIL_SEND=true
OX_MCP_ENABLE_CALDAV=false
OX_MCP_WORK_ENABLE_CALENDAR_CREATE_EVENT=true
OX_MCP_ENABLE_CALENDAR_RESPOND_EVENT=true
Booleans accept true/1/yes/on and false/0/no/off.
Every section field is settable via env: OX_MCP_[ID_] _ with SECTION ∈ MAIL | CALDAV | CARDDAV. The default account uses the non-indexed form.
| Env var | Meaning |
|---|---|
OX_MCP_MAIL_SERVER / OX_MCP_CALDAV_SERVER / OX_MCP_CARDDAV_SERVER | section host |
OX_MCP_MAIL_USER / OX_MCP_CALDAV_USER / OX_MCP_CARDDAV_USER | section login user |
OX_MCP_MAIL_APP_PASSWORD / OX_MCP_CALDAV_APP_PASSWORD / … | section app password (basic auth) |
OX_MCP_MAIL_IMAP_HOST / _IMAP_PORT / _SMTP_HOST / _SMTP_PORT | mail transport overrides (Gmail-style split hosts) |
OX_MCP_MAIL_IMAP_SECURE / _SMTP_SECURE | force TLS (true) or STARTTLS (false) on a non-standard port |
OX_MCP_MAIL_AUTH_TYPE, _CLIENT_ID, _REFRESH_TOKEN, … | per-section OAuth/OIDC fields |
OX_MCP_TIMEOUT_SECONDS | request timeout for all HTTP/IMAP/SMTP operations (default 300) |
Default ports: IMAP 993, SMTP 465, DAV 443, ManageSieve 4190. TLS mode derives from the port (993/465 implicit TLS; 143/587 STARTTLS) unless secure is set explicitly.
Configuration is validated strictly at startup: every present section with enabled tools must have a server (or split imap/smtp hosts for mail) and a login user, or the server exits with an error naming the exact field. Accounts with zero sections error too. Absent sections are simply disabled — no error.
basic (app password) is the default. Other Open-Xchange-aligned mechanisms are supported per section via auth.type / OX_MCP_[ID_] _AUTH_TYPE:
| Type | Extra fields (env: OX_MCP_[ID_] _…) |
|---|---|
basic | APP_PASSWORD |
xoauth2 | ACCESS_TOKEN |
oauth2-refresh | CLIENT_ID, CLIENT_SECRET, REFRESH_TOKEN, TOKEN_URL, SCOPE |
oauth2-password | CLIENT_ID, CLIENT_SECRET, PASSWORD, TOKEN_URL, SCOPE |
oidc | ISSUER, CLIENT_ID, CLIENT_SECRET, REFRESH_TOKEN or PASSWORD, SCOPE |
Tokens are cached and refreshed automatically. Note: mail filters (ManageSieve) require basic auth.
OX_MCP_ACCOUNTS=work,personal
OX_MCP_WORK_MAIL_SERVER=mail.work.com OX_MCP_WORK_MAIL_USER=me@work.com OX_MCP_WORK_MAIL_APP_PASSWORD=... OX_MCP_PERSONAL_CALDAV_SERVER=dav.personal.com OX_MCP_PERSONAL_CALDAV_USER=me@personal.com OX_MCP_PERSONAL_CALDAV_APP_PASSWORD=... OX_MCP_DEFAULT_SERVER=work
Or define them in ~/.ox-mcp/config.json under servers (keyed by id). list_servers shows what's configured (never secrets); env values override config field-by-field. Feature flags can differ per account (e.g. sending enabled only on work).
calendar_free_busy returns availability windows only (busy/free), via the CalDAV scheduling outbox — no calendar sharing needed. It does not reveal event details, and requires the server to advertise a schedule-outbox-URL. To read a colleague's full calendar, they must share it with your account; shared calendars then appear in calendar_list / calendar_list_events.
docker build -t ox-mcp .
docker run -i --rm \ -e OX_MCP_MAIL_SERVER=mail.example.com \ -e OX_MCP_MAIL_USER=you@yourdomain.com \ -e OX_MCP_MAIL_APP_PASSWORD=xxxx \ ox-mcp
npm install
npm run dev # run from source npm test # vitest npm run test:coverage np