Skip to content
Zed

imap mcp for Zed

io.github.langmail/imap-mcp

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

client:Zed transport:stdio runtime:npm

Install imap mcp in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

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

{
  "context_servers": {
    "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>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

imap mcp in other clients