Email tools for any IMAP/SMTP provider: list, read, search, send, and manage messages.
Connect Runs on your machine
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]
{
"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>"
}
}
}
}
{
"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>"
}
}
}
}
{
"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
| Name | Description |
|---|---|
IMAP_HOSTRequired | IMAP server hostname (e.g. imap.gmail.com). |
IMAP_USERRequired | IMAP account username / email address. |
IMAP_PASSRequired, secret | IMAP account password or app-specific password. |
SMTP_HOSTOptional | SMTP server hostname, required to send email. |
SMTP_USEROptional | SMTP account username (defaults to IMAP_USER if unset). |
SMTP_PASSOptional, secret | SMTP account password (defaults to IMAP_PASS if unset). |
Details
| Package | @aiwerk/[email protected] (NPM, stdio) |
| First published | 24 Jun 2026 |
| Last updated | 24 Jun 2026 |
| Registry name | io.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.
