Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

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

✓ Brand-named GitHub · github.com/langmail

by langmailversion 0.1.0i★ 1iRuns on your computerRepository ↗
Registry nameio.github.langmail/langmail-mcp

How to install

What it does

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

  • Connects Runs on your computer
  • Account or key Needs STALWART_PASSWORD, STALWART_TOKEN, MCP_AUTH_TOKEN · 1 setting to fill in (STALWART_URL)
  • Category Chat & email

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity4/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score16/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Langmail MCP for your own Stalwart: email, calendar and contacts. Follow https://mcp.popnx.com/i/langmail-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 17, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a Langmail MCP for your own Stalwart: email, calendar and contacts key (create it on the maker’s site) · 1 setting(s) to fill in (STALWART_URL) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Langmail MCP for your own Stalwart: email, calendar and contacts for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "langmail": { "command": "npx", "args": [ "-y", "langmail-mcp" ], "env": { "STALWART_URL": "your-value", "STALWART_PASSWORD": "your-value", "STALWART_TOKEN": "your-value", "MCP_AUTH_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For STALWART_PASSWORD, STALWART_TOKEN, MCP_AUTH_TOKEN, STALWART_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Langmail MCP for your own Stalwart: email, calendar and contacts tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Langmail MCP for your own Stalwart: email, calendar and contacts key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • STALWART_URL Base URL of your Stalwart server (JMAP, CalDAV and CardDAV), e.g. https://mail.example.com

    Descriptions are as written by the maker.

  4. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  5. Paste these settings and save the file

    {
      "mcpServers": {
        "langmail": {
          "command": "npx",
          "args": [
            "-y",
            "langmail-mcp"
          ],
          "env": {
            "STALWART_URL": "your-value",
            "STALWART_PASSWORD": "your-value",
            "STALWART_TOKEN": "your-value",
            "MCP_AUTH_TOKEN": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Quit Claude and open it again

  7. Try it

    Use Langmail MCP for your own Stalwart: email, calendar and contacts and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Langmail MCP for your own Stalwart: email, calendar and contacts or shows a Langmail MCP for your own Stalwart: email, calendar and contacts tool in the answer, you are connected

8 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • STALWART_USERNAME Account login name, usually the mail address; use together with STALWART_PASSWORD
  • MCP_TRANSPORT Transport: stdio (the default) or http, which serves Streamable HTTP at /mcp · default stdio
  • MCP_HOST HTTP transport: address to listen on · default 127.0.0.1
  • MCP_PORT HTTP transport: port to listen on · default 8080
  • MCP_PUBLIC_URL HTTP transport: the address callers reach the server under, e.g. behind a TLS-terminating reverse proxy
  • LOG_LEVEL Log level for stderr: fatal, error, warn, info, debug, trace or silent · default warn
  • LANGMAIL_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 default
  • LANGMAIL_MCP_ALLOW_REMOTE_IMAGES Set to 1 to let preview_email load a message's remote images through this server; off by default

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Langmail MCP for your own Stalwart: email, calendar and contacts yet

Langmail MCP for your own Stalwart: email, calendar and contacts runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Langmail MCP for your own Stalwart: email, calendar and contacts

  • You need a Langmail MCP for your own Stalwart: email, calendar and contacts key (create it on the maker’s site) · 1 setting(s) to fill in (STALWART_URL) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a Langmail MCP for your own Stalwart: email, calendar and contacts key (create it on the maker’s site) · 1 setting(s) to fill in (STALWART_URL) · Install Node.js on your computer first (one time)
  • You need a Langmail MCP for your own Stalwart: email, calendar and contacts key (create it on the maker’s site) · 1 setting(s) to fill in (STALWART_URL) · Install Node.js on your computer first (one time)
  • You need a Langmail MCP for your own Stalwart: email, calendar and contacts key (create it on the maker’s site) · 1 setting(s) to fill in (STALWART_URL) · Install Node.js on your computer first (one time)

B · Others in Chat & email that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a Langmail MCP for your own Stalwart: email, calendar and contacts key (create it on the maker’s site) · 1 setting(s) to fill in (STALWART_URL) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Langmail MCP for your own Stalwart: email, calendar and contacts for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user langmail --env STALWART_URL=your-value --env STALWART_PASSWORD=your-value --env STALWART_TOKEN=your-value --env MCP_AUTH_TOKEN=your-value -- npx -y langmail-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For STALWART_PASSWORD, STALWART_TOKEN, MCP_AUTH_TOKEN, STALWART_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Langmail MCP for your own Stalwart: email, calendar and contacts tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Langmail MCP for your own Stalwart: email, calendar and contacts key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • STALWART_URL Base URL of your Stalwart server (JMAP, CalDAV and CardDAV), e.g. https://mail.example.com

    Descriptions are as written by the maker.

  4. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  5. Paste this command and press Enter

    claude mcp add --scope user langmail --env STALWART_URL=your-value --env STALWART_PASSWORD=your-value --env STALWART_TOKEN=your-value --env MCP_AUTH_TOKEN=your-value -- npx -y langmail-mcp

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Type /mcp in Claude Code

    You should see Langmail MCP for your own Stalwart: email, calendar and contacts listed as connected

  7. Try it

    Use Langmail MCP for your own Stalwart: email, calendar and contacts and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Langmail MCP for your own Stalwart: email, calendar and contacts or shows a Langmail MCP for your own Stalwart: email, calendar and contacts tool in the answer, you are connected

8 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • STALWART_USERNAME Account login name, usually the mail address; use together with STALWART_PASSWORD
  • MCP_TRANSPORT Transport: stdio (the default) or http, which serves Streamable HTTP at /mcp · default stdio
  • MCP_HOST HTTP transport: address to listen on · default 127.0.0.1
  • MCP_PORT HTTP transport: port to listen on · default 8080
  • MCP_PUBLIC_URL HTTP transport: the address callers reach the server under, e.g. behind a TLS-terminating reverse proxy
  • LOG_LEVEL Log level for stderr: fatal, error, warn, info, debug, trace or silent · default warn
  • LANGMAIL_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 default
  • LANGMAIL_MCP_ALLOW_REMOTE_IMAGES Set to 1 to let preview_email load a message's remote images through this server; off by default

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a Langmail MCP for your own Stalwart: email, calendar and contacts key (create it on the maker’s site) · 1 setting(s) to fill in (STALWART_URL) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Langmail MCP for your own Stalwart: email, calendar and contacts for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "langmail": { "command": "npx", "args": [ "-y", "langmail-mcp" ], "env": { "STALWART_URL": "your-value", "STALWART_PASSWORD": "your-value", "STALWART_TOKEN": "your-value", "MCP_AUTH_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For STALWART_PASSWORD, STALWART_TOKEN, MCP_AUTH_TOKEN, STALWART_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Langmail MCP for your own Stalwart: email, calendar and contacts tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Langmail MCP for your own Stalwart: email, calendar and contacts key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • STALWART_URL Base URL of your Stalwart server (JMAP, CalDAV and CardDAV), e.g. https://mail.example.com

    Descriptions are as written by the maker.

  4. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  5. Fill in your key

    In the Langmail MCP for your own Stalwart: email, calendar and contacts settings, STALWART_PASSWORD, STALWART_TOKEN, MCP_AUTH_TOKEN, STALWART_URL is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in Cursor in Agent mode

  7. Try it

    Use Langmail MCP for your own Stalwart: email, calendar and contacts and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Langmail MCP for your own Stalwart: email, calendar and contacts or shows a Langmail MCP for your own Stalwart: email, calendar and contacts tool in the answer, you are connected

8 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • STALWART_USERNAME Account login name, usually the mail address; use together with STALWART_PASSWORD
  • MCP_TRANSPORT Transport: stdio (the default) or http, which serves Streamable HTTP at /mcp · default stdio
  • MCP_HOST HTTP transport: address to listen on · default 127.0.0.1
  • MCP_PORT HTTP transport: port to listen on · default 8080
  • MCP_PUBLIC_URL HTTP transport: the address callers reach the server under, e.g. behind a TLS-terminating reverse proxy
  • LOG_LEVEL Log level for stderr: fatal, error, warn, info, debug, trace or silent · default warn
  • LANGMAIL_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 default
  • LANGMAIL_MCP_ALLOW_REMOTE_IMAGES Set to 1 to let preview_email load a message's remote images through this server; off by default

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a Langmail MCP for your own Stalwart: email, calendar and contacts key (create it on the maker’s site) · 1 setting(s) to fill in (STALWART_URL) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Langmail MCP for your own Stalwart: email, calendar and contacts for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "langmail": { "type": "stdio", "command": "npx", "args": [ "-y", "langmail-mcp" ], "env": { "STALWART_URL": "your-value", "STALWART_PASSWORD": "your-value", "STALWART_TOKEN": "your-value", "MCP_AUTH_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For STALWART_PASSWORD, STALWART_TOKEN, MCP_AUTH_TOKEN, STALWART_URL, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Langmail MCP for your own Stalwart: email, calendar and contacts tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Langmail MCP for your own Stalwart: email, calendar and contacts key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Fill in 1 setting(s)

    These are program settings, not keys. No sign-up needed; fill them in as the maker describes.

    • STALWART_URL Base URL of your Stalwart server (JMAP, CalDAV and CardDAV), e.g. https://mail.example.com

    Descriptions are as written by the maker.

  4. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  5. Fill in your key

    In the Langmail MCP for your own Stalwart: email, calendar and contacts settings, STALWART_PASSWORD, STALWART_TOKEN, MCP_AUTH_TOKEN, STALWART_URL is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  6. Open the AI chat in VS Code in Agent mode

  7. Try it

    Use Langmail MCP for your own Stalwart: email, calendar and contacts and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Langmail MCP for your own Stalwart: email, calendar and contacts or shows a Langmail MCP for your own Stalwart: email, calendar and contacts tool in the answer, you are connected

8 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • STALWART_USERNAME Account login name, usually the mail address; use together with STALWART_PASSWORD
  • MCP_TRANSPORT Transport: stdio (the default) or http, which serves Streamable HTTP at /mcp · default stdio
  • MCP_HOST HTTP transport: address to listen on · default 127.0.0.1
  • MCP_PORT HTTP transport: port to listen on · default 8080
  • MCP_PUBLIC_URL HTTP transport: the address callers reach the server under, e.g. behind a TLS-terminating reverse proxy
  • LOG_LEVEL Log level for stderr: fatal, error, warn, info, debug, trace or silent · default warn
  • LANGMAIL_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 default
  • LANGMAIL_MCP_ALLOW_REMOTE_IMAGES Set to 1 to let preview_email load a message's remote images through this server; off by default

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Langmail MCP for your own Stalwart: email, calendar and contacts💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user langmail --env STALWART_URL=your-value --env STALWART_PASSWORD=your-value --env STALWART_TOKEN=your-value --env MCP_AUTH_TOKEN=your-value -- npx -y langmail-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "langmail": {
      "command": "npx",
      "args": [
        "-y",
        "langmail-mcp"
      ],
      "env": {
        "STALWART_URL": "your-value",
        "STALWART_PASSWORD": "your-value",
        "STALWART_TOKEN": "your-value",
        "MCP_AUTH_TOKEN": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "langmail": {
      "command": "npx",
      "args": [
        "-y",
        "langmail-mcp"
      ],
      "env": {
        "STALWART_URL": "your-value",
        "STALWART_PASSWORD": "your-value",
        "STALWART_TOKEN": "your-value",
        "MCP_AUTH_TOKEN": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "langmail": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "langmail-mcp"
      ],
      "env": {
        "STALWART_URL": "your-value",
        "STALWART_PASSWORD": "your-value",
        "STALWART_TOKEN": "your-value",
        "MCP_AUTH_TOKEN": "your-value"
      }
    }
  }
}

Values you fill in

  • STALWART_URL required env
    Base URL of your Stalwart server (JMAP, CalDAV and CardDAV), e.g. https://mail.example.com
  • STALWART_USERNAME env
    Account login name, usually the mail address; use together with STALWART_PASSWORD
  • STALWART_PASSWORD secret required env
    App password for STALWART_USERNAME, created in Stalwart's account manager
  • STALWART_TOKEN secret required env
    Bearer token such as a Stalwart API key, as an alternative to STALWART_USERNAME and STALWART_PASSWORD
  • MCP_TRANSPORT env
    Transport: stdio (the default) or http, which serves Streamable HTTP at /mcp
  • MCP_AUTH_TOKEN secret required env
    Required with MCP_TRANSPORT=http: the secret callers send as Authorization: Bearer; at least 16 characters
  • MCP_HOST env
    HTTP transport: address to listen on
  • MCP_PORT env
    HTTP transport: port to listen on
  • MCP_PUBLIC_URL env
    HTTP transport: the address callers reach the server under, e.g. behind a TLS-terminating reverse proxy
  • LOG_LEVEL env
    Log level for stderr: fatal, error, warn, info, debug, trace or silent
  • LANGMAIL_MCP_ALLOW_UNSUBSCRIBE_POST env
    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 env
    Set to 1 to let preview_email load a message's remote images through this server; off by default

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
Not on npm/PyPI
Connection
Runs on your computer
Latest versioni
0.1.0
Published to registryi
Nov 17, 2026
Code last changedi
Nov 17, 2026
Maker
langmail
Packages
npm: langmail-mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account langmail, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 2 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for langmail-mcp@0.1.0

Checks only this package version, not every dependency · checked Nov 17, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/langmail-mcp.svg)](https://mcp.popnx.com/en/servers/langmail-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Chat & emaili

  • More stars than 83% of the other 2027 servers in this category
  • Published to the registry more recently than 91% of the other 2027 servers in this category
  • Basic checks equal to or better than 99% of the other 2027 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

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

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: STALWART_PASSWORD, STALWART_TOKEN, MCP_AUTH_TOKEN

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 2 days ago, and the latest version (0.1.0) reached the registry 2 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: emailmd, Kite Discord Bot Builder, e2a — email for AI agents, Infobip MCP, kernelCAD

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

emailmd

Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.

by anypostWidely used↓ 5.4K/wk★ 1.4KUpdated 5 days ago

Computer or cloud✓ service owner · emailmd.dev

Infobip MCP

Infobip MCP server for omnichannel communication and messaging. SMS, RCS, WhatsApp, Viber and more.

by infobipEarly★ 36Updated 13 months ago

Runs in the cloud✓ service owner · infobip.com

kernelCAD

CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.

by w1neEarly★ 35Updated 23 days ago

Runs in the cloud✓ service owner · kernelcad.com
Compared with similar ones
This one
Langmail MCP for your own Stalwart: email, calendar and contacts
emailmdKite Discord Bot Buildere2a — email for AI agentsInfobip MCPkernelCAD
Runs whereInstalls on your computerCloud or install on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyYesNoNoNoNoNo
Add with + in ClaudeNoNoNoNoYesNo
Basic checks3/35/54/44/44/44/4
LicenseMITMITAGPL-3.0Apache-2.0MITMIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

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. It was some time in 2023 and I cannot find it."
  • "Summarise the conversation with the accountant about the tax return: what is done, what is still open, and what is waiting on my reply."
  • "Draft a reply to Anna that proposes two free slots next week, and leave it in my drafts for me to review."

Reading mail does not mark it as read. Sending mail, unsubscribing and changing a meeting that other people are invited to cannot be undone, so it is sensible to have the agent confirm those with you first.

Install

The server needs Node.js 22 or later. There is nothing to install by hand: an MCP client starts the server with npx -y langmail-mcp, which downloads the package on first use. To have the langmail-mcp command available permanently, for example on a server, install it globally:

npm install -g langmail-mcp

Configure

All configuration comes from environment variables. The server checks them when it starts and refuses to start with a message that names what to set. Nothing has a default that points to a host other than your own.

VariableRequiredDefaultMeaning
STALWART_URLyesBase URL of your Stalwart, for example https://mail.example.com. JMAP, CalDAV and CardDAV are reached under it. Use https://; the server warns about http:// to any host but the local machine.
STALWART_USERNAMEwith STALWART_PASSWORDThe account's login name, usually its mail address.
STALWART_PASSWORDwith STALWART_USERNAMEAn app password for that account (see Creating a Stalwart app password).
STALWART_TOKENinstead of username and passwordA bearer token, for example a Stalwart API key. Set either this or the username and password, not both.
MCP_TRANSPORTnostdiostdio or http. The command-line arguments --http and --stdio do the same and take precedence.
MCP_AUTH_TOKENin HTTP modeThe secret callers must send as Authorization: Bearer . At least 16 printable ASCII characters without spaces.
MCP_HOSTno127.0.0.1HTTP mode: the address to listen on.
MCP_PORTno8080HTTP mode: the port to listen on.
MCP_PUBLIC_URLbehind a reverse proxyhttp:// : HTTP mode: the address callers reach the server under, for example https://mcp.example.com.
LOG_LEVELnowarnfatal, error, warn, info, debug, trace or silent. info adds one line per tool call. Logs go to stderr.
LANGMAIL_MCP_ALLOW_UNSUBSCRIBE_POSTnooffSet to 1 to let unsubscribe_from_list send a one-click unsubscribe request to the sender's URL.
LANGMAIL_MCP_ALLOW_REMOTE_IMAGESnooffSet to 1 to let preview_email load a message's remote images through this server.

.env.example lists the same settings with comments.

Your Stalwart must advertise the same public URL you set as STALWART_URL (same scheme, hostname and port). The server sends your credential to that address only: if Stalwart names another one for its JMAP or CalDAV endpoints, for example http:// behind a TLS proxy or an internal hostname, the tool call fails with a message naming both addresses and nothing is sent to the other one.

Connect an agent

The server speaks MCP over two transports. Over stdio, the MCP client starts the server as a child process, which fits an agent that runs on the same computer. Over Streamable HTTP, the server runs on its own and the agent connects to it by URL, which fits an agent on a server.

On the same computer, over stdio

Most MCP clients read a JSON configuration of this shape. The file's name and location depend on the client.

{

"mcpServers": { "langmail": { "command": "npx", "args": ["-y", "langmail-mcp"], "env": { "STALWART_URL": "https://mail.example.com", "STALWART_USERNAME": "you@example.com", "STALWART_PASSWORD": "your-app-password" } } } }

For Claude Desktop, this is the content of claude_desktop_config.json, which opens from Settings, Developer, Edit Config. For Claude Code, one command adds the server:

claude mcp add langmail \

-e STALWART_URL=https://mail.example.com \ -e STALWART_USERNAME=you@example.com \ -e STALWART_PASSWORD=your-app-password \ -- npx -y langmail-mcp

The server does not contact Stalwart when it starts. A wrong URL or password therefore shows up on the agent's first tool call, not at start-up.

On a server, over Streamable HTTP

In HTTP mode the server listens at /mcp, on 127.0.0.1:8080 by default. It refuses to start without MCP_AUTH_TOKEN, and every caller must send that secret as Authorization: Bearer . Any other request to /mcp is answered with 401 and no data. openssl rand -hex 32 generates a suitable secret.

export STALWART_URL=https://mail.example.com

export STALWART_USERNAME=you@example.com export STALWART_PASSWORD=your-app-password export MCP_AUTH_TOKEN="$(openssl rand -hex 32)" npx langmail-mcp --http

langmail-mcp: listening on http://127.0.0.1:8080/mcp

GET /healthz answers ok without the token, for a process supervisor or a load balancer to check.

To keep the server running, a systemd unit along these lines can be used. The environment file holds the variables above, one NAME=value per line, and should be readable only by the service's user (chmod 600).

# /etc/systemd/system/langmail-mcp.service

[Unit] Description=Langmail MCP for Stalwart After=network-online.target Wants=network-online.target

[Service] EnvironmentFile=/etc/langmail-mcp.env ExecStart=/usr/bin/npx -y langmail-mcp --http Restart=on-failure User=langmail-mcp

[Install] WantedBy=multi-user.target

The default address is reachable from the same machine only, which is enough for an agent that runs on that machine. The server speaks plain HTTP. For that reason, TLS must be terminated by a reverse proxy before the server is exposed beyond loopback; otherwise the token and your mail travel unencrypted. With Caddy, which obtains the certificate itself, the configuration is:

mcp.example.com {

reverse_proxy 127.0.0.1:8080 }

Behind a reverse proxy, MCP_PUBLIC_URL must be set to the address callers use, here https://mcp.example.com. The server only accepts requests addressed to a loopback name or to the host of MCP_PUBLIC_URL, as a protection against DNS rebinding, and answers 403 to a proxied request when the variable is missing. The links the attachment tools hand out are created under the same address.

A client then connects to a remote HTTP server with a bearer header. In Claude Code's .mcp.json format, which several other clients share:

{

"mcpServers": { "langmail": { "type": "http", "url": "https://mcp.example.com/mcp", "headers": { "Authorization": "Bearer your-mcp-auth-token" } } } }

The equivalent Claude Code command is:

claude mcp add --transport http langmail https://mcp.example.com/mcp \

--header "Authorization: Bearer your-mcp-auth-token"

There is no OAuth flow. A client that can only connect to remote servers through OAuth, and cannot send a fixed header, cannot use this server over HTTP.

Creating a Stalwart app password

An app password is a separate password for one application, which can be revoked without changing the account's main password. Stalwart calls it by that name. Each user creates their own in Stalwart's account manager, which is served under /account on your Stalwart (for example https://mail.example.com/account). Stalwart shows the generated password once, so copy it when it is created. Stalwart's documentation describes the steps and the options: App passwords.

Set STALWART_USERNAME to the account's login name and STALWART_PASSWORD to the app password. The server signs in with HTTP Basic authentication. Alternatively, set STALWART_TOKEN to a Stalwart API key, which is sent as a bearer token.

Tools

The server registers 40 tools. Their names and inputs are the same as on Langmail's hosted server, so the Langmail documentation describes what each one does and how they fit together: https://docs.langmail.me/reference/mcp/overview. Their descriptions are the same too, except for a few sentences that are only true of the hosted service. A test compares every definition with the hosted server's and lists each of those rewordings: src/mcp/hosted-parity.test.ts.

GroupTools
Mailsearch_emails, get_email, get_thread, preview_email, archive_emails, move_emails, trash_emails, mark_emails, unsubscribe_from_list
Drafts and sendingcreate_draft, get_draft, list_drafts, update_draft, delete_draft, send_draft, reply_to_message, forward_message
Attachmentsdownload_attachment, download_email, upload_attachments
Mail rulespreview_mail_rule, create_mail_rule, list_mail_rules, update_mail_rule, delete_mail_rule
Calendarlist_calendars, create_calendar, update_calendar, list_calendar_events, create_calendar_event, update_calendar_event, delete_calendar_event, move_calendar_events, respond_to_event
Contactssearch_contacts, list_upcoming_birthdays, create_contact, update_contact, delete_contact, merge_contacts

Differences from Langmail's hosted server

The tools behave as they do on the hosted server wherever a plain Stalwart allows it. The differences below follow from two facts: this server has no Langmail service behind it, and it sends nothing to a third party unless you turn that on.

  • Calendar sharing is left out. share_calendar and stop_sharing_calendar hand out calendar feed links that Langmail's hosted service and database serve. This server has neither, so the two tools do not exist here, and list_calendars shows no sharing information.
  • One-click unsubscribe is off by default. The one-click request of RFC 8058 goes to a URL the sender chose. unsubscribe_from_list sends it only when LANGMAIL_MCP_ALLOW_UNSUBSCRIBE_POST=1 is set. Otherwise the tool returns the unsubscribe link or address for you to use yourself.
  • Remote images are not loaded by default. preview_email renders a message without its remote images unless LANGMAIL_MCP_ALLOW_REMOTE_IMAGES=1 is set. When it is, this server fetches the images and passes them on, so the sender sees the server's address and not the address of the device t

Only the beginning is shown; read the rest in the repo