Stalwart Mail MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 166 installs a week from npm. Last commit 5 Oct 2026.
Mail and contacts on a self-hosted Stalwart server via JMAP: search, read, OCR, send, drafts.
Today is the operative word: we check Stalwart Mail MCP every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add stalwart-mail-mcp -e 'STALWART_URL=<STALWART_URL>' -e 'STALWART_USER=<STALWART_USER>' -e 'STALWART_PASSWORD=<STALWART_PASSWORD>' -- npx -y stalwart-mail-mcp
{
"mcpServers": {
"stalwart-mail-mcp": {
"command": "npx",
"args": [
"-y",
"stalwart-mail-mcp"
],
"env": {
"STALWART_PASSWORD": "<STALWART_PASSWORD>",
"STALWART_URL": "<STALWART_URL>",
"STALWART_USER": "<STALWART_USER>"
}
}
}
}
[mcp_servers.stalwart-mail-mcp]
command = "npx"
args = ["-y", "stalwart-mail-mcp"]
env = { STALWART_URL = "<STALWART_URL>", STALWART_USER = "<STALWART_USER>", STALWART_PASSWORD = "<STALWART_PASSWORD>" }
{
"mcpServers": {
"stalwart-mail-mcp": {
"command": "npx",
"args": [
"-y",
"stalwart-mail-mcp"
],
"env": {
"STALWART_PASSWORD": "<STALWART_PASSWORD>",
"STALWART_URL": "<STALWART_URL>",
"STALWART_USER": "<STALWART_USER>"
}
}
}
}
{
"servers": {
"stalwart-mail-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"stalwart-mail-mcp"
],
"env": {
"STALWART_PASSWORD": "<STALWART_PASSWORD>",
"STALWART_URL": "<STALWART_URL>",
"STALWART_USER": "<STALWART_USER>"
}
}
}
}
Put your own values in place of
<STALWART_URL> (Public address of the Stalwart server, e.g. https://mail.example.com), <STALWART_USER> (Mailbox e-mail address to sign in with), <STALWART_PASSWORD> (Mailbox or app password).
The author’s registry entry marks them as required.
Optional settings from the registry entry, left out of the block above:
MAIL_LANG (Language: auto, en, cs, de, es, fr, it, nl, pl, pt, sk), MAIL_OCR_PROVIDER (OCR of scans: auto, off, mistral, anthropic, openai, openrouter, gemini, ollama, lmstudio, custom), MAIL_OCR_API_KEY (API key of the OCR provider (not needed for local servers)), MAIL_OCR_MODEL (OCR model name), MAIL_OCR_BASE_URL (Address of a custom OpenAI-compatible OCR server).
MCP server for self-hosted Laserfiche repositories — search and read documents from Claude.
MCP server for self-hosted Laserfiche repositories — search and read documents from Claude.
Hosted MCP server: convert PDFs to clean, LLM-ready Markdown with tables, formulas and OCR.
Read, render, search, and manage reMarkable documents through MCP
Connect AI assistants to Outline for document search, reading, and management
Search Hong Kong court cases and read judgment documents.
MCP server for self-hosted Nutrient Document Engine: extract, edit, redact, and annotate documents.
Self-hosted AI workspace: semantic RAG document search, long-term memory, and AI chat via MCP.
Answers built from our own checks of this server.