Skip to content
Windsurf

imap mcp for Windsurf

io.github.langmail/imap-mcp

IMAP email as MCP tools: create draft messages in the Drafts folder of any IMAP mailbox.

client:Windsurf transport:stdio runtime:npm

Install imap mcp in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "imap-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "imap-mcp"
      ],
      "env": {
        "IMAP_HOST": "<IMAP_HOST>",
        "IMAP_PORT": "<IMAP_PORT>",
        "IMAP_USERNAME": "<IMAP_USERNAME>",
        "IMAP_PASSWORD": "<IMAP_PASSWORD>",
        "IMAP_USE_SSL": "<IMAP_USE_SSL>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

imap mcp in other clients