mcp-mail-server and gmail-mcp
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 gmail-mcp
pouyanafisi/gmail-mcp
Gmail MCP Server - Email management for AI assistants. Send, search, organize emails with labels and filters. OAuth2 auth, batch operations, attachments. Works with Claude, Gemini, Cursor.
Implements 19 distinct Gmail operations organized across email, label, and filter management through TypeScript with Zod validation schemas. Built on the Model Context Protocol (MCP) with stdio transport, it integrates directly into Cursor IDE and Claude Desktop via configuration files, automating batch processing with Gmail API rate-limit compensation and credential refresh handling.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work