imap-mcp-server

v2.2.0
io.github.nikolausm/imap-mcp-server Checked 1 hour ago Published 1 month ago

IMAP/SMTP MCP server to search, read, organize, send, reply & forward email for AI assistants

npm (npx) verified

Requires Node.js 18+

Run in a terminal
claude mcp add imap-mcp-server -- npx -y imap-mcp-server@2.2.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "imap-mcp-server": {
      "args": [
        "-y",
        "imap-mcp-server@2.2.0"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "imap-mcp-server": {
      "args": [
        "-y",
        "imap-mcp-server@2.2.0"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "imap-mcp-server": {
      "args": [
        "-y",
        "imap-mcp-server@2.2.0"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.imap-mcp-server]
command = "npx"
args = ["-y", "imap-mcp-server@2.2.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: imap_add_account, imap_update_account, imap_list_accounts, imap_remove_account, imap_connect, imap_disconnect, imap_test_account, imap_search_emails, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json