zoho-mail-mcp
zoho-mail-mcp
一个用于 Zoho Mail 的 Model Context Protocol 服务器。让 Claude(或任何 MCP 客户端)无需浏览器自动化即可从 Zoho Mail 账户读取、搜索和发送电子邮件。
官方 MCP 注册表中尚无同类产品 — 此项目填补了这一空白。
工具
工具 | 描述 |
| 列出收件箱中的近期邮件 — 返回发件人、主题、日期、messageId 和 folderId |
| 按关键词、发件人邮箱或主题片段进行搜索 |
| 根据 messageId 和 folderId 读取完整的邮件正文 |
| 从您配置的发件人地址发送电子邮件 |
Related MCP server: claude-gmail-mcp
先决条件
一个 Zoho Mail 账户
Node.js 18+
设置
1. 创建 Zoho OAuth 应用
前往 Zoho API 控制台
创建一个 Self Client 应用
在 Generate Code 下,添加以下作用域:
ZohoMail.messages.READ,ZohoMail.messages.CREATE,ZohoMail.folders.READ,ZohoMail.accounts.READ将有效期设置为 10 分钟,添加描述,点击 Create
复制生成的
client_id、client_secret和授权code
2. 将授权码换取刷新令牌
立即运行(授权码 10 分钟后过期):
curl -X POST https://accounts.zoho.com/oauth/v2/token \
-d "grant_type=authorization_code" \
-d "client_id=YOUR_CLIENT_ID" \
-d "client_secret=YOUR_CLIENT_SECRET" \
-d "code=YOUR_GRANT_CODE"保存响应中的 refresh_token — 它不会过期。
3. 获取您的账户 ID
curl -X GET https://mail.zoho.com/api/accounts \
-H "Authorization: Zoho-oauthtoken YOUR_ACCESS_TOKEN"使用 data[] 中第一个对象里的 accountId 值。
4. 安装
git clone https://github.com/SirGreed808/zoho-mail-mcp
cd zoho-mail-mcp
npm install5. 添加到 Claude Code
claude mcp add --scope user \
-e "ZOHO_CLIENT_ID=..." \
-e "ZOHO_CLIENT_SECRET=..." \
-e "ZOHO_REFRESH_TOKEN=..." \
-e "ZOHO_ACCOUNT_ID=..." \
-e "ZOHO_SENDER=you@yourdomain.com" \
zoho-mail -- node /absolute/path/to/zoho-mail-mcp/index.jsZOHO_SENDER 必须是账户中已验证的地址或别名。
环境变量
变量 | 描述 |
| OAuth 应用客户端 ID |
| OAuth 应用客户端密钥 |
| 长效刷新令牌(来自第 2 步) |
| Zoho Mail 账户 ID(来自第 3 步) |
| 发送邮件所用的电子邮件地址 |
注意事项
访问令牌会自动刷新 — 无需人工干预
read_email需要messageId和folderId,两者均由list_inbox和search_emails返回仅限 REST API — 不支持 IMAP/SMTP
许可证
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityFmaintenanceMCP server that connects Claude with Gmail to read, send, delete, and manage messages and labels via the Google Gmail API.3MIT
- AlicenseAqualityDmaintenanceA Gmail MCP server that enables Claude to send, search, and read emails using either Gmail API or SMTP/IMAP backend.3MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server that enables Claude Desktop to manage emails via SMTP and IMAP. Send emails, fetch unread messages, and create draft replies directly from conversations.29MIT
- FlicenseNot gradedqualityCmaintenanceLocal IMAP/SMTP MCP server that lets Claude read, search, draft, send, flag, and move mail across multiple IMAP mailboxes. Credentials stay on your machine.
Related MCP Connectors
Read, search, send, organize, draft and schedule email across your inboxes from any MCP client.
Shipmail MCP server for AI agent custom-domain email inboxes with REST API and webhooks.
Hosted email MCP for AI agents with inboxes, send/receive, memory, recovery, and credits.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SirGreed808/zoho-mail-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server