Skip to content
MCP server
Registry

IMAP mailbox MCP Server

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

IMAP mailbox scores 45 (Fair), licensed MIT and written in TypeScript. It installs as a local process. It declares 11 tools. Filed under Communication, AI and memory. GitHub shows 7 stars. Package registries report about 921 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by ni-cMITTypeScript7 stars
Trust score
45Fair
Trust score 45 of 100, Fair

Fair trust

45 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 45 comes from

0 + 20 + 8 + 10 + 4 + 3 = 45. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity8 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 8 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs3 / 10

A real summary, a README with depth, listed tools.

Docs: 3 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "ni-c-imap-mcp": {      "command": "npx",      "args": [        "-y",        "@ni-c/imap-mcp@0.9.0"      ],      "env": {        "IMAP_HOST": "",        "IMAP_USER": "",        "IMAP_PASSWORD": "YOUR_IMAP_PASSWORD",        "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_COMMAND_TIMEOUT_SECONDS": "",        "IMAP_ATTACHMENT_TYPES": "",        "IMAP_TRUSTED_AUTHSERV_ID": ""      }    }  }}

Environment variables

NameRequiredNotes
IMAP_HOSTRequiredHostname of the IMAP server, e.g. imap.example.net
IMAP_USERRequiredMailbox user name
IMAP_PASSWORDSecretRequiredMailbox password or app password
IMAP_PORTOptionalDefaults to 993 with implicit TLS, 143 otherwise
IMAP_TLSOptionalimplicit (default), starttls or none
IMAP_MAILBOXOptionalDefault mailbox to work in (default: INBOX)
IMAP_SEEN_KEYWORDOptionalIMAP keyword marking what the assistant has already seen (default: AiSeen)
IMAP_READ_ONLYOptionalSet to false to register the mailbox write tools; defaults to true
IMAP_ALLOW_TOOLSOptionalComma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)
IMAP_DENY_TOOLSOptionalComma-separated tool names or list_* prefixes to remove from whatever IMAP_ALLOW_TOOLS left
IMAP_DOWNLOAD_DIROptionalDirectory attachments may be written to; unset means the server never touches the filesystem
IMAP_INSECURE_TLSOptionalSet to true to accept self-signed certificates, scoped to this connection
IMAP_DRAFTS_MAILBOXOptionalDrafts folder to save into; by default the one flagged \Drafts is used
IMAP_MAX_MESSAGESOptionalDefault number of messages a listing returns (default: 100)
IMAP_MAX_ATTACHMENT_BYTESOptionalCeiling for returning an attachment inline (default: 1048576)
IMAP_MAX_DOWNLOAD_BYTESOptionalCeiling for writing an attachment to disk (default: 26214400)
IMAP_MAX_EXTRACT_BYTESOptionalCeiling for reading a document's text with mode=text (default: 10485760, maximum: 67108864)
IMAP_COMMAND_TIMEOUT_SECONDSOptionalSeconds one IMAP command may take before the call is abandoned (default: 30, maximum: 600)
IMAP_ATTACHMENT_TYPESOptionalComma-separated content-type allowlist for attachments
IMAP_TRUSTED_AUTHSERV_IDOptionalauthserv-id your provider stamps into Authentication-Results; without it every verdict is reported as forgeable
IMAP_HOSTRequiredHostname of the IMAP server, e.g. imap.example.net
IMAP_USERRequiredMailbox user name
IMAP_PASSWORDSecretRequiredMailbox password or app password
IMAP_PORTOptionalDefaults to 993 with implicit TLS, 143 otherwise
IMAP_TLSOptionalimplicit (default), starttls or none
IMAP_MAILBOXOptionalDefault mailbox to work in (default: INBOX)
IMAP_SEEN_KEYWORDOptionalIMAP keyword marking what the assistant has already seen (default: AiSeen)
IMAP_READ_ONLYOptionalSet to false to register the mailbox write tools; defaults to true
IMAP_ALLOW_TOOLSOptionalComma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)
IMAP_DENY_TOOLSOptionalComma-separated tool names or list_* prefixes to remove from whatever IMAP_ALLOW_TOOLS left
IMAP_DOWNLOAD_DIROptionalDirectory attachments may be written to; unset means the server never touches the filesystem
IMAP_INSECURE_TLSOptionalSet to true to accept self-signed certificates, scoped to this connection
IMAP_DRAFTS_MAILBOXOptionalDrafts folder to save into; by default the one flagged \Drafts is used
IMAP_MAX_MESSAGESOptionalDefault number of messages a listing returns (default: 100)
IMAP_MAX_ATTACHMENT_BYTESOptionalCeiling for returning an attachment inline (default: 1048576)
IMAP_MAX_DOWNLOAD_BYTESOptionalCeiling for writing an attachment to disk (default: 26214400)
IMAP_MAX_EXTRACT_BYTESOptionalCeiling for reading a document's text with mode=text (default: 10485760, maximum: 67108864)
IMAP_COMMAND_TIMEOUT_SECONDSOptionalSeconds one IMAP command may take before the call is abandoned (default: 30, maximum: 600)
IMAP_ATTACHMENT_TYPESOptionalComma-separated content-type allowlist for attachments
IMAP_TRUSTED_AUTHSERV_IDOptionalauthserv-id your provider stamps into Authentication-Results; without it every verdict is reported as forgeable

Tools11Tool docs quality grade D

All capabilities
  • 👤 asks the user, 🔒 where the client cannot

  • Without partid lists them, with partid reads, extracts or saves one

  • Headers and body, fenced untrusted, plus the security assessment; includethread

  • Capabilities, permanent flags, whether the keyword is storable, which tool groups are on

  • Every folder with message and unseen counts and its special-use role

  • Lists and searches: sender, recipient, subject, body, date range, flags, Gmail query

  • Messages not handed over yet; marks them afterwards, dryrun to preview

  • 👤 for delete, 🔒 for rename, none for create

  • 👤 for both move and copy, 🔒 where the client cannot

  • none — a draft does not leave the mailbox

  • none — flags are reversible, and \Deleted is refused

About

MCP server for IMAP mailboxes: read, search, organise and draft mail — it deliberately cannot send

Frequently asked questions

What is IMAP mailbox MCP Server?

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

How do I install IMAP mailbox MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. IMAP mailbox MCP Server runs locally from the npm package @ni-c/imap-mcp with the command npx -y @ni-c/imap-mcp@0.9.0.

Is IMAP mailbox MCP Server free and open source?

Yes. IMAP mailbox MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does IMAP mailbox MCP Server support remote (HTTP) connections?

No remote endpoint is listed for IMAP mailbox MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does IMAP mailbox MCP Server provide?

IMAP mailbox MCP Server provides 11 tools, including delete_messages, get_attachments, get_message, and get_server_info. See the full tool list for descriptions and parameters.

How is IMAP mailbox MCP Server's trust score calculated?

IMAP mailbox MCP Server scores 45 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server