Tencent Mail Agent MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Tencent Mail Agent MCP Server list yesterday's emails"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Tencent Mail Agent MCP Server
這是一個基於 Model Context Protocol (MCP) 的伺服器,提供從 騰訊企業郵 (Tencent Exmail) 或任何支援 IMAP 協定的郵件服務中獲取並分析郵件的工具。此伺服器旨在與 Claude Desktop 等 MCP 客戶端配合使用。
功能特點
list_yesterday_emails: 獲取昨天的郵件。
自動依據日期範圍過濾(SINCE 昨天, BEFORE 今天)。
回傳的 metadata 包含:UID、寄件者 (From)、主旨 (Subject)、日期 (Date) 以及內文片段 (snippet,前 500 個字元)。
效能優化:預設限制獲取最新的 100 封郵件(可設定)。
Related MCP server: IMAP/SMTP Email MCP Server
前置需求
安裝步驟
複製專案庫:
git clone <repository-url> cd mail-agent-mcp安裝依賴套件:
npm install編譯專案:
npm run build
設定方法
將
.env.example複製並重新命名為.env:cp .env.example .env編輯
.env並提供您的郵件登入資訊:EMAIL_USER=your-email@example.com EMAIL_PASSWORD=your-app-password EMAIL_HOST=imap.exmail.qq.com EMAIL_PORT=993NOTE對於騰訊企業郵,如果您啟用了兩階段驗證 (2FA),則需要使用應用專用密碼 (App Password)。
使用方法
開發模式 (Development Mode)
npm run dev正式模式 (Production Mode)
npm start整合至 Claude Desktop
若要將此伺服器加入 Claude Desktop,請在您的 claude_desktop_config.json 中新增以下設定:
{
"mcpServers": {
"mail-agent": {
"command": "node",
"args": ["/絕對路徑/至/mail-agent-mcp/dist/index.js"],
"env": {
"EMAIL_USER": "your-email@example.com",
"EMAIL_PASSWORD": "your-app-password",
"EMAIL_HOST": "imap.exmail.qq.com",
"EMAIL_PORT": "993"
}
}
}
}授權條款 (License)
ISC
Available Tools
1 toollist_yesterday_emailsA
Fetch emails received yesterday. Limited to the latest 100 emails to ensure performance.
Inputs: limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap. The tool's purpose is singular and clear.
The single tool name 'list_yesterday_emails' follows a clear verb_noun pattern and is descriptive. Consistency is trivially maintained.
One tool feels thin for a mail server, but it is not entirely trivial—it does one specific task. The count is borderline and could be part of a larger intended set.
The server appears to be for email management, yet it only lists yesterday's emails. Missing send, read, search, and other lifecycle operations represent severe gaps for the domain.
Related MCP Connectors
Email for AI agents: read, search and send from your Gmail, Outlook, Yahoo, iCloud or IMAP inbox.
Connect any IMAP/SMTP mailbox to Claude & ChatGPT: search, read, sort, draft. Sends only with OK.
Email: search, read, fetch attachments; attach files when the MCP client supports inputs.
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables users to connect to their email inbox via IMAP to search, filter, and summarize emails based on criteria like subject, date, and sender. Supports marking emails as read and provides customizable email summarization with various prompt options.2ISC
- FlicenseNot gradedqualityDmaintenanceEnables email management via IMAP/SMTP, supporting list emails, read emails, send emails, and save drafts.-
- AlicenseAqualityDmaintenanceEnables AI assistants to read recent emails and fetch full email content from an IMAP inbox, allowing natural language queries about email summaries.3ISC
- AlicenseNot gradedqualityDmaintenanceEnables secure mailbox access and email management via IMAP/SMTP, with tools for reading, searching, organizing, sending, and deleting emails, designed for local use and compatible with MCP clients like ChatGPT.1MIT