ClaudePost
克劳德·波斯特
模型上下文协议 (MCP) 服务器,通过 Claude 提供无缝的电子邮件管理界面。此集成允许您直接通过与 Claude 进行自然语言对话来处理电子邮件,并支持安全搜索、阅读和发送电子邮件等功能。
功能与演示
电子邮件搜索和阅读
📧 按日期范围和关键字搜索电子邮件
📅 查看每日电子邮件统计信息
📝 通过线程支持阅读完整的电子邮件内容
电子邮件撰写和发送
✉️ 发送带有抄送收件人支持的电子邮件
🔒 使用 TLS 安全处理电子邮件
Related MCP server: IMAP MCP Server
先决条件
Python 3.12 或更高版本
Gmail 帐户(或其他电子邮件提供商)
如果使用 Gmail:
已启用双因素身份验证
已生成应用专用密码
Claude 桌面应用程序
设置
安装 uv:
# MacOS/Linux curl -LsSf https://astral.sh/uv/install.sh | sh # Remember to restart your terminal after installation克隆并设置项目:
# Clone the repository git clone https://github.com/ZilongXue/claude-post.git cd claude-post # Create and activate virtual environment uv venv source .venv/bin/activate # On Windows: .venv\Scripts\activate # Install dependencies uv pip install -e .在项目根目录中创建一个
.env文件:EMAIL_ADDRESS=your.email@gmail.com EMAIL_PASSWORD=your-app-specific-password IMAP_SERVER=imap.gmail.com SMTP_SERVER=smtp.gmail.com SMTP_PORT=587配置Claude桌面:
首先,请确保您已安装 Claude 桌面版。您可以点击此处安装最新版本。如果您已安装 Claude 桌面版,请确保其已更新至最新版本。
打开您的 Claude Desktop 配置文件:
# MacOS ~/Library/Application Support/Claude/claude_desktop_config.json # Create the file if it doesn't exist mkdir -p ~/Library/Application\ Support/Claude touch ~/Library/Application\ Support/Claude/claude_desktop_config.json添加以下配置:
{ "mcpServers": { "email": { "command": "/Users/username/.local/bin/uv", "args": [ "--directory", "/path/to/claude-post/src/email_client", "run", "email-client" ] } } }将
/Users/username和/path/to/claude-post替换为您的实际路径。更新配置后,重新启动 Claude Desktop 以使更改生效。
运行服务器
服务器通过Claude Desktop自动运行:
如果配置正确,服务器将在 Claude 启动时启动
无需手动服务器管理
Claude 关闭时服务器停止
通过克劳德使用
您可以使用自然语言命令与电子邮件进行交互。以下是一些示例:
搜索电子邮件
“显示上周的电子邮件”
“查找主题包含‘会议’的电子邮件”
“搜索 2024 年 1 月 1 日至 2024 年 1 月 7 日期间来自recruiting@linkedin.com的电子邮件”
“搜索上个月发送的电子邮件”
阅读电子邮件内容
“显示电子邮件 #12345 的内容”
“人力资源部最后一封电子邮件的完整内容是什么?”
电子邮件统计
“我今天收到了多少封电子邮件?”
“显示过去一周的每日电子邮件数量”
发送电子邮件
“我想发送一封电子邮件到john@example.com ”
“发送会议确认至team@company.com ”
注意:出于安全原因,Claude 会在实际发送之前始终向您显示电子邮件详细信息以供确认。
项目结构
claude-post/
├── pyproject.toml
├── README.md
├── LICENSE
├── .env # Not included in repo
├── .python-version # Python version specification
└── src/
└── email_client/
├── __init__.py
├── __main__.py
└── server.py # Main implementation安全说明
使用应用专用密码代替主账户密码
对于 Gmail 用户:
在您的 Google 帐户中启用两步验证
为该应用程序生成应用密码
使用
.env文件中的应用密码
日志记录
应用程序会将详细信息记录到email_client.log中。检查此文件以获取调试信息和错误消息。
执照
该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。
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
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI assistants like Claude to interact with Gmail through natural language, providing comprehensive email management capabilities including sending, reading, organizing, searching, and managing drafts and labels.21GPL 3.0
- AlicenseNot gradedqualityFmaintenanceA Model Context Protocol server that enables AI assistants to access and manage email through IMAP, supporting browsing, searching, reading, and organizing emails while learning user preferences over time.59MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables Claude AI to interact with Gmail, supporting email sending, reading, searching, labeling, draft management, and batch operations through natural language commands.2MIT
- -licenseNot gradedqualityNot gradedmaintenanceA Model Context Protocol server that enables Claude to interact with Gmail through a secure OAuth2 connection, providing email management capabilities like listing, sending, deleting, and organizing emails.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Read, search, send, organize, draft and schedule email across your inboxes from any MCP client.
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/ZilongXue/claude-post'
If you have feedback or need assistance with the MCP directory API, please join our Discord server