mcpbeat Sign in

IMAP mailbox MCP Server

local only

IMAP mailbox runs on your own machine — the client starts it, so there is no endpoint to ping. 902 installs a week from npm. Last commit 1 Dec 2026.

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

Installs per day peak 339 · avg 105 · +63% w/w
a month agotoday
902
Installs / week
npm · @ni-c/imap-mcp
7
Stars
0 open issues
1 Dec 2026
Last commit
9 releases in 90 days
MIT
License
TypeScript

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add imap-mcp -e 'IMAP_HOST=<IMAP_HOST>' -e 'IMAP_USER=<IMAP_USER>' -e 'IMAP_PASSWORD=<IMAP_PASSWORD>' -- npx -y @ni-c/imap-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "imap-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/imap-mcp"
      ],
      "env": {
        "IMAP_HOST": "<IMAP_HOST>",
        "IMAP_PASSWORD": "<IMAP_PASSWORD>",
        "IMAP_USER": "<IMAP_USER>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.imap-mcp]
command = "npx"
args = ["-y", "@ni-c/imap-mcp"]
env = { IMAP_HOST = "<IMAP_HOST>", IMAP_USER = "<IMAP_USER>", IMAP_PASSWORD = "<IMAP_PASSWORD>" }
.cursor/mcp.json
{
  "mcpServers": {
    "imap-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/imap-mcp"
      ],
      "env": {
        "IMAP_HOST": "<IMAP_HOST>",
        "IMAP_PASSWORD": "<IMAP_PASSWORD>",
        "IMAP_USER": "<IMAP_USER>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "imap-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/imap-mcp"
      ],
      "env": {
        "IMAP_HOST": "<IMAP_HOST>",
        "IMAP_PASSWORD": "<IMAP_PASSWORD>",
        "IMAP_USER": "<IMAP_USER>"
      }
    }
  }
}

Put your own values in place of <IMAP_HOST> (Hostname of the IMAP server, e.g. imap.example.net), <IMAP_USER> (Mailbox user name), <IMAP_PASSWORD> (Mailbox password or app password). The author’s registry entry marks them as required.

Optional settings from the registry entry, left out of the block above: IMAP_PORT (Defaults to 993 with implicit TLS, 143 otherwise), IMAP_TLS (implicit (default), starttls or none), IMAP_MAILBOX (Default mailbox to work in (default: INBOX)), IMAP_SEEN_KEYWORD (IMAP keyword marking what the assistant has already seen (default: AiSeen)), IMAP_READ_ONLY (Set to false to register the mailbox write tools; defaults to true), IMAP_ALLOW_TOOLS (Comma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)), IMAP_DENY_TOOLS (Comma-separated tool names or list_* prefixes to remove from whatever IMAP_ALLOW_TOOLS left), IMAP_DOWNLOAD_DIR (Directory attachments may be written to; unset means the server never touches the filesystem), IMAP_INSECURE_TLS (Set to true to accept self-signed certificates, scoped to this connection), IMAP_DRAFTS_MAILBOX (Drafts folder to save into; by default the one flagged \Drafts is used), IMAP_MAX_MESSAGES (Default number of messages a listing returns (default: 100)), IMAP_MAX_ATTACHMENT_BYTES (Ceiling for returning an attachment inline (default: 1048576)), IMAP_MAX_DOWNLOAD_BYTES (Ceiling for writing an attachment to disk (default: 26214400)), IMAP_MAX_EXTRACT_BYTES (Ceiling for reading a document's text with mode=text (default: 10485760, maximum: 67108864)), IMAP_COMMAND_TIMEOUT_SECONDS (Seconds one IMAP command may take before the call is abandoned (default: 30, maximum: 600)), IMAP_ATTACHMENT_TYPES (Comma-separated content-type allowlist for attachments), IMAP_TRUSTED_AUTHSERV_ID (authserv-id your provider stamps into Authentication-Results; without it every verdict is reported as forgeable).

What the code does

We read the source, 1 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Dumps the whole environment src/extract/child.ts:55
    Object.keys(process.env).some((key) => key !== 'IMAP_MCP_EXTRACT_PROBE')

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Alternatives to IMAP mailbox

same job, measured the same way
WireCat Mail
by wirecat

Your mailbox for agents: search, organise, draft and send mail. Add the account with mail first.

1 406 installs/wk local only
Apple Reminders
by mgcrea

Search, read and act on Apple Reminders — lists, due dates, writes off by default

1 017 installs/wk local only
Samarth Gtm MCP
by samarthanalytics-sj

Google Tag Manager + read-only GA4 MCP server. Read-only by default, gated writes, audits.

909 installs/wk local only
Groundhog
by dmytrome

Search, read and research the web, with hidden text stripped by default and sources hashed

800 installs/wk local only
Fluxmail
by fluxmailai

Read, search, draft, send, and organize email through Gmail, Outlook, and IMAP/SMTP mailboxes.

790 installs/wk local only
Thunderbird MCP
by simonjamescarroll

Search, read, draft, send and organize Thunderbird, IMAP, Gmail and Outlook mail from AI agents.

576 installs/wk local only
Proton Mail (unofficial)
by sethbang

Unofficial Proton Mail MCP — send, read, search & organize email over SMTP and IMAP

303 installs/wk local only
Google E-commerce (GA4, Search Console, Merchant Center, Ads)
by mooneyes

Multi-client read and controlled write (off by default): GA4, GSC, Merchant, GTM, ad platforms.

233 installs/wk local only

IMAP mailbox — questions

Answers built from our own checks of this server.

Why is there no uptime for IMAP mailbox?
IMAP mailbox runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @ni-c/imap-mcp was installed 902 times last week.
How do I connect IMAP mailbox?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @ni-c/imap-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use IMAP mailbox?
The npm package @ni-c/imap-mcp was installed 902 times in the last week. Week over week that is +63%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is IMAP mailbox open source?
Yes — it is published under the MIT licence, written in TypeScript and 7 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.