NestDaddy

Imap Mcp

io.github.langmail/imap-mcp · v0.1.2

IMAP email as MCP tools: create draft messages in the Drafts folder of any IMAP mailbox.

Is this your server? Claim it to get a Verified maintainer mark, your own note here, and an email when it goes down or its tools change. Free.

MCP Score How we grade

This server runs on your own machine, so there is no public endpoint to check and grade.

Connect Runs on your machine

Terminal
claude mcp add imap-mcp -e IMAP_HOST=<IMAP_HOST> -e IMAP_PORT=<IMAP_PORT> -e IMAP_USERNAME=<IMAP_USERNAME> -e IMAP_PASSWORD=<IMAP_PASSWORD> -e IMAP_USE_SSL=<IMAP_USE_SSL> -- npx -y [email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "imap-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "IMAP_HOST": "<IMAP_HOST>",
        "IMAP_PORT": "<IMAP_PORT>",
        "IMAP_USERNAME": "<IMAP_USERNAME>",
        "IMAP_PASSWORD": "<IMAP_PASSWORD>",
        "IMAP_USE_SSL": "<IMAP_USE_SSL>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "imap-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "IMAP_HOST": "<IMAP_HOST>",
        "IMAP_PORT": "<IMAP_PORT>",
        "IMAP_USERNAME": "<IMAP_USERNAME>",
        "IMAP_PASSWORD": "<IMAP_PASSWORD>",
        "IMAP_USE_SSL": "<IMAP_USE_SSL>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "imap-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "IMAP_HOST": "<IMAP_HOST>",
        "IMAP_PORT": "<IMAP_PORT>",
        "IMAP_USERNAME": "<IMAP_USERNAME>",
        "IMAP_PASSWORD": "<IMAP_PASSWORD>",
        "IMAP_USE_SSL": "<IMAP_USE_SSL>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
IMAP_HOST
Required
Hostname of the IMAP server (e.g. imap.example.com)
IMAP_PORT
Optional
Port of the IMAP server
IMAP_USERNAME
Required
Username for IMAP authentication, also the default From address
IMAP_PASSWORD
Required, secret
Password for IMAP authentication
IMAP_USE_SSL
Optional
Set to true to connect over TLS

Details

Package[email protected] (NPM, stdio)
First published26 Nov 2026
Last updated26 Nov 2026
Registry nameio.github.langmail/imap-mcp

More communication servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.