Skip to content
Claude Code

imap mcp for Claude Code

io.github.langmail/imap-mcp

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

client:Claude Code transport:stdio runtime:npm

Install imap mcp in Claude Code

run in your project directory

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

claude mcp add imap-mcp -e IMAP_HOST=<IMAP_HOST> -e IMAP_PORT=<IMAP_PORT> -e IMAP_USERNAME=<IMAP_USERNAME> -e IMAP_PASSWORD=<IMAP_PASSWORD> -e IMAP_USE_SSL=<IMAP_USE_SSL> -- npx -y imap-mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

imap mcp in other clients