yunfeizhu/mcp-mail-server

A lightweight Model Context Protocol (MCP) server that provides IMAP and SMTP email functionality for AI assistants like Claude in Cursor IDE. Built with TypeScript and optimized for easy deployment via npm/npx.

64
/ 100
Established

Supports multi-mailbox navigation with RFC 6154 auto-detection of special folders (Sent, Drafts), concurrent connection management with timeout guards, and comprehensive search operations (by sender/subject/date/keyword) with optional inbox-only filtering. Implements stateless message retrieval using UIDs rather than connection state, HTML-escape injection prevention in replies, and automatic attachment metadata extraction. Integrates with Claude Desktop, Cursor, Claude Code, and other MCP clients via stdio transport with environment-based configuration for TLS/SSL email servers.

22 stars and 8,235 monthly downloads. Available on npm.

Maintenance 13 / 25
Adoption 15 / 25
Maturity 18 / 25
Community 18 / 25

How are scores calculated?

Stars

22

Forks

12

Language

TypeScript

License

MIT

Last pushed

Mar 17, 2026

Monthly downloads

8,235

Commits (30d)

0

Dependencies

4

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/mcp/yunfeizhu/mcp-mail-server"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.