mcp-server-imap
About
Email tools for any IMAP/SMTP provider: list, read, search, send, and manage messages.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
IMAP_HOST IMAP_USER IMAP_PASS SMTP_HOST SMTP_USER SMTP_PASSClaude Code
claude mcp add --env IMAP_HOST= --env IMAP_USER= --env IMAP_PASS= --env SMTP_HOST= --env SMTP_USER= --env SMTP_PASS= mcp-server-imap -- npx @aiwerk/mcp-server-imap
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"mcp-server-imap","command":"npx","args":["@aiwerk/mcp-server-imap"],"env":{"IMAP_HOST":"","IMAP_USER":"","IMAP_PASS":"","SMTP_HOST":"","SMTP_USER":"","SMTP_PASS":""}}'
JSON
{
"mcpServers": {
"mcp-server-imap": {
"command": "npx",
"args": [
"@aiwerk/mcp-server-imap"
],
"env": {
"IMAP_HOST": "",
"IMAP_USER": "",
"IMAP_PASS": "",
"SMTP_HOST": "",
"SMTP_USER": "",
"SMTP_PASS": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.