Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Langmail MCP for your own Stalwart: email, calendar and contacts

MCP server by langmail Community

Self-hosted MCP server for Stalwart: email, calendar and contacts over JMAP, CalDAV and CardDAV.

  • Score 82
  • 11 stars
  • 1.3k a week
  • MIT
  • Updated

Install Langmail MCP for your own Stalwart: email, calendar and contacts

Built from the published package, never by AI.

claude mcp add langmail-mcp-for-your-own-stalwart-email -e STALWART_URL=https://mail.example.com -- npx -y langmail-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Langmail MCP for your own Stalwart: email, calendar and contacts in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the langmail-mcp-for-your-own-stalwart-email block.

What you need

SettingNeededWhat it is
STALWART_URLEnvironment variableRequiredBase URL of your Stalwart server (JMAP, CalDAV and CardDAV), e.g. https://mail.example.com
STALWART_USERNAMEEnvironment variableOptionalAccount login name, usually the mail address; use together with STALWART_PASSWORD
STALWART_PASSWORDEnvironment variable, secretOptionalApp password for STALWART_USERNAME, created in Stalwart's account manager
STALWART_TOKENEnvironment variable, secretOptionalBearer token such as a Stalwart API key, as an alternative to STALWART_USERNAME and STALWART_PASSWORD
MCP_TRANSPORTEnvironment variableOptionalTransport: stdio (the default) or http, which serves Streamable HTTP at /mcp Default: stdio
MCP_AUTH_TOKENEnvironment variable, secretOptionalRequired with MCP_TRANSPORT=http: the secret callers send as Authorization: Bearer; at least 16 characters
MCP_HOSTEnvironment variableOptionalHTTP transport: address to listen on Default: 127.0.0.1
MCP_PORTEnvironment variableOptionalHTTP transport: port to listen on Default: 8080
MCP_PUBLIC_URLEnvironment variableOptionalHTTP transport: the address callers reach the server under, e.g. behind a TLS-terminating reverse proxy
LOG_LEVELEnvironment variableOptionalLog level for stderr: fatal, error, warn, info, debug, trace or silent Default: warn
LANGMAIL_MCP_ALLOW_UNSUBSCRIBE_POSTEnvironment variableOptionalSet 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_IMAGESEnvironment variableOptionalSet to 1 to let preview_email load a message's remote images through this server; off by default

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Alternatives to Langmail MCP for your own Stalwart: email, calendar and contacts

All alternatives →

Compare with Jitsu, Vexa or Linkedin MCP server

Langmail MCP for your own Stalwart: email, calendar and contacts: common questions

How do I install Langmail MCP for your own Stalwart: email, calendar and contacts?

In Claude Code run claude mcp add langmail-mcp-for-your-own-stalwart-email -e STALWART_URL=https://mail.example.com -- npx -y langmail-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Langmail MCP for your own Stalwart: email, calendar and contacts the official server?

Langmail MCP for your own Stalwart: email, calendar and contacts is a community project by langmail, not verified by a company domain.

Is Langmail MCP for your own Stalwart: email, calendar and contacts free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Langmail MCP for your own Stalwart: email, calendar and contacts safe to use?

It scores 82 of 100. Grades: maintenance A, licence A, quality C. The security check has not run for it yet. Review the code before you install. How grades work.

What are alternatives to Langmail MCP for your own Stalwart: email, calendar and contacts?

Similar MCP servers: Jitsu, Vexa, Linkedin MCP server, Netsapiens MCP.

Does Langmail MCP for your own Stalwart: email, calendar and contacts work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Langmail MCP for your own Stalwart: email, calendar and contacts Install

Add to stack

Loading.