jdickey1/imap-email-mcp
MCP server for Claude Code that provides email capabilities through IMAP/SMTP. Read, search, compose, and manage emails from any IMAP provider.
Platform-specific configuration:
{
"mcpServers": {
"imap-email-mcp": {
"command": "npx",
"args": [
"-y",
"imap-email-mcp"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
A Model Context Protocol (MCP) server that provides email capabilities to Claude Code, Claude Desktop, Cursor, and other MCP-compatible AI tools. Connect to any IMAP/SMTP email provider to read, search, compose, and manage emails directly from your AI assistant.
Important: Claude Code CLI uses claude mcp add, not config files.
claude mcp add imap-email -s user \
-e IMAP_USER=you@example.com \
-e IMAP_PASSWORD='your-app-password' \
-e IMAP_HOST=imap.example.com \
-- npx -y imap-email-mcp> Note: If your password contains special shell characters (%, ^, *, $, !, etc.), wrap it in single quotes as shown above.
> Note: Restart Claude Code after adding an MCP for the new tools to become available.
Verify with:
claude mcp list
claude mcp get imap-emailRemove with:
claude mcp remove imap-email -s userAdd new MCP server:
imap-emailcommandnpx -y imap-email-mcpThen set environment variables in Cursor's MCP settings:
IMAP_USER=your-email@example.com
IMAP_PASSWORD=your-app-password
IMAP_HOST=imap.example.comAdd to your config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"imap-email": {
"command": "npx",
"args": ["-y", "imap-email-mcp"],
"env": {
"IMAP_USER": "your-email@example.com",
"IMAP_PASSWORD": "your-app-password",
"IMAP_HOST": "imap.example.com"
}
}
}
}Loading reviews...