Imap MCP Server

📧 An IMAP Model Context Protocol (MCP) server to expose IMAP operations as tools for AI assistants.

Local serverstdioTypeScript

What is the Imap MCP MCP server?

Imap MCP becomes available to MCP clients through the imap mcp mcp server. 📧 An IMAP Model Context Protocol (MCP) server to expose IMAP operations as tools for AI assistants.

What Imap MCP does

📧 An IMAP Model Context Protocol (MCP) server to expose IMAP operations as tools for AI assistants.

Installing the imap mcp mcp server

The server is distributed via npm as tsc, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

The server reads 5 environment variables: IMAP_HOST, IMAP_PORT, IMAP_USERNAME, IMAP_PASSWORD, IMAP_USE_SSL. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

Communication servers earn their keep on volume — summarising channels and threads that would otherwise cost you an hour of scrollback. Imap MCP sits in that group. Worth comparing against the other communication servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • Maintained by dominik1001, written in TypeScript.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the imap mcp mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

How to install the Imap MCP MCP server

{
  "mcpServers": {
    ...,
    "imap": {
      "command": "npx",
      "args": [
        "imap-mcp"
      ],
      "env": {
        "IMAP_HOST": "<IMAP host>",
        "IMAP_PORT": "<IMAP port>",
        "IMAP_USERNAME": "<IMAP username>",
        "IMAP_PASSWORD": "<IMAP password>",
        "IMAP_USE_SSL": "<true or false>"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
IMAP_HOSTEndpoint or connection string the server talks to.Optional
IMAP_PORTConfiguration value read at startup.Optional
IMAP_USERNAMEConfiguration value read at startup.Optional
IMAP_PASSWORDConfiguration value read at startup.Optional
IMAP_USE_SSLConfiguration value read at startup.Optional

Frequently asked questions

It connects Imap MCP to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Imap MCP directly.