IMAP email as MCP tools: create draft messages in the Drafts folder of any IMAP mailbox.
Is this your server? Claim it to get a Verified maintainer mark, your own note here, and an email when it goes down or its tools change. Free.
MCP Score How we grade
This server runs on your own machine, so there is no public endpoint to check and grade.
Connect Runs on your machine
claude mcp add imap-mcp -e IMAP_HOST=<IMAP_HOST> -e IMAP_PORT=<IMAP_PORT> -e IMAP_USERNAME=<IMAP_USERNAME> -e IMAP_PASSWORD=<IMAP_PASSWORD> -e IMAP_USE_SSL=<IMAP_USE_SSL> -- npx -y [email protected]
{
"mcpServers": {
"imap-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"IMAP_HOST": "<IMAP_HOST>",
"IMAP_PORT": "<IMAP_PORT>",
"IMAP_USERNAME": "<IMAP_USERNAME>",
"IMAP_PASSWORD": "<IMAP_PASSWORD>",
"IMAP_USE_SSL": "<IMAP_USE_SSL>"
}
}
}
}
{
"mcpServers": {
"imap-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"IMAP_HOST": "<IMAP_HOST>",
"IMAP_PORT": "<IMAP_PORT>",
"IMAP_USERNAME": "<IMAP_USERNAME>",
"IMAP_PASSWORD": "<IMAP_PASSWORD>",
"IMAP_USE_SSL": "<IMAP_USE_SSL>"
}
}
}
}
{
"servers": {
"imap-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"IMAP_HOST": "<IMAP_HOST>",
"IMAP_PORT": "<IMAP_PORT>",
"IMAP_USERNAME": "<IMAP_USERNAME>",
"IMAP_PASSWORD": "<IMAP_PASSWORD>",
"IMAP_USE_SSL": "<IMAP_USE_SSL>"
}
}
}
}
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 | Hostname of the IMAP server (e.g. imap.example.com) |
IMAP_PORTOptional | Port of the IMAP server |
IMAP_USERNAMERequired | Username for IMAP authentication, also the default From address |
IMAP_PASSWORDRequired, secret | Password for IMAP authentication |
IMAP_USE_SSLOptional | Set to true to connect over TLS |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 26 Nov 2026 |
| Last updated | 26 Nov 2026 |
| Registry name | io.github.langmail/imap-mcp |
More communication servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
