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
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 6/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 7/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 13/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install ox-mcp. Follow https://mcp.popnx.com/i/rheopyrin-ox-mcp.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
You need a ox-mcp key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server ox-mcp for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by 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) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For OX_MCP_MAIL_APP_PASSWORD, OX_MCP_CALDAV_APP_PASSWORD, OX_MCP_CARDDAV_APP_PASSWORD, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the ox-mcp tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
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"
}
}
}
}Paste the key only into the app’s field, never into a chat or to anyone
Use ox-mcp and tell me what you can do for me, then show me one thing✓ If Claude says it is using ox-mcp or shows a ox-mcp tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
OX_MCP_MAIL_SERVER IMAP/SMTP/ManageSieve host for the mail section (email_* tools).OX_MCP_MAIL_USER Login user (mailbox address) for the mail section.OX_MCP_CALDAV_SERVER CalDAV host for the calDav section (calendar_* tools).OX_MCP_CALDAV_USER Login user for the calDav section.OX_MCP_CARDDAV_SERVER CardDAV host for the cardDav section (contact_* tools).OX_MCP_CARDDAV_USER Login user for the cardDav section.Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect ox-mcp yet
ox-mcp runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect ox-mcp
B · Others in Chat & email that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code, with some setup first
You need a ox-mcp key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server ox-mcp for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by 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) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For OX_MCP_MAIL_APP_PASSWORD, OX_MCP_CALDAV_APP_PASSWORD, OX_MCP_CARDDAV_APP_PASSWORD, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the ox-mcp tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
Mac: press Command+Space and type Terminal · Windows: open 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-mcpReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see ox-mcp listed as connected
Use ox-mcp and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using ox-mcp or shows a ox-mcp tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
OX_MCP_MAIL_SERVER IMAP/SMTP/ManageSieve host for the mail section (email_* tools).OX_MCP_MAIL_USER Login user (mailbox address) for the mail section.OX_MCP_CALDAV_SERVER CalDAV host for the calDav section (calendar_* tools).OX_MCP_CALDAV_USER Login user for the calDav section.OX_MCP_CARDDAV_SERVER CardDAV host for the cardDav section (contact_* tools).OX_MCP_CARDDAV_USER Login user for the cardDav section.Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a ox-mcp key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server ox-mcp for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by 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) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For OX_MCP_MAIL_APP_PASSWORD, OX_MCP_CALDAV_APP_PASSWORD, OX_MCP_CARDDAV_APP_PASSWORD, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the ox-mcp tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
In the ox-mcp settings, OX_MCP_MAIL_APP_PASSWORD, OX_MCP_CALDAV_APP_PASSWORD, OX_MCP_CARDDAV_APP_PASSWORD is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use ox-mcp and tell me what you can do for me, then show me one thing✓ If Cursor says it is using ox-mcp or shows a ox-mcp tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
OX_MCP_MAIL_SERVER IMAP/SMTP/ManageSieve host for the mail section (email_* tools).OX_MCP_MAIL_USER Login user (mailbox address) for the mail section.OX_MCP_CALDAV_SERVER CalDAV host for the calDav section (calendar_* tools).OX_MCP_CALDAV_USER Login user for the calDav section.OX_MCP_CARDDAV_SERVER CardDAV host for the cardDav section (contact_* tools).OX_MCP_CARDDAV_USER Login user for the cardDav section.Descriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a ox-mcp key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server ox-mcp for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by 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) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For OX_MCP_MAIL_APP_PASSWORD, OX_MCP_CALDAV_APP_PASSWORD, OX_MCP_CARDDAV_APP_PASSWORD, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the ox-mcp tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
In the ox-mcp settings, OX_MCP_MAIL_APP_PASSWORD, OX_MCP_CALDAV_APP_PASSWORD, OX_MCP_CARDDAV_APP_PASSWORD is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use ox-mcp and tell me what you can do for me, then show me one thing✓ If VS Code says it is using ox-mcp or shows a ox-mcp tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
OX_MCP_MAIL_SERVER IMAP/SMTP/ManageSieve host for the mail section (email_* tools).OX_MCP_MAIL_USER Login user (mailbox address) for the mail section.OX_MCP_CALDAV_SERVER CalDAV host for the calDav section (calendar_* tools).OX_MCP_CALDAV_USER Login user for the calDav section.OX_MCP_CARDDAV_SERVER CardDAV host for the cardDav section (contact_* tools).OX_MCP_CARDDAV_USER Login user for the cardDav section.Descriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
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 secret required envOX_MCP_CALDAV_SERVER envOX_MCP_CALDAV_USER envOX_MCP_CALDAV_APP_PASSWORD secret required envOX_MCP_CARDDAV_SERVER envOX_MCP_CARDDAV_USER envOX_MCP_CARDDAV_APP_PASSWORD secret required envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026
The registry name was verified with the GitHub account Rheopyrin, which owns the repo
Code last changed 38 days ago
Uses MIT
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
No entries on OSV.dev for @rheopyrin/ox-mcp@0.1.4
Checks only this package version, not every dependency · checked Nov 15, 2026
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/rheopyrin-ox-mcp)Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: OX_MCP_MAIL_APP_PASSWORD, OX_MCP_CALDAV_APP_PASSWORD, OX_MCP_CARDDAV_APP_PASSWORD
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed 38 days ago, and the latest version (0.1.4) reached the registry 38 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: emailmd, Kite Discord Bot Builder, e2a — email for AI agents, Infobip MCP, kernelCAD
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
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.
| This one ox-mcp | emailmd | Kite Discord Bot Builder | e2a — email for AI agents | Infobip MCP | kernelCAD | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Cloud or install on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install |
| Needs a key | Yes | No | No | No | No | No |
| Add with + in Claude | No | No | No | No | Yes | No |
| Basic checks | 3/3 | 5/5 | 4/4 | 4/4 | 4/4 | 4/4 |
| License | MIT | MIT | AGPL-3.0 | Apache-2.0 | MIT | MIT |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
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