A powerful Model Context Protocol (MCP) server for IMAP email integration with Claude
{
"mcpServers": {
"imap": {
"env": {},
"args": [
"/path/to/ImapClient/dist/index.js"
],
"command": "node"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A powerful Model Context Protocol (MCP) server that provides seamless IMAP email integration with secure account management and connection pooling.
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
MIT. View license →
Is it maintained?
Last commit 2 days ago. 13 stars.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
Context cost
17 tools. ~2,000 tokens (1.0% of 200K).
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
imap_add_accountAdd a new IMAP account
imap_list_accountsList all configured accounts
imap_remove_accountRemove an account
imap_connectConnect to an account
imap_disconnectDisconnect from an account
imap_search_emailsSearch for emails
imap_get_emailGet full email content
imap_get_latest_emailsGet recent emails
imap_mark_as_readMark email as read
imap_mark_as_unreadMark email as unread
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Dynamic problem-solving through sequential thought chains
A Model Context Protocol server for searching and analyzing arXiv papers
An open-source AI agent that brings the power of Gemini directly into your terminal.
The official Python SDK for Model Context Protocol servers and clients
MCP Security Weekly
Get CVE alerts and security updates for Imap Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A powerful Model Context Protocol (MCP) server that provides seamless IMAP email integration with secure account management and connection pooling.
curl -fsSL https://raw.githubusercontent.com/nikolausm/imap-mcp-server/main/install.sh | bash
iwr -useb https://raw.githubusercontent.com/nikolausm/imap-mcp-server/main/install.ps1 | iex
git clone https://github.com/nikolausm/imap-mcp-server.git
cd imap-mcp-server
npm install
npm run build
After installation, run the setup wizard:
npm run setup
Or if installed globally:
imap-setup
This will:
The setup wizard includes pre-configured settings for:
Add the IMAP MCP server to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"imap": {
"command": "node",
"args": ["/path/to/ImapClient/dist/index.js"],
"env": {}
}
}
}
Once configured, the IMAP MCP server provides the following tools in Claude:
imap_add_account: Add a new IMAP account
Parameters:
- name: Friendly name for the account
- host: IMAP server hostname
- port: Server port (default: 993)
- user: Username
- password: Password
- tls: Use TLS/SSL (default: true)
imap_list_accounts: List all configured accounts
imap_remove_account: Remove an account
Parameters:
- accountId: ID of the account to remove
imap_connect: Connect to an account
Parameters:
- accountId OR accountName: Account identifier
imap_disconnect: Disconnect from an account
Parameters:
- accountId: Account to disconnect
imap_search_emails: Search for emails
Parameters:
- accountId: Account ID
- folder: Folder name (default: INBOX)
- from, to, subject, body: Search criteria
- since, before: Date filters
- seen, flagged: Status filters
- limit: Max results (default: 50)
imap_get_email: Get full email content
Parameters:
- accountId: Account ID
- folder: Folder name
- uid: Email UID
- maxContentLength: Max characters for text/html body (default: 10000)
- includeAttachmentText: Include text attachment previews (default: true)
- maxAttachmentTextChars: Max c