NestDaddy

Mcp Server Imap

io.github.AIWerk/mcp-server-imap ยท v1.2.1

Email tools for any IMAP/SMTP provider: list, read, search, send, and manage messages.

Connect Runs on your machine

Terminal
claude mcp add mcp-server-imap -e IMAP_HOST=<IMAP_HOST> -e IMAP_USER=<IMAP_USER> -e IMAP_PASS=<IMAP_PASS> -e SMTP_HOST=<SMTP_HOST> -e SMTP_USER=<SMTP_USER> -e SMTP_PASS=<SMTP_PASS> -- npx -y @aiwerk/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-server-imap": {
      "command": "npx",
      "args": [
        "-y",
        "@aiwerk/[email protected]"
      ],
      "env": {
        "IMAP_HOST": "<IMAP_HOST>",
        "IMAP_USER": "<IMAP_USER>",
        "IMAP_PASS": "<IMAP_PASS>",
        "SMTP_HOST": "<SMTP_HOST>",
        "SMTP_USER": "<SMTP_USER>",
        "SMTP_PASS": "<SMTP_PASS>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-server-imap": {
      "command": "npx",
      "args": [
        "-y",
        "@aiwerk/[email protected]"
      ],
      "env": {
        "IMAP_HOST": "<IMAP_HOST>",
        "IMAP_USER": "<IMAP_USER>",
        "IMAP_PASS": "<IMAP_PASS>",
        "SMTP_HOST": "<SMTP_HOST>",
        "SMTP_USER": "<SMTP_USER>",
        "SMTP_PASS": "<SMTP_PASS>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mcp-server-imap": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@aiwerk/[email protected]"
      ],
      "env": {
        "IMAP_HOST": "<IMAP_HOST>",
        "IMAP_USER": "<IMAP_USER>",
        "IMAP_PASS": "<IMAP_PASS>",
        "SMTP_HOST": "<SMTP_HOST>",
        "SMTP_USER": "<SMTP_USER>",
        "SMTP_PASS": "<SMTP_PASS>"
      }
    }
  }
}

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
IMAP server hostname (e.g. imap.gmail.com).
IMAP_USER
Required
IMAP account username / email address.
IMAP_PASS
Required, secret
IMAP account password or app-specific password.
SMTP_HOST
Optional
SMTP server hostname, required to send email.
SMTP_USER
Optional
SMTP account username (defaults to IMAP_USER if unset).
SMTP_PASS
Optional, secret
SMTP account password (defaults to IMAP_PASS if unset).

Details

Package@aiwerk/[email protected] (NPM, stdio)
First published24 Jun 2026
Last updated24 Jun 2026
Registry nameio.github.AIWerk/mcp-server-imap

More communication servers See all

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