mcp-mail-server and mcp-headless-gmail
About mcp-mail-server
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.
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.
About mcp-headless-gmail
baryhuang/mcp-headless-gmail
A MCP (Model Context Protocol) server that provides get, send Gmails without local credential or token setup.
Implements a Python-based MCP server using the google-api-python-client library with credential decoupling—OAuth tokens are passed per-request rather than stored locally, enabling truly headless operation in remote/containerized environments. Supports chunked email retrieval (1k character increments with offset-based pagination), automatic token refresh, and both plaintext and HTML email composition, with deployment options via Docker (multi-platform) or npm.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work