Langmail MCP for your own Stalwart: email, calendar and contacts
● Activeio.github.langmail/langmail-mcp
Self-hosted MCP server for Stalwart: email, calendar and contacts over JMAP, CalDAV and CardDAV.
Connect this server
One click to install, or copy the config below. Suits: Claude Desktop · Cursor.
Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"langmail-mcp": {
"command": "npx",
"args": [
"-y",
"langmail-mcp@0.1.0"
],
"env": {
"STALWART_URL": "<your STALWART_URL>",
"STALWART_PASSWORD": "<your STALWART_PASSWORD>",
"STALWART_TOKEN": "<your STALWART_TOKEN>",
"MCP_TRANSPORT": "stdio",
"MCP_AUTH_TOKEN": "<your MCP_AUTH_TOKEN>",
"MCP_HOST": "127.0.0.1",
"MCP_PORT": "8080",
"LOG_LEVEL": "warn"
}
}
}
}claude mcp add --env STALWART_URL='<your STALWART_URL>' --env STALWART_PASSWORD='<your STALWART_PASSWORD>' --env STALWART_TOKEN='<your STALWART_TOKEN>' --env MCP_TRANSPORT=stdio --env MCP_AUTH_TOKEN='<your MCP_AUTH_TOKEN>' --env MCP_HOST=127.0.0.1 --env MCP_PORT=8080 --env LOG_LEVEL=warn --transport stdio langmail-mcp -- npx -y langmail-mcp@0.1.0codex mcp add langmail-mcp --env STALWART_URL='<your STALWART_URL>' --env STALWART_PASSWORD='<your STALWART_PASSWORD>' --env STALWART_TOKEN='<your STALWART_TOKEN>' --env MCP_TRANSPORT=stdio --env MCP_AUTH_TOKEN='<your MCP_AUTH_TOKEN>' --env MCP_HOST=127.0.0.1 --env MCP_PORT=8080 --env LOG_LEVEL=warn -- npx -y langmail-mcp@0.1.0code --add-mcp '{"name":"langmail-mcp","type":"stdio","command":"npx","args":["-y","langmail-mcp@0.1.0"],"env":{"STALWART_URL":"<your STALWART_URL>","STALWART_PASSWORD":"<your STALWART_PASSWORD>","STALWART_TOKEN":"<your STALWART_TOKEN>","MCP_TRANSPORT":"stdio","MCP_AUTH_TOKEN":"<your MCP_AUTH_TOKEN>","MCP_HOST":"127.0.0.1","MCP_PORT":"8080","LOG_LEVEL":"warn"}}'Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.
- STALWART_URLrequiredBase URL of your Stalwart server (JMAP, CalDAV and CardDAV), e.g. https://mail.example.com
- STALWART_PASSWORDsecretApp password for STALWART_USERNAME, created in Stalwart's account manager
- STALWART_TOKENsecretBearer token such as a Stalwart API key, as an alternative to STALWART_USERNAME and STALWART_PASSWORD
- MCP_TRANSPORTTransport: stdio (the default) or http, which serves Streamable HTTP at /mcp
- MCP_AUTH_TOKENsecretRequired with MCP_TRANSPORT=http: the secret callers send as Authorization: Bearer; at least 16 characters
- MCP_HOSTHTTP transport: address to listen on
- MCP_PORTHTTP transport: port to listen on
- LOG_LEVELLog level for stderr: fatal, error, warn, info, debug, trace or silent
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
- Category
- Business & CRM
- Version
- 0.1.0
- Registry
- active
- Published
- 11/17/2026
Is it safe? Is it maintained?
Serverdex check: Nov 19, 2026Looks healthy: Langmail MCP for your own Stalwart: email, calendar and contacts is maintained, open source.
- Maintained
- Active
- Last commit 5 days ago (Nov 17, 2026), 1 open issues.
- Official registry
- Active
- Published as io.github.langmail/langmail-mcp in the official MCP registry, version 0.1.0.
- Source
- Open source, MIT
- Public repository under the MIT licence, 1 stars, 0 forks.
- Runs
- On your machine
- A local npm package started by your client; it can reach whatever your user account can.
- Credentials
- 4 required
- Declared environment variables: STALWART_URL, STALWART_PASSWORD, STALWART_TOKEN, MCP_AUTH_TOKEN. They stay on your machine; the config on this page shows where each goes.
- Owner
- Unclaimed
- Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.
Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.
On GitHub
read Nov 18, 2026- Stars
- 1
- Forks
- 0
- Last push
- Nov 17, 2026
- License
- MIT
TypeScriptai-agentscaldavcalendarcarddavclaudecontactsemailjmaplangmailmcpmcp-servermodel-context-protocolself-hostedstalwarttypescript
From the README
Langmail MCP for your own Stalwart: email, calendar and contacts langmail-mcp is an open-source MCP server (Model Context Protocol) for people who run a self-hosted Stalwart mail server. It gives an AI agent the email, calendar and contacts tools of Langmail's hosted MCP server, and works against your own Stalwart over JMAP, CalDAV and CardDAV. It runs on your computer or on your server and talks only to your Stalwart; no Langmail service is involved. Not affiliated with Stalwart Labs. The first release is pending. langmail-mcp is not on npm yet, so npx -y langmail-mcp does not work today. Until it is, run the server from a clone: git clone https://github.com/langmail/langmail-mcp.git, cd langmail-mcp, npm ci, npm run build, and use node /path/to/langmail-mcp/dist/index.js wherever this document says npx -y langmail-mcp. What you can ask an agent to do with it An agent connected to this server can search and read your mail, write drafts and send them, file and label messages, manage mail rules, and work with your calendars and contacts. The following prompts are examples of what that makes possible: • "Find the email from the landlord about the heating repair.…
Read the full README on GitHub →Alternatives to Langmail MCP for your own Stalwart: email, calendar and contacts
All Langmail MCP for your own Stalwart: email, calendar and contacts alternatives →Best Business & CRM servers →The most-starred Business & CRM servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| Contact Affordance | 7,477 | Nov 2026 | Working |
| Business Contact Finder | 7,470 | Nov 2026 | Working |
| JobSpy | 4,739 | Nov 2026 | Local / not checked |
| Relaticle | 1,915 | Nov 2026 | Needs sign-in |
| ChatbotX | 1,142 | Nov 2026 | Needs sign-in |
Langmail MCP for your own Stalwart: email, calendar and contacts: questions people ask
- Is Langmail MCP for your own Stalwart: email, calendar and contacts a remote or a local MCP server?
- According to its entry in the official MCP registry, Langmail MCP for your own Stalwart: email, calendar and contacts ships as a local package (npm) that your client starts on your machine.
- Does Langmail MCP for your own Stalwart: email, calendar and contacts need an API key?
- Its registry entry declares 4 required environment variables: STALWART_URL, STALWART_PASSWORD, STALWART_TOKEN, MCP_AUTH_TOKEN. The config on this page shows where each goes.
- Is Langmail MCP for your own Stalwart: email, calendar and contacts safe to use?
- Looks healthy: Langmail MCP for your own Stalwart: email, calendar and contacts is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: On your machine; credentials: 4 required. Serverdex check of Nov 19, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
- Is Langmail MCP for your own Stalwart: email, calendar and contacts still maintained?
- Active: the repository's last commit 5 days ago. Last push Nov 17, 2026, 1 GitHub stars, MIT licence. Read from GitHub on Nov 18, 2026.
- How do I add Langmail MCP for your own Stalwart: email, calendar and contacts to Claude, Cursor or VS Code?
- Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
More from langmail
All 3 servers by langmail →More Business & CRM servers
Browse all Business & CRM →LeadDelta MCP Server
LeadDelta
MCP server for LeadDelta — manage LinkedIn connections and CRM data via AI assistants.
Acme CRM example
leemour
An example WireCat CLI for a made-up CRM, synthetic data. Sign a profile in with acme-crm first.
ComplianceCN — toys, batteries, cosmetics, food contact: CE, GPSR, UN 38.3, CPC/GCC and more
liamohtee
Source-cited EU/UK/US/AU market-access checks for Amazon and cross-border product compliance.
Korea Company Data
lichtsalz
Korean company identity, registration status and monthly payroll-based employment, in English.
quota-mcp
limitcool
Usage & quota tracker for AI subscription accounts (StepFun, Command Code)
LobbyStack
lobbystack
AI receptionist: read calls, messages and contacts, book appointments, and update hours and FAQs.
Add the badge to your site
Show visitors that Langmail MCP for your own Stalwart: email, calendar and contacts is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-langmail-langmail-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Langmail MCP for your own Stalwart: email, calendar and contacts — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-langmail-langmail-mcp?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.
Install buttons — for your README
[](https://serverdex.io/install/cursor/io-github-langmail-langmail-mcp) [](https://serverdex.io/install/vscode/io-github-langmail-langmail-mcp) [](https://serverdex.io/install/claude-code/io-github-langmail-langmail-mcp)One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.
Install buttons — HTML for your docs
<a href="https://serverdex.io/install/cursor/io-github-langmail-langmail-mcp"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-langmail-langmail-mcp"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-langmail-langmail-mcp"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>Same buttons as plain links for a docs page or website.
Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).