📬 Claude 桌面版 EmailAssistant
EmailAssistant 是一款兼容 MCP 的服务器,它集成了 Gmail API,可以根据自定义查询或近期活动来获取和汇总电子邮件。它可以与 Claude Desktop 配合使用,轻松与收件箱进行交互。
⚙️ 设置说明
1. 启用 Gmail API
创建新项目或使用现有项目。
在“API 和服务”下启用Gmail API 。
创建OAuth 2.0 客户端 ID凭证。
下载
client_secret_XXXXX.json文件。
🔧 配置摘要
🔁 在config.py中替换这些
将
/absolute/path/to/your/project替换为您本地 EmailAssistant 项目目录的完整路径。将
"your_client_secret_file.json"替换为您从 Google Cloud 下载的 OAuth 凭据的确切文件名。
🖥️ 3. Claude 桌面配置
在您的 Claude Desktop 配置文件中:
✅ 运行它
配置完成后:
启动 Claude Desktop
Claude 将自动识别
EmailAssistantMCP 服务器。您现在可以使用 Claude 调用如下函数:
📌 要求
Python 3.9+
uv(如果不使用uv则使用pip)以下 Python 包:
google-api-python-clientgoogle-auth-httplib2google-auth-oauthlibmcp[cli]
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
与 Gmail API 集成的 MCP 兼容服务器,可根据自定义查询或最近的活动获取和汇总电子邮件。
Related MCP Servers
- Asecurity-licenseAqualityProvides tools for interacting with Gmail and Calendar APIs. This server enables you to manage your emails and calendar events programmatically through the MCP interface.Last updated -26MIT License
- -security-license-qualityIntegrates with Gmail to enable sending, reading, drafting, and managing emails via the Model Context Protocol (MCP), allowing users to interact with email tasks through automated client prompts.Last updated -2GPL 3.0
- -security-license-qualityMCP server that integrates with Gmail to enable sending, reading, and managing emails through tools like send-email, trash-email, get-unread-emails, and read-email.Last updated -60GPL 3.0
- -security-license-qualityAn MCP server that enables Gmail integration, allowing users to manage emails (send, receive, read, trash, mark as read) directly through MCP clients like Claude Desktop.Last updated -MIT License