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.
Documentation & Preview
{ "mcpServers": { "mcp-langmail-mcp-48546d67130104222fb2": { "command": "npx", "args": [ "-y", "--package", "langmail-mcp@0.1.0", "langmail-mcp" ], "env": { "STALWART_URL": "${ENV_STALWART_URL}", "STALWART_USERNAME": "${ENV_STALWART_USERNAME}", "STALWART_PASSWORD": "${ENV_STALWART_PASSWORD}", "STALWART_TOKEN": "${ENV_STALWART_TOKEN}", "MCP_TRANSPORT": "${ENV_MCP_TRANSPORT}", "MCP_AUTH_TOKEN": "${ENV_MCP_AUTH_TOKEN}", "MCP_HOST": "${ENV_MCP_HOST}", "MCP_PORT": "${ENV_MCP_PORT}", "MCP_PUBLIC_URL": "${ENV_MCP_PUBLIC_URL}", "LOG_LEVEL": "${ENV_LOG_LEVEL}", "LANGMAIL_MCP_ALLOW_UNSUBSCRIBE_POST": "${ENV_LANGMAIL_MCP_ALLOW_UNSUBSCRIBE_POST}", "LANGMAIL_MCP_ALLOW_REMOTE_IMAGES": "${ENV_LANGMAIL_MCP_ALLOW_REMOTE_IMAGES}" } } }, "setup": { "fields": [ { "id": "ENV_STALWART_URL", "label": "STALWART_URL", "description": "Base URL of your Stalwart server (JMAP, CalDAV and CardDAV), e.g. https://mail.example.com", "required": true, "secret": false, "default": "" }, { "id": "ENV_STALWART_USERNAME", "label": "STALWART_USERNAME", "description": "Account login name, usually the mail address; use together with STALWART_PASSWORD", "required": false, "secret": false, "default": "" }, { "id": "ENV_STALWART_PASSWORD", "label": "STALWART_PASSWORD", "description": "App password for STALWART_USERNAME, created in Stalwart's account manager", "required": false, "secret": true, "default": "" }, { "id": "ENV_STALWART_TOKEN", "label": "STALWART_TOKEN", "description": "Bearer token such as a Stalwart API key, as an alternative to STALWART_USERNAME and STALWART_PASSWORD", "required": false, "secret": true, "default": "" }, { "id": "ENV_MCP_TRANSPORT", "label": "MCP_TRANSPORT", "description": "Transport: stdio (the default) or http, which serves Streamable HTTP at /mcp", "required": false, "secret": false, "default": "stdio" }, { "id": "ENV_MCP_AUTH_TOKEN", "label": "MCP_AUTH_TOKEN", "description": "Required with MCP_TRANSPORT=http: the secret callers send as Authorization: Bearer; at least 16 characters", "required": false, "secret": true, "default": "" }, { "id": "ENV_MCP_HOST", "label": "MCP_HOST", "description": "HTTP transport: address to listen on", "required": false, "secret": false, "default": "127.0.0.1" }, { "id": "ENV_MCP_PORT", "label": "MCP_PORT", "description": "HTTP transport: port to listen on", "required": false, "secret": false, "default": "8080" }, { "id": "ENV_MCP_PUBLIC_URL", "label": "MCP_PUBLIC_URL", "description": "HTTP transport: the address callers reach the server under, e.g. behind a TLS-terminating reverse proxy", "required": false, "secret": false, "default": "" }, { "id": "ENV_LOG_LEVEL", "label": "LOG_LEVEL", "description": "Log level for stderr: fatal, error, warn, info, debug, trace or silent", "required": false, "secret": false, "default": "warn" }, { "id": "ENV_LANGMAIL_MCP_ALLOW_UNSUBSCRIBE_POST", "label": "LANGMAIL_MCP_ALLOW_UNSUBSCRIBE_POST", "description": "Set to 1 to let unsubscribe_from_list send the RFC 8058 one-click request to the sender's URL; off by default", "required": false, "secret": false, "default": "" }, { "id": "ENV_LANGMAIL_MCP_ALLOW_REMOTE_IMAGES", "label": "LANGMAIL_MCP_ALLOW_REMOTE_IMAGES", "description": "Set to 1 to let preview_email load a message's remote images through this server; off by default", "required": false, "secret": false, "default": "" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.langmail/langmail-mcp", "registryVersion": "0.1.0", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.langmail%2Flangmail-mcp/versions/0.1.0", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "langmail-mcp", "version": "0.1.0", "integrity": "sha512-GVAfia+H/DGUkhQSwmNxKXuC4F/Ix/EG+jMFzZCjtyoWHBdRX0UNUUr9xfSou6kixqibl35jPlKySW6GZmjpQg==", "registryNameMatched": "io.github.langmail/langmail-mcp", "checkedAt": "2026-11-17T15:20:02.325Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }