JY 

jtokib/yahoo-mail-mcp-server 是从 https://github.com/jtokib/yahoo-mail-mcp-server. 导入的 MCP 服务器候选
概览
jtokib/yahoo-mail-mcp-server 是从 https://github.com/jtokib/yahoo-mail-mcp-server. 导入的 MCP 服务器候选
概述(AI 翻译)
一台模型上下文协议(MCP)服务器,通过 IMAP 为雅虎邮件提供完整的电子邮件管理。该服务器支持本地 stdio 传输(针对 Claude Desktop)和 HTTP/SSE 传输(通过 Claude.ai 实现远程访问)。
特色
- Secure OAuth 2.0认证:用PKCE保护你的远程MCP服务器,使用OAuth 2.0授权码流
- 基于UID的操作:使用永久的IMAP界面,邮件删除时不变(v3.0.0+)
- 完整邮件管理:完整的邮件操作并支持批处理
- 十一种强大工具:
list_emails:列出带有丰富元数据(大小、标志、附件)和分页的近期邮件read_email:阅读邮件完整内容(批处理支持)search_emails:带筛选条件的高级搜索(日期范围、发件人、未读状态)list_folders:发现所有可用的IMAP文件夹delete_emails:将邮件移入垃圾桶(软删除,可恢复)archive_emails:用于长期存储的归档邮件mark_as_read:标记已读邮件mark_as_unread:将邮件标记为未读flag_emails:标记为重要/星号邮件unflag_emails:移除邮件中的标志
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Yahoo Mail MCP Server
A Model Context Protocol (MCP) server that provides full email management for Yahoo Mail via IMAP. This server supports both local stdio transport (for Claude Desktop) and HTTP/SSE transport (for remote access via Claude.ai).
Features
- Secure OAuth 2.0 Authentication: Protect your remote MCP server with OAuth 2.0 authorization code flow with PKCE
- UID-Based Operations: Uses permanent IMAP UIDs that don’t change when emails are deleted (v3.0.0+)
- Full Email Management: Complete email operations with batch processing support
- Eleven Powerful Tools:
list_emails: List recent emails with enriched metadata (size, flags, attachments) and paginationread_email: Read the full content of emails (batch support)search_emails: Advanced search with filters (date ranges, sender, unread status)list_folders: Discover all available IMAP foldersdelete_emails: Move emails to Trash (soft delete, recoverable)archive_emails: Archive emails for long-term storagemark_as_read: Mark emails as readmark_as_unread: Mark emails as unreadflag_emails: Flag emails as important/starredunflag_emails: Remove flag from emailsmove_emails: Move emails to any folder
- Enriched Metadata: All emails include UID, size, flags, hasAttachments, and folder information
- Advanced Search: Filter by date range, sender, unread status, and search across any folder
- Batch Operations: All management operations support processing multiple emails at once with accurate success/failure tracking
- Dual Transport Modes:
stdio: For local Claude Desktop integrationsse: For remote access via HTTP/Server-Sent Events (required for Render.com)
- Cross-Platform: Works on both Windows and Linux development environments
- Docker Support: Containerized deployment with Docker and Docker Compose
- Cloud Ready: Configured for easy deployment to Render.com with OAuth security
Prerequisites
For Local Development
- Node.js: Version 18.0.0 or higher
- Yahoo Mail Account: With app-specific password enabled
- Git: For version control
For Docker Development/Deployment
- Docker: Latest version
- Docker Compose: Latest version (included with Docker Desktop on Windows/Mac)
For Render.com Deployment
- GitHub Account: To host your repository
- Render.com Account: Free tier available at https://render.com
Quick Start
1. Clone and Setup
# Clone the repository
git clone
cd yahoo-mail-mcp-server
# Copy environment template
cp .env.example .env
2. Get Yahoo Mail App Password
- Go to https://login.yahoo.com/account/security
- Click “Generate app password” or “Manage app passwords”
- Select “Other App” and enter “MCP Server”
- Copy the generated 16-character password
3. Configure Environment
Edit .env file with your credentials:
安装
docker run -p 3000:3000