Langmail MCP for your own Stalwart: email, calendar and contacts
Self-hosted MCP server for Stalwart: email, calendar and contacts over JMAP, CalDAV and CardDAV.
Open the source (opens github.com) https://github.com/langmail/langmail-mcp
Before you use it
- Runs on your computer with your permissions. Read what it can do before connecting it to an agent.
- Needs credentials: MCP_AUTH_TOKEN, STALWART_PASSWORD, STALWART_TOKEN. Use a key with the least access you can.
What it is
MCP servers from io.github.langmail.
The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.
How to get it
npm package (stdio)
langmail-mcp@0.1.0
From the server's entry in the official MCP Registry
Settings it asks for
STALWART_URLrequired · Base URL of your Stalwart server (JMAP, CalDAV and CardDAV), e.g. https://mail.example.comSTALWART_USERNAME· Account login name, usually the mail address; use together with STALWART_PASSWORDSTALWART_PASSWORDsecret · App password for STALWART_USERNAME, created in Stalwart's account managerSTALWART_TOKENsecret · Bearer token such as a Stalwart API key, as an alternative to STALWART_USERNAME and STALWART_PASSWORDMCP_TRANSPORT· Transport: stdio (the default) or http, which serves Streamable HTTP at /mcpMCP_AUTH_TOKENsecret · Required with MCP_TRANSPORT=http: the secret callers send as Authorization: Bearer; at least 16 charactersMCP_HOST· HTTP transport: address to listen onMCP_PORT· HTTP transport: port to listen onMCP_PUBLIC_URL· HTTP transport: the address callers reach the server under, e.g. behind a TLS-terminating reverse proxyLOG_LEVEL· Log level for stderr: fatal, error, warn, info, debug, trace or silentLANGMAIL_MCP_ALLOW_UNSUBSCRIBE_POST· Set to 1 to let unsubscribe_from_list send the RFC 8058 one-click request to the sender's URL; off by defaultLANGMAIL_MCP_ALLOW_REMOTE_IMAGES· Set to 1 to let preview_email load a message's remote images through this server; off by default
Related
-
stalwart-mail-mcp
MCP serversMail and contacts on a self-hosted Stalwart server via JMAP: search, read, OCR, send, drafts.
stalwart-mail-mcp@2.3.0 -
jmap-calendar-mcp
MCP serversRead calendars and create, change or (opt-in) delete events on any JMAP server, such as Stalwart.
jmap-calendar-mcp@0.2.0 -
MCP reference servers
MCP serversSmall example servers from the MCP project (filesystem, git, fetch, memory and more) that show how MCP works.
-
Official MCP Registry
MCP serversThe MCP project's own registry of public MCP servers, so you can look for a connector before building one.
-
GitHub MCP server
MCP serversGitHub's official MCP server. It lets an agent read and work with repositories, issues and pull requests.
https://api.githubcopilot.com/mcp/ -
Apify MCP server
MCP serversLets an agent run Apify's ready-made scrapers to pull data from websites, search engines, maps and social platforms.