Data · Local MCP server

IMAP mailbox

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

Visit IMAP mailbox's website

What the MCP Registry states

The entry as published to the official MCP Registry (read 2026-10-04), latest version.

Registry name
io.github.ni-c/imap-mcp
Version
0.5.1
Status
Active
Category
data
Transport
stdio (local process)
Package
npm, OCI image (Docker)
Published
2026-09-29
Updated
2026-09-29
Publisher
ni-c (GitHub) · 18 servers with pages here
Listed under
Email MCP servers
Website
imap-mcp.ni-c.de
Repository
github.com/ni-c/imap-mcp
Source
Registry API entry

Packages

RegistryPackageVersionTransportEnvironment variables
npm@ni-c/imap-mcp0.5.1stdioIMAP_HOST (required), IMAP_USER (required), IMAP_PASSWORD (required, secret), IMAP_PORT, IMAP_TLS, IMAP_MAILBOX, IMAP_SEEN_KEYWORD, IMAP_READ_ONLY, IMAP_ALLOW_TOOLS, IMAP_DENY_TOOLS, IMAP_DOWNLOAD_DIR, IMAP_INSECURE_TLS, IMAP_DRAFTS_MAILBOX, IMAP_MAX_MESSAGES, IMAP_MAX_ATTACHMENT_BYTES, IMAP_MAX_DOWNLOAD_BYTES, IMAP_MAX_EXTRACT_BYTES, IMAP_ATTACHMENT_TYPES, IMAP_TRUSTED_AUTHSERV_ID
OCI image (Docker)ghcr.io/ni-c/imap-mcp:0.5.1—stdioIMAP_HOST (required), IMAP_USER (required), IMAP_PASSWORD (required, secret), IMAP_PORT, IMAP_TLS, IMAP_MAILBOX, IMAP_SEEN_KEYWORD, IMAP_READ_ONLY, IMAP_ALLOW_TOOLS, IMAP_DENY_TOOLS, IMAP_DOWNLOAD_DIR, IMAP_INSECURE_TLS, IMAP_DRAFTS_MAILBOX, IMAP_MAX_MESSAGES, IMAP_MAX_ATTACHMENT_BYTES, IMAP_MAX_DOWNLOAD_BYTES, IMAP_MAX_EXTRACT_BYTES, IMAP_ATTACHMENT_TYPES, IMAP_TRUSTED_AUTHSERV_ID

How to connect IMAP mailbox

IMAP mailbox runs locally from a Node.js package published to the npm registry: @ni-c/imap-mcp version 0.5.1. It speaks MCP over stdio, so the client starts it as a program and talks to it through standard input and output. It needs Node.js; clients usually start it with npx — the usual command is npx -y @ni-c/imap-mcp@0.5.1. It reads these environment variables: IMAP_HOST (required), IMAP_USER (required), IMAP_PASSWORD (required, secret), IMAP_PORT, IMAP_TLS, IMAP_MAILBOX, IMAP_SEEN_KEYWORD, IMAP_READ_ONLY, IMAP_ALLOW_TOOLS, IMAP_DENY_TOOLS, IMAP_DOWNLOAD_DIR, IMAP_INSECURE_TLS, IMAP_DRAFTS_MAILBOX, IMAP_MAX_MESSAGES, IMAP_MAX_ATTACHMENT_BYTES, IMAP_MAX_DOWNLOAD_BYTES, IMAP_MAX_EXTRACT_BYTES, IMAP_ATTACHMENT_TYPES and IMAP_TRUSTED_AUTHSERV_ID; set them in the client's configuration for this server.

IMAP mailbox runs locally from a container image in an OCI registry such as Docker Hub or GitHub Container Registry: ghcr.io/ni-c/imap-mcp:0.5.1. It speaks MCP over stdio, so the client starts it as a program and talks to it through standard input and output. It needs Docker or another OCI container runtime; started with docker run — the usual command is docker run -i --rm -e IMAP_HOST -e IMAP_USER -e IMAP_PASSWORD -e IMAP_PORT -e IMAP_TLS -e IMAP_MAILBOX -e IMAP_SEEN_KEYWORD -e IMAP_READ_ONLY -e IMAP_ALLOW_TOOLS -e IMAP_DENY_TOOLS -e IMAP_DOWNLOAD_DIR -e IMAP_INSECURE_TLS -e IMAP_DRAFTS_MAILBOX -e IMAP_MAX_MESSAGES -e IMAP_MAX_ATTACHMENT_BYTES -e IMAP_MAX_DOWNLOAD_BYTES -e IMAP_MAX_EXTRACT_BYTES -e IMAP_ATTACHMENT_TYPES -e IMAP_TRUSTED_AUTHSERV_ID ghcr.io/ni-c/imap-mcp:0.5.1. It reads these environment variables: IMAP_HOST (required), IMAP_USER (required), IMAP_PASSWORD (required, secret), IMAP_PORT, IMAP_TLS, IMAP_MAILBOX, IMAP_SEEN_KEYWORD, IMAP_READ_ONLY, IMAP_ALLOW_TOOLS, IMAP_DENY_TOOLS, IMAP_DOWNLOAD_DIR, IMAP_INSECURE_TLS, IMAP_DRAFTS_MAILBOX, IMAP_MAX_MESSAGES, IMAP_MAX_ATTACHMENT_BYTES, IMAP_MAX_DOWNLOAD_BYTES, IMAP_MAX_EXTRACT_BYTES, IMAP_ATTACHMENT_TYPES and IMAP_TRUSTED_AUTHSERV_ID; set them in the client's configuration for this server.

