@fuyouai/email-mcp

@fuyouai/email-mcp

通过IMAP和SMTP协议实现邮箱读写操作,支持腾讯企业邮箱,可收发邮件、管理文件夹和搜索邮件。

Category
Visit Server

README

@fuyouai/email-mcp

通过 MCP 读写邮箱:收信用 IMAP,发信用 SMTP。默认参数适配腾讯企业邮箱(exmail.qq.com)。

工具

Tool 说明
list_folders 列出文件夹
list_messages 列出邮件摘要
search_messages 按条件搜索
get_message 读取单封正文与附件信息
send_message 发送邮件(环境变量 SMTP_ENABLED=false 时不注册)

要求

  • Node.js 18+
  • 邮箱已开启 IMAP;发信需开启 SMTP
  • 腾讯企业邮开启安全登录时,使用客户端专用密码IMAP 说明

在 Cursor 中使用

npx -y @fuyouai/email-mcp

mcp.json 示例(把账号与密码换成你自己的;密码不要提交到仓库):

{
  "mcpServers": {
    "email": {
      "command": "npx",
      "args": ["-y", "@fuyouai/email-mcp"],
      "env": {
        "IMAP": "imap.exmail.qq.com:993",
        "MAIL_USER": "you@yourcompany.com",
        "MAIL_PASSWORD": "客户端专用密码",
        "IMAP_SECURE": "true",
        "SMTP": "smtp.exmail.qq.com:465",
        "SMTP_SECURE": "true",
        "SMTP_ENABLED": "true"
      }
    }
  }
}

安装到全局后,可执行 CLI:email-mcp

环境变量

变量 说明 默认
IMAP 收信 host:port imap.exmail.qq.com:993
MAIL_USER 登录邮箱(收/发共用) 必填
MAIL_PASSWORD 密码或客户端专用密码 必填
IMAP_SECURE IMAP 使用 TLS true
MAX_BODY_CHARS 读信正文最大长度 8000
SMTP 发信 host:port smtp.exmail.qq.com:465
SMTP_SECURE SMTP 使用 TLS true
SMTP_ENABLED 是否注册发信工具 true
SMTP_USER / SMTP_PASSWORD 发信账号与收信不同时填写 默认同 MAIL_*
SMTP_FROM 发件人显示地址 默认同发信登录账号

海外机房可将 IMAP / SMTP 改为 hwimap.exmail.qq.com:993hwsmtp.exmail.qq.com:465

send_message 参数示例

{
  "to": "colleague@company.com",
  "subject": "会议提醒",
  "text": "明天下午 3 点开会。"
}

多个收件人:"to": "a@x.com, b@x.com""to": ["a@x.com", "b@x.com"]texthtml 至少填一项。

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured