Langmail MCP for your own Stalwart: email, calendar and contacts for Windsurf
io.github.langmail/langmail-mcp
Self-hosted MCP server for Stalwart: email, calendar and contacts over JMAP, CalDAV and CardDAV.
client:Windsurf
transport:stdio
runtime:npm
Install Langmail MCP for your own Stalwart: email, calendar and contacts in Windsurf
~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"langmail-mcp": {
"command": "npx",
"args": [
"-y",
"langmail-mcp"
],
"env": {
"STALWART_URL": "<STALWART_URL>",
"STALWART_USERNAME": "<STALWART_USERNAME>",
"STALWART_PASSWORD": "<STALWART_PASSWORD>",
"STALWART_TOKEN": "<STALWART_TOKEN>",
"MCP_TRANSPORT": "<MCP_TRANSPORT>",
"MCP_AUTH_TOKEN": "<MCP_AUTH_TOKEN>",
"MCP_HOST": "<MCP_HOST>",
"MCP_PORT": "<MCP_PORT>",
"MCP_PUBLIC_URL": "<MCP_PUBLIC_URL>",
"LOG_LEVEL": "<LOG_LEVEL>",
"LANGMAIL_MCP_ALLOW_UNSUBSCRIBE_POST": "<LANGMAIL_MCP_ALLOW_UNSUBSCRIBE_POST>",
"LANGMAIL_MCP_ALLOW_REMOTE_IMAGES": "<LANGMAIL_MCP_ALLOW_REMOTE_IMAGES>"
}
}
}
}
Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs