JY

jtokib/yahoo-mail-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

32 stars 85 forks 质量 55 趋势 1

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 pagination
    • read_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 folders
    • delete_emails: Move emails to Trash (soft delete, recoverable)
    • archive_emails: Archive emails for long-term storage
    • mark_as_read: Mark emails as read
    • mark_as_unread: Mark emails as unread
    • flag_emails: Flag emails as important/starred
    • unflag_emails: Remove flag from emails
    • move_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 integration
    • sse: 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

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

  1. Go to https://login.yahoo.com/account/security
  2. Click “Generate app password” or “Manage app passwords”
  3. Select “Other App” and enter “MCP Server”
  4. Copy the generated 16-character password

3. Configure Environment

Edit .env file with your credentials:

在 GitHub 查看完整 README

安装

docker run -p 3000:3000
新手?先看 mcpskill.org 教程 →