← Index

IMAP mailbox

io.github.ni-c/imap-mcpv0.2.0Search

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

The current version, v0.2.0, was published to the official MCP registry on 2026-08-30. It is distributed as @ni-c/imap-mcp on npm and as the Docker image ghcr.io/ni-c/imap-mcp:0.2.0, filed under Search by this index, and declares 18 environment variables. Removals and unreachable sources are measured across every server this index tracks, contract drift across the servers that answer in consecutive snapshots; the index's current counts put this record in context.

In-path gate · all MCP tools

Using IMAP mailbox in Claude, Cursor, Gemini CLI, Cline, or Zed?

MCP tool contracts can change remotely with no version bump. The mcpindex gate pins each contract and HOLDs the call when it drifts-before your agent acts. Zero credentials. This is not the package install for this server itself (use Install this server for that).

Install the mcpindex gate (one command)

Rewrites your MCP host config so each server launches behind the gate. Inspect first: curl -fsSL https://mcpindex.ai/install.sh | less

uv tool install mcpindex-gate && mcpindex-config-wire
Trust verdict · v1 advisory · method
NOT YET SCREENEDno verdict on file

Verdict not yet evaluated for this tool. The semantic screen takes adversarial cases first; coverage rolls out as the corpus expands (15/150 labels to graduation). The deterministic conformance probe is built but has not yet run on the public corpus, so a recorded verdict here is REVIEW or UNVERIFIED, never a clearing ALLOW. Until a verdict is recorded, an agent should treat this tool as not-yet-cleared and fall back to its own checks. Method: the eval, four-state verdict, honest limits.

Own this server? Screen its description →

That verdict was true at screening time (snapshot 2026-08-31).

Contracts can change after screening, with no version bump. The gate pins IMAP mailbox’s tool contracts on first sight and holds any silent change before your agent acts - the check that keeps being true on Tuesday.

See your first HOLD in 2 minutes →

Related: how to trust an MCP server · screen before install · silent contract drift

Environment variables
IMAP_HOST
required

Hostname of the IMAP server, e.g. imap.example.net

IMAP_USER
required

Mailbox user name

IMAP_PASSWORD
requiredsecret

Mailbox password or app password

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_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

IMAP_HOST
required

Hostname of the IMAP server, e.g. imap.example.net

IMAP_USER
required

Mailbox user name

IMAP_PASSWORD
requiredsecret

Mailbox password or app password

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_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

MCP quality score · maturity, not trust · methodology
freshness
25
completeness
20
installability
25
documentation
15
stability
5
Alternatives in Search