In the mcpServers JSON format that many desktop and editor MCP clients read, the entry looks like this (placeholders in angle brackets):

{
  "mcpServers": {
    "imap-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/imap-mcp@0.5.1"
      ],
      "env": {
        "IMAP_HOST": "<value>",
        "IMAP_USER": "<value>",
        "IMAP_PASSWORD": "<secret>",
        "IMAP_PORT": "<value>",
        "IMAP_TLS": "<value>",
        "IMAP_MAILBOX": "<value>",
        "IMAP_SEEN_KEYWORD": "<value>",
        "IMAP_READ_ONLY": "<value>",
        "IMAP_ALLOW_TOOLS": "<value>",
        "IMAP_DENY_TOOLS": "<value>",
        "IMAP_DOWNLOAD_DIR": "<value>",
        "IMAP_INSECURE_TLS": "<value>",
        "IMAP_DRAFTS_MAILBOX": "<value>",
        "IMAP_MAX_MESSAGES": "<value>",
        "IMAP_MAX_ATTACHMENT_BYTES": "<value>",
        "IMAP_MAX_DOWNLOAD_BYTES": "<value>",
        "IMAP_MAX_EXTRACT_BYTES": "<value>",
        "IMAP_ATTACHMENT_TYPES": "<value>",
        "IMAP_TRUSTED_AUTHSERV_ID": "<value>"
      }
    }
  }
}

Derived from the registry entry, not tested here. What the server does, and on what terms, is set by its publisher; check its repository or website before giving it access to your accounts or files. How to add an MCP server to an assistant · Before you connect

More from ni-c (GitHub)

All 18 →
ServerRunsEndpoint or package
CalDAV calendarsRead and write CalDAV calendars: events, tasks and journal entries over the open standard.Local · stdionpm: @ni-c/caldav-mcp
Calibre-WebRead-only MCP server for Calibre-Web: library search, browsing and covers via the OPDS feed.Local · stdionpm: calibreweb-mcp
CardDAV address booksRead and write CardDAV address books: contacts, groups and photos over the open standard.Local · stdionpm: @ni-c/carddav-mcp
Google Search ConsoleMCP server for Google Search Console: properties, sitemaps, search analytics and URL inspection.Local · stdionpm: @ni-c/google-search-console-mcp
HealthchecksInspect, create and adjust Healthchecks cron and uptime checks, and read why one failed.Local · stdionpm: healthchecks-mcp
Hetzner DNSManage DNS zones and records (zonefiles, RRSets, TTL, protection) via the Hetzner Cloud API.Local · stdionpm: hetzner-dns-mcp
LinkwardenMCP server for Linkwarden, the self-hosted bookmark manager with page preservation.Local · stdionpm: linkwarden-mcp
mcp-hubMany stdio MCP servers from one container, published over HTTPS with OAuth 2.1 for any MCP client.Local · stdio, HTTPnpm: @ni-c/mcp-hub
Mealie MCP ServerMCP server for Mealie, the self-hosted recipe manager and meal planner.Local · stdionpm: @ni-c/mealie-mcp
ntfyPublish ntfy notifications, read the message cache, and manage users and topic access.Local · stdionpm: @ni-c/ntfy-mcp
OpengistRead, create, update and delete gists on a self-hosted Opengist instance.Local · stdionpm: opengist-mcp
OpenStreetMapGeocoding, walking/driving/cycling distances, route optimization, isochrones and POI search on OSM.Local · stdionpm: osm-mcp

More data servers

All 4,395 →
ServerRunsEndpoint or package
Il Eli MCPMCP server for Israeli law: Knesset legislation and case law, verifiable citations.Local · stdioPyPI: il-eli-mcp
ILO Labour Statistics (ILOSTAT): unemployment, wages, informalityLabour market data from the ILO (ILOSTAT) by country, year, sex and age, with provenance.Remote & Local · HTTP, stdioilo.sidneybissoli.com
IlostatILOSTAT (International Labour Organization statistics) MCP — global labour.Remote · HTTPgateway.pipeworx.io
IlyaGusev Academia MCPSearch arXiv and ACL Anthology, retrieve citations and references, and browse web sources to accel…Remote · HTTPserver.smithery.ai
iMessage HistorySearch and read your Apple Messages history from any MCP client. Read-only, local.Local · stdionpm: imessage-mcp
Immigration ResearchU.S. immigration law research: BIA/AAO/circuit cases, INA/CFR, USCIS policy, crimmigration.Remote · HTTPmcp.biaedge.com
Inaturalist MCPSearch species and recent observations from iNaturalist. No key required.Local · stdionpm: @mrfentmen/inaturalist-mcp
Inclusify AccessibilityAccessibility and WCAG data for your own websites: fix lists, live checks, and fix validation.Remote · HTTPapp.inclusifyapp.com