M
MCP Imap
by @meschbach
An MCP adapter for IMAP connectors
Created 1/5/2026
Updated 3 days ago
README
Repository documentation and setup instructions
mcp-imap
A simple no-thrills IMAP adapter to MCP.
Get Started
You may either use the container ghcr.io/meschbach/mcp-imap:latest (recommended) or download a copy of the binary from the releases page.
Following environment variables are required:
MCP_USERNAME- Your user inbox, for examplemeschbachMCP_PASSWORD- See below for Gmail, otherwise your password.MCP_SERVER-imap.gmail.com
Using your Google Account
Gmail will require you to use an app password to access your account via IMAP. Setup one at https://myaccount.google.com/apppasswords.
Quick Setup
Installation guide for this server
Installation Command (package not published)
git clone https://github.com/meschbach/mcp-imap
Manual Installation: Please check the README for detailed setup instructions and any additional dependencies required.
Cursor configuration (mcp.json)
{
"mcpServers": {
"meschbach-mcp-imap": {
"command": "git",
"args": [
"clone",
"https://github.com/meschbach/mcp-imap"
]
}
}
}