Imap MCP
● Activeio.github.langmail/imap-mcp
IMAP email as MCP tools: create draft messages in the Drafts folder of any IMAP mailbox.
Connect this server
One click to install, or copy the config below. Suits: Claude Desktop · Cursor.
Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"imap-mcp": {
"command": "npx",
"args": [
"-y",
"imap-mcp@0.1.1"
],
"env": {
"IMAP_HOST": "<your IMAP_HOST>",
"IMAP_PORT": "993",
"IMAP_USERNAME": "<your IMAP_USERNAME>",
"IMAP_PASSWORD": "<your IMAP_PASSWORD>",
"IMAP_USE_SSL": "false"
}
}
}
}claude mcp add --env IMAP_HOST='<your IMAP_HOST>' --env IMAP_PORT=993 --env IMAP_USERNAME='<your IMAP_USERNAME>' --env IMAP_PASSWORD='<your IMAP_PASSWORD>' --env IMAP_USE_SSL=false --transport stdio imap-mcp -- npx -y imap-mcp@0.1.1codex mcp add imap-mcp --env IMAP_HOST='<your IMAP_HOST>' --env IMAP_PORT=993 --env IMAP_USERNAME='<your IMAP_USERNAME>' --env IMAP_PASSWORD='<your IMAP_PASSWORD>' --env IMAP_USE_SSL=false -- npx -y imap-mcp@0.1.1code --add-mcp '{"name":"imap-mcp","type":"stdio","command":"npx","args":["-y","imap-mcp@0.1.1"],"env":{"IMAP_HOST":"<your IMAP_HOST>","IMAP_PORT":"993","IMAP_USERNAME":"<your IMAP_USERNAME>","IMAP_PASSWORD":"<your IMAP_PASSWORD>","IMAP_USE_SSL":"false"}}'Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.
- IMAP_HOSTrequiredHostname of the IMAP server (e.g. imap.example.com)
- IMAP_PORTPort of the IMAP server
- IMAP_USERNAMErequiredUsername for IMAP authentication, also the default From address
- IMAP_PASSWORDrequiredsecretPassword for IMAP authentication
- IMAP_USE_SSLSet to true to connect over TLS
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
- Category
- Communication
- Version
- 0.1.1
- Registry
- active
- Published
- 11/19/2026
Is it safe? Is it maintained?
Serverdex check: Nov 22, 2026Looks healthy: Imap MCP is maintained, open source.
- Maintained
- Active
- Last commit 3 days ago (Nov 19, 2026), 1 open issues.
- Official registry
- Active
- Published as io.github.langmail/imap-mcp in the official MCP registry, version 0.1.1.
- Source
- Open source, MIT
- Public repository under the MIT licence, 15 stars, 2 forks.
- Runs
- On your machine
- A local npm package started by your client; it can reach whatever your user account can.
- Credentials
- 3 required
- Declared environment variables: IMAP_HOST, IMAP_USERNAME, IMAP_PASSWORD. They stay on your machine; the config on this page shows where each goes.
- Owner
- Unclaimed
- Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.
Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.
On GitHub
read Nov 21, 2026- Stars
- 15
- Forks
- 2
- Last push
- Nov 19, 2026
- License
- MIT
TypeScriptimapmcpmcp-servertypescript
From the README
imap-mcp 📧 An IMAP Model Context Protocol (MCP) server to expose IMAP operations as tools for AI assistants. Maintained by the team behind Langmail. Want mail, calendar and contacts for your agent over one hosted MCP, with OAuth and nothing to run? → langmail.me ✨ Features • Email Draft Creation: Create draft emails that are saved to your IMAP server's drafts folder • IMAP Integration: Connect to any IMAP-compatible email server (Gmail, Outlook, etc.) • Secure Authentication: Uses environment variables for secure credential management • MCP Compatible: Works with Claude and other AI assistants that support the Model Context Protocol • TypeScript: Full TypeScript support with proper type definitions Setup Usage 1. Compile TypeScript to JavaScript: 2. Run the MCP server: Available Tools create-draft Creates a draft email message and saves it to the IMAP server's drafts folder. Parameters: • to (string, required): The recipient's email address • subject (string, required): The email subject line • body (string, required): The email body content • from (string, optional): The sender's email address (defaults to IMAP_USERNAME) Example: The tool will attempt to save the draft to either "INBOX.Drafts" or "Drafts" folder, depending on your email server's folder structure. License MIT
Read the full README on GitHub →Alternatives to Imap MCP
All Imap MCP alternatives →Best Communication servers →The most-starred Communication servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| Inbox Zero | 13,088 | Nov 2026 | Needs sign-in |
| Agent-Native Brain | 7,735 | Nov 2026 | Needs sign-in |
| Agent-Native Mail | 7,735 | Nov 2026 | Needs sign-in |
| Agent-Native Chat | 7,735 | Nov 2026 | Needs sign-in |
| Agent-Native Dispatch | 7,735 | Nov 2026 | Needs sign-in |
Imap MCP: questions people ask
- Is Imap MCP a remote or a local MCP server?
- According to its entry in the official MCP registry, Imap MCP ships as a local package (npm) that your client starts on your machine.
- Does Imap MCP need an API key?
- Its registry entry declares 3 required environment variables: IMAP_HOST, IMAP_USERNAME, IMAP_PASSWORD. The config on this page shows where each goes.
- Is Imap MCP safe to use?
- Looks healthy: Imap MCP is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: On your machine; credentials: 3 required. Serverdex check of Nov 22, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
- Is Imap MCP still maintained?
- Active: the repository's last commit 3 days ago. Last push Nov 19, 2026, 15 GitHub stars, MIT licence. Read from GitHub on Nov 21, 2026.
- How do I add Imap MCP to Claude, Cursor or VS Code?
- Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
More from langmail
All 3 servers by langmail →More Communication servers
Browse all Communication →Signal Desk by LarryBuildsAI
LarryLemonBot
One-to-three-cent spend routing, lead research, token-risk, and agent-tool comparison preflights.
Eli
Larshiensch99
AI ops team for founders: approvals queue, inbox triage, briefing, follow-up drafting.
FlowVolt
Larshiensch99
Cold engine for B2B founders. Detects buying signals, drafts outreach, books qualified meetings.
Telegram Managed Bot Factory
laser54
Provision owner-confirmed isolated Telegram Managed Bot instances.
Fast MCP Telegram
leshchenko1979
Multi-tenant Telegram gateway for AI agents — HTTP+stdio, 8 tools, MTProto User API
Liftli
liftli-ai
Strategist, ghostwriter, scheduler and analyst in one, inside your AI. LinkedIn, X, Substack.
Add the badge to your site
Show visitors that Imap MCP is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-langmail-imap-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Imap MCP — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-langmail-imap-mcp?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.
Install buttons — for your README
[](https://serverdex.io/install/cursor/io-github-langmail-imap-mcp) [](https://serverdex.io/install/vscode/io-github-langmail-imap-mcp) [](https://serverdex.io/install/claude-code/io-github-langmail-imap-mcp)One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.
Install buttons — HTML for your docs
<a href="https://serverdex.io/install/cursor/io-github-langmail-imap-mcp"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-langmail-imap-mcp"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-langmail-imap-mcp"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>Same buttons as plain links for a docs page or website.
Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).