Langmail MCP for your own Stalwart: email, calendar and contacts MCP Server
Self-hosted MCP server for Stalwart: email, calendar and contacts over JMAP, CalDAV and CardDAV.
Langmail MCP for your own Stalwart: email, calendar and contacts scores 45 (Fair), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Communication, Productivity. GitHub shows 12 stars. Package registries report about 491 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
45 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Where the 45 comes from
0 + 20 + 8 + 10 + 4 + 3 = 45. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 8 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "langmail-langmail-mcp": { "command": "npx", "args": [ "-y", "langmail-mcp@0.1.0" ], "env": { "STALWART_URL": "", "STALWART_USERNAME": "", "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", "MCP_PUBLIC_URL": "", "LOG_LEVEL": "warn", "LANGMAIL_MCP_ALLOW_UNSUBSCRIBE_POST": "", "LANGMAIL_MCP_ALLOW_REMOTE_IMAGES": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
STALWART_URL | Required | Base URL of your Stalwart server (JMAP, CalDAV and CardDAV), e.g. https://mail.example.com |
STALWART_USERNAME | Optional | Account login name, usually the mail address; use together with STALWART_PASSWORD |
STALWART_PASSWORDSecret | Optional | App password for STALWART_USERNAME, created in Stalwart's account manager |
STALWART_TOKENSecret | Optional | Bearer token such as a Stalwart API key, as an alternative to STALWART_USERNAME and STALWART_PASSWORD |
MCP_TRANSPORT | Optional | Transport: stdio (the default) or http, which serves Streamable HTTP at /mcp |
MCP_AUTH_TOKENSecret | Optional | Required with MCP_TRANSPORT=http: the secret callers send as Authorization: Bearer; at least 16 characters |
MCP_HOST | Optional | HTTP transport: address to listen on |
MCP_PORT | Optional | HTTP transport: port to listen on |
MCP_PUBLIC_URL | Optional | HTTP transport: the address callers reach the server under, e.g. behind a TLS-terminating reverse proxy |
LOG_LEVEL | Optional | Log level for stderr: fatal, error, warn, info, debug, trace or silent |
LANGMAIL_MCP_ALLOW_UNSUBSCRIBE_POST | Optional | Set to 1 to let unsubscribe_from_list send the RFC 8058 one-click request to the sender's URL; off by default |
LANGMAIL_MCP_ALLOW_REMOTE_IMAGES | Optional | Set to 1 to let preview_email load a message's remote images through this server; off by default |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
An MCP server that gives your AI agent the mail, calendar and contacts of your own JMAP mailbox.
Frequently asked questions
What is Langmail MCP for your own Stalwart: email, calendar and contacts MCP Server?
Self-hosted MCP server for Stalwart: email, calendar and contacts over JMAP, CalDAV and CardDAV.
How do I install Langmail MCP for your own Stalwart: email, calendar and contacts MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Langmail MCP for your own Stalwart: email, calendar and contacts MCP Server runs locally from the npm package langmail-mcp with the command npx -y langmail-mcp@0.1.0.
Is Langmail MCP for your own Stalwart: email, calendar and contacts MCP Server free and open source?
Yes. Langmail MCP for your own Stalwart: email, calendar and contacts MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Langmail MCP for your own Stalwart: email, calendar and contacts MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Langmail MCP for your own Stalwart: email, calendar and contacts MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is Langmail MCP for your own Stalwart: email, calendar and contacts MCP Server's trust score calculated?
Langmail MCP for your own Stalwart: email, calendar and contacts MCP Server scores 45 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.