Skip to content
Cursor

imap mcp for Cursor

io.github.langmail/imap-mcp

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

client:Cursor transport:stdio runtime:npm

Install imap mcp in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

{
  "mcpServers": {
    "imap-mcp": {
      "type": "stdio",
      "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>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

imap mcp in other clients