yt-zoho-mcp
yt-zoho-mcp
用于 Zoho Mail 的 MCP 服务器 —— 跨文件夹搜索、读取、发送和管理邮件。
实现了 Model Context Protocol 规范:通过 stdio 传输运行,使用 JSON-RPC 2.0 通信,在 initialize 时协商协议版本,声明 tools 能力,并用 JSON Schema 描述每个工具。协议版本协商由 @modelcontextprotocol/sdk 的 Server 类处理,默认使用最新支持的版本。
工具
工具 | 描述 |
| 列出文件夹中的邮件(默认:收件箱),支持搜索 |
| 获取邮件的完整正文 |
| 发送邮件(纯文本或 HTML) |
| 列出所有文件夹(收件箱、已发送、草稿、自定义) |
| 将邮件移至回收站 |
Related MCP server: zoho-mail-mcp
设置
1. 创建 Zoho Mail API 客户端
前往 Zoho API 控制台
创建 自助客户端(或基于服务器的应用)
复制
client_id和client_secret使用 离线 作用域生成 OAuth 令牌,以获取
refresh_token:virtualoffice.accounts.read virtualoffice.messages.read virtualoffice.messages.create virtualoffice.messages.update virtualoffice.messages.delete通过 获取账户 端点查找您的
account_id,并记下您的邮箱地址(例如you@example.com)。
2. 放置凭据
安装该包后,会自动通过 postinstall 脚本创建配置目录 ~/.yt-zoho-mcp(以 npm 包命名)。将 credentials.json 放入其中:
{
"clientId": "...",
"clientSecret": "...",
"refreshToken": "...",
"accountId": "...",
"email": "you@example.com"
}服务器会在每次调用时自动从 refreshToken 刷新访问令牌(并在收到 401 时重新刷新)。
配置
环境变量 | 默认值 | 描述 |
|
| 存放 |
MCP 主机配置
opencode
{
"mcp": {
"zoho-mail": {
"type": "local",
"command": ["npx", "yt-zoho-mcp"]
}
}
}Claude Desktop
{
"mcpServers": {
"zoho-mail": {
"command": "npx",
"args": ["yt-zoho-mcp"]
}
}
}许可证
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
A MCP server for Gmail that lets you search, read, and draft emails and replies.
Zoho MCP allows you to create your own MCP server to perform complex actions in a host of Zoho applications and 500+ third-party services
A MCP server for Outlook email that lets you search, read, and draft emails and replies.
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that integrates with FastMail's JMAP API to manage mailboxes, search for emails, and send messages. It enables users to interact with their FastMail account for tasks like reading email content and managing folders through natural language.2MIT
- AlicenseAqualityCmaintenanceMCP server for Zoho Mail — read, search, and send email via Claude. Supports listing inbox, searching by keyword or sender, reading full message bodies, and sending HTML email.41MIT
- AlicenseNot gradedqualityFmaintenanceAn MCP server that receives emails on your domain and allows AI assistants to search, read, and manage them via natural language queries.1,062 npmMIT
- FlicenseNot gradedqualityCmaintenanceMCP server for email management that enables reading, searching, drafting, replying to, and sending emails with thread-aware replies and draft-first safety, supporting Gmail API and IMAP/SMTP backends.6 npm-