zoho-mail-mcp
zoho-mail-mcp
Zoho Mail用のModel Context Protocolサーバーです。ブラウザ自動化なしで、Claude(または任意のMCPクライアント)がZoho Mailアカウントからメールを読み取り、検索し、送信できるようにします。
公式のMCPレジストリには同等のものが存在しないため、このサーバーがそのギャップを埋めます。
ツール
ツール | 説明 |
| 最近の受信トレイメッセージをリスト表示 — 送信者、件名、日付、messageId、folderIdを返します |
| キーワード、送信者のメールアドレス、または件名の一部で検索します |
| messageIdとfolderIdを指定してメール本文を全文読み取ります |
| 設定された送信元アドレスからメールを送信します |
Related MCP server: email
前提条件
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
Available Tools
4 toolslist_inboxB
List recent inbox messages — returns sender, subject, date, messageId, and folderId
Inputs: count.
read_emailA
Read the full body of an email given its messageId and folderId (both returned by list_inbox and search_emails)
Inputs: messageId (required), folderId (required).
search_emailsA
Search inbox by keyword, sender email, or subject fragment — returns messageId and folderId for use with read_email
Inputs: query (required), count.
send_emailC
Send an email from the configured ZOHO_SENDER address
Inputs: to (required), subject (required), content (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose with no overlap: list_inbox retrieves inbox metadata, read_email accesses full email content, search_emails finds specific emails, and send_email handles outgoing messages. The descriptions clearly differentiate their functions, making misselection unlikely.
All tools follow a consistent verb_noun pattern (list_inbox, read_email, search_emails, send_email) with snake_case throughout. The naming is predictable and readable, adhering to a uniform convention across the set.
With 4 tools, this server is well-scoped for email management, covering core workflows: listing, reading, searching, and sending emails. Each tool earns its place without feeling thin or bloated, fitting typical email interaction needs.
The tool set provides strong coverage for basic email operations, including CRUD-like actions (list, read, send) and search functionality. A minor gap exists in lacking update/delete operations for emails (e.g., marking as read or moving to folders), but agents can work around this for most use cases.
Maintenance
Related MCP Connectors
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Read, search and manage iCloud Mail, Calendar and Contacts from Claude and other MCP clients.
Hosted MCP server for Gmail, Outlook, iCloud, Fastmail & Yahoo Mail with per-workspace controls.
Email inboxes for AI agents: send, receive, reply, search, and manage threaded email over MCP.
Related MCP Servers
- AlicenseAqualityDmaintenanceA Gmail MCP server that enables Claude to send, search, and read emails using either Gmail API or SMTP/IMAP backend.389 PyPIMIT
- AlicenseAqualityDmaintenanceA 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.3MIT
- AlicenseAqualityDmaintenanceAn MCP server that lets Claude read, search, and send email over standard IMAP/SMTP.6MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that connects AI assistants to Zoho Mail, enabling reading, searching, sending, scheduling, organizing, and downloading emails through the official Zoho Mail REST API.MIT