Zoho Mail MCP Server

Zoho Mail MCP Server

Provides full access to Zoho Mail accounts, enabling email search, read, send, reply, thread management, folder/label operations, and more via 14 tools.

Category
访问服务器

README

Zoho Mail MCP Server

MCP server for Zoho Mail — gives Claude (and any MCP client) full access to your Zoho Mail account via 14 tools.

Tools

Tool Description Safety
zoho_get_profile Get account profile Read-only
zoho_search_messages Search emails by query Read-only
zoho_read_message Read a specific email Read-only
zoho_read_thread Read an email thread Read-only
zoho_list_folders List mail folders Read-only
zoho_list_labels List labels/tags Read-only
zoho_list_drafts List saved drafts Read-only
zoho_get_attachment Get attachment metadata Read-only
zoho_create_draft Create a draft Write (non-destructive)
zoho_send_draft Send an existing draft Write (destructive)
zoho_send_message Send an email Write (destructive)
zoho_reply_to_message Reply / reply-all Write (destructive)
zoho_modify_message Mark read/star/move Write (destructive, idempotent)
zoho_delete_message Delete (trash) an email Write (destructive, idempotent)

All tools carry MCP ToolAnnotations with readOnlyHint, destructiveHint, idempotentHint, and openWorldHint set appropriately.

Usage Examples

Example 1: Search and read recent emails

Prompt: "Show me my most recent emails"

The assistant calls zoho_search_messages with default parameters to retrieve the latest 20 messages, then summarizes senders, subjects, and dates.

Example 2: Send an email

Prompt: "Send an email to alice@example.com with the subject 'Project Update' and let her know the deadline moved to Friday"

The assistant calls zoho_send_message with:

  • to: "alice@example.com"
  • subject: "Project Update"
  • body: "Hi Alice, just a heads-up — the project deadline has moved to Friday. Let me know if you have questions."

Example 3: Find and reply to a thread

Prompt: "Find the email thread from Bob about the budget and reply saying I approve"

The assistant calls zoho_search_messages with q: "from:bob subject:budget", reads the thread with zoho_read_thread, then calls zoho_reply_to_message with the body "Approved — looks good to me."

Example 4: Organize messages

Prompt: "Star all unread emails from my manager and mark them as read"

The assistant calls zoho_search_messages to find unread messages from the manager, then calls zoho_modify_message on each with isRead: true and isStarred: true.

Setup

1. Zoho OAuth Credentials

  1. Go to Zoho API Console
  2. Create a Self Client
  3. Generate a grant code with scopes:
    ZohoMail.messages.ALL,ZohoMail.folders.ALL,ZohoMail.tags.ALL,ZohoMail.accounts.READ,ZohoMail.attachments.READ
    
  4. Exchange the grant code for a refresh token
  5. Copy your Client ID, Client Secret, and Refresh Token

2. Configure

cp env.example .env
# Edit .env with your credentials

3. Install & Run

Standalone:

pip install -r requirements.txt
python server.py

Docker:

docker compose up --build

4. Connect to Claude

Add to your Claude MCP config (~/.claude/claude_desktop_config.json or Claude.ai settings):

{
  "mcpServers": {
    "zoho-mail": {
      "command": "python",
      "args": ["/path/to/zoho-mail-mcp/server.py"],
      "env": {
        "ZOHO_CLIENT_ID": "your_client_id",
        "ZOHO_CLIENT_SECRET": "your_client_secret",
        "ZOHO_REFRESH_TOKEN": "your_refresh_token"
      }
    }
  }
}

Testing

pip install pytest pytest-asyncio respx
pytest tests/ -v

Data Centers

Set ZOHO_MAIL_BASE_URL and ZOHO_ACCOUNTS_URL for your region:

Region Mail URL Accounts URL
US https://mail.zoho.com https://accounts.zoho.com
EU https://mail.zoho.eu https://accounts.zoho.eu
India https://mail.zoho.in https://accounts.zoho.in
Australia https://mail.zoho.com.au https://accounts.zoho.com.au
Japan https://mail.zoho.jp https://accounts.zoho.jp

Privacy Policy

This MCP server acts as a local bridge between your MCP client (Claude, etc.) and the Zoho Mail API. It does not collect, store, transmit, or log any user data beyond what is required for OAuth token management (refresh token stored in your local .env file). No data is sent to any third party. All API calls go directly from your machine to Zoho's servers using your own OAuth credentials. No telemetry, analytics, or tracking of any kind is included.

Support

File issues at github.com/ludoplex/zoho-mail-mcp/issues.

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选