MCP.so
Sign In

Imap MCP Server

@ni-c

Basic information

Category

Other

Last updated

License

MIT

Author

ni-c

About Imap MCP Server

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

Imap MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "imap-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ni-c/imap-mcp"
      ],
      "env": {
        "IMAP_HOST": "imap.example.net",
        "IMAP_USER": "you@example.net",
        "IMAP_PASSWORD": "…"
      }
    }
  }
}

Imap MCP Server tools

11

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, `dry_run` to preview

Headers and body, fenced untrusted, plus the security assessment; `include_thread`

Without `part_id` lists them, with `part_id` reads, extracts or saves one

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

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

👤 asks the user, 🔒 where the client cannot

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

none — a draft does not leave the mailbox

Overview

What is Imap?

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

How to use Imap?

The README includes setup instructions such as -- npx -y @ni-c/imap-mcp.

Key features of Imap

  • Node.js 24 or newer
  • An IMAP account. Providers with two-factor authentication generally need an app-specific
  • Every result carrying mailbox content is marked untrusted, message bodies additionally
  • Attachments pass two independent gates. The declaration is checked against a
  • A part_id must come from a listing call, so the body cannot be pulled out through the

Use cases of Imap

  • Connect an MCP-compatible client to this repository's service.
  • Review the README-backed setup before enabling it in production.

Frequently asked questions

1

Where is the source code for Imap?

The source code is linked from the repository URL on this page.

2

Does Imap include a standard MCP config?

If the README contains a parseable MCP configuration block, it is shown in the Config tab.

Comments

More Other MCP servers