Skip to content
Verified official

IMAP mailbox MCP

v0.5.0

io.github.ni-c/imap-mcp

Read, search and organise any IMAP mailbox, with writes off by default

transport:stdio runtime:npm

Target client

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_USER=<IMAP_USER> -e IMAP_PASSWORD=<IMAP_PASSWORD> -e IMAP_PORT=<IMAP_PORT> -e IMAP_TLS=<IMAP_TLS> -e IMAP_MAILBOX=<IMAP_MAILBOX> -e IMAP_SEEN_KEYWORD=<IMAP_SEEN_KEYWORD> -e IMAP_READ_ONLY=<IMAP_READ_ONLY> -e IMAP_ALLOW_TOOLS=<IMAP_ALLOW_TOOLS> -e IMAP_DENY_TOOLS=<IMAP_DENY_TOOLS> -e IMAP_DOWNLOAD_DIR=<IMAP_DOWNLOAD_DIR> -e IMAP_INSECURE_TLS=<IMAP_INSECURE_TLS> -e IMAP_DRAFTS_MAILBOX=<IMAP_DRAFTS_MAILBOX> -e IMAP_MAX_MESSAGES=<IMAP_MAX_MESSAGES> -e IMAP_MAX_ATTACHMENT_BYTES=<IMAP_MAX_ATTACHMENT_BYTES> -e IMAP_MAX_DOWNLOAD_BYTES=<IMAP_MAX_DOWNLOAD_BYTES> -e IMAP_MAX_EXTRACT_BYTES=<IMAP_MAX_EXTRACT_BYTES> -e IMAP_ATTACHMENT_TYPES=<IMAP_ATTACHMENT_TYPES> -e IMAP_TRUSTED_AUTHSERV_ID=<IMAP_TRUSTED_AUTHSERV_ID> -- npx -y @ni-c/imap-mcp

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

This listing does not declare its tools. Connect the server and your client will discover them on the handshake.