communicationdeveloper-tools

163 Email MCP Server

by RickyQzh

Manage 163.com email via IMAP/SMTP — read unread mails, send text/HTML emails with attachments, and save attachments usi

Enables interaction with 163 email accounts through IMAP/SMTP protocols. Supports reading unread emails, sending text/HTML emails with attachments, and saving email attachments through natural language commands.

github stars

0

Natural language email commandsFull attachment support

best for

  • / Automating email workflows for 163 users
  • / Building email management applications
  • / Processing email attachments programmatically

capabilities

  • / Read unread emails from 163 accounts
  • / Send text and HTML emails with attachments
  • / Save email attachments to local storage
  • / Access email content through IMAP protocol
  • / Send emails via SMTP protocol

what it does

Connects to 163 email accounts via IMAP/SMTP to read, send, and manage emails through natural language commands.

about

163 Email MCP Server is a community-built MCP server published by RickyQzh that provides AI assistants with tools and capabilities via the Model Context Protocol. Manage 163.com email via IMAP/SMTP — read unread mails, send text/HTML emails with attachments, and save attachments usi It is categorized under communication, developer tools.

how to install

You can install 163 Email MCP Server in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

license

MIT

163 Email MCP Server is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

readme

163邮箱 MCP 服务器

这是一个基于Gradio的163邮箱MCP服务器,可以作为LLM的工具,用于获取和处理电子邮件。

功能

  • 获取最新的未读邮件
  • 检查指定类型和数量的邮件
  • 保存邮件附件
  • 发送纯文本邮件
  • 发送HTML格式邮件
  • 发送带附件的邮件

安装依赖

使用requirements.txt安装

pip install -r requirements.txt

手动安装

pip install gradio[mcp] bs4 python-dotenv

启动服务器

直接启动

python email_mcp_server.py

使用环境变量启动

可以通过环境变量来配置邮箱账号信息:

chmod +x start_with_env.sh
./start_with_env.sh

或者手动设置环境变量:

export EMAIL_IMAP_SERVER=imap.163.com
export EMAIL_SMTP_SERVER=smtp.163.com
export EMAIL_ACCOUNT=your_email@163.com
export EMAIL_PASSWORD=your_password
python email_mcp_server.py

MCP工具

服务器提供以下MCP工具:

  1. get_newest_email - 获取最新的未读邮件(可选覆盖参数:imap_serveraccountpassword
  2. check_emails - 检查指定类型和数量的邮件(可选覆盖参数:imap_serveraccountpassword
  3. save_attachment - 保存指定的附件(可选覆盖参数:imap_serveraccountpassword
  4. send_text_email - 发送纯文本邮件(可选覆盖参数:smtp_serveraccountpassword
  5. send_html_email - 发送HTML格式邮件(可选覆盖参数:smtp_serveraccountpassword
  6. send_email_with_attachment - 发送带附件的邮件(可选覆盖参数:smtp_serveraccountpassword

发送示例:自定义发送者账号

curl -X POST http://localhost:7860/gradio_api/mcp/run/send_text_email \
  -H "Content-Type: application/json" \
  -d '{
    "to_addr": "someone@example.com",
    "subject": "自定义发件人测试",
    "content": "这是一封从自定义发件人发送的测试邮件",
    "account": "your_email@163.com",
    "password": "your_app_password",
    "smtp_server": "smtp.163.com"
  }'

读取示例:自定义接收账号

curl -X POST http://localhost:7860/gradio_api/mcp/run/get_newest_email \
  -H "Content-Type: application/json" \
  -d '{
    "account": "your_email@163.com",
    "password": "your_app_password",
    "imap_server": "imap.163.com"
  }'

连接到MCP客户端

MCP服务器启动后,可以通过以下URL连接:

http://localhost:7860/gradio_api/mcp/sse

Clone with HTTP

 git clone https://www.modelscope.cn/studios/s3219521aa/email_mcp.git

FAQ

What is the 163 Email MCP Server MCP server?
163 Email MCP Server is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
How do MCP servers relate to agent skills?
Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
How are reviews shown for 163 Email MCP Server?
This profile displays 10 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.5 out of 5—verify behavior in your own environment before production use.
MCP server reviews

Ratings

4.510 reviews
  • Shikha Mishra· Oct 10, 2024

    163 Email MCP Server is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.

  • Piyush G· Sep 9, 2024

    We evaluated 163 Email MCP Server against two servers with overlapping tools; this profile had the clearer scope statement.

  • Chaitanya Patil· Aug 8, 2024

    Useful MCP listing: 163 Email MCP Server is the kind of server we cite when onboarding engineers to host + tool permissions.

  • Sakshi Patil· Jul 7, 2024

    163 Email MCP Server reduced integration guesswork — categories and install configs on the listing matched the upstream repo.

  • Ganesh Mohane· Jun 6, 2024

    I recommend 163 Email MCP Server for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.

  • Oshnikdeep· May 5, 2024

    Strong directory entry: 163 Email MCP Server surfaces stars and publisher context so we could sanity-check maintenance before adopting.

  • Dhruvi Jain· Apr 4, 2024

    163 Email MCP Server has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.

  • Rahul Santra· Mar 3, 2024

    According to our notes, 163 Email MCP Server benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.

  • Pratham Ware· Feb 2, 2024

    We wired 163 Email MCP Server into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.

  • Yash Thakker· Jan 1, 2024

    163 Email MCP Server is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.