MCP 邮件陷阱服务器
提供通过 Mailtrap 发送交易电子邮件工具的 MCP 服务器
设置
Claude 桌面或光标
添加以下配置:
如果您使用asdf
来管理 Node.js,则必须使用可执行文件的绝对路径(例如 Mac)
Claude Desktop 配置文件位置
Mac : ~/Library/Application Support/Claude/claude_desktop_config.json
Windows : %APPDATA%\Claude\claude_desktop_config.json
光标配置文件位置
Mac : ~/.cursor/mcp.json
Windows : %USERPROFILE%\.cursor\mcp.json
VS 代码
在命令面板中运行: Preferences: Open User Settings (JSON)
然后,在设置文件中,添加以下配置:
[!TIP] 更改“env”部分后,请不要忘记重新启动 MCP 服务器。
用法
配置完成后,您可以要求代理发送电子邮件,例如:
- “向john.doe@example.com发送一封电子邮件,主题为‘明天开会’,并友情提醒我们即将举行的会议。”
- “向sarah@example.com发送电子邮件,告知项目更新情况,并抄送team@example.com团队”
可用工具
发送电子邮件
通过 Mailtrap 发送交易电子邮件。
参数:
to
(必填):收件人的电子邮件地址subject
(必填):电子邮件主题行from
(可选):发件人的电子邮件地址,如果没有提供,将使用“DEFAULT_FROM_EMAIL”text
(可选):电子邮件正文,如果“html”为空则需要html
(可选):电子邮件正文的 HTML 版本,如果“文本”为空则必填cc
(可选):抄送收件人电子邮件地址数组bcc
(可选):BCC 收件人电子邮件地址数组category
(可选):用于跟踪的电子邮件类别
发展
- 克隆存储库:
- 安装依赖项:
使用 Claude Desktop 或 Cursor 进行配置
[!TIP] 请参阅“设置”部分中配置文件的位置。
添加以下配置:
如果您使用asdf
来管理 Node.js,则应该使用可执行文件的绝对路径:
(以 Mac 为例)
VS 代码
[!TIP] 请参阅“设置”部分中配置文件的位置。
测试
您可以使用MCP 检查器测试服务器:
贡献
欢迎在GitHub上提交 Bug 报告和拉取请求。本项目旨在打造一个安全友好的协作空间,并希望贡献者遵守行为准则。
执照
根据MIT 许可证的条款,该软件包可以作为开源软件使用。
行为守则
希望参与 Mailtrap 项目代码库、问题跟踪器、聊天室和邮件列表的每个人都遵守行为准则。
You must be authenticated.
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.
Tools
与 Mailtrap 电子邮件平台集成,以便通过 API 发送交易电子邮件。
Related MCP Servers
- -securityAlicense-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 -PythonGPL 3.0
- -securityFlicense-qualityAllows sending emails through the Resend service using a standardized Model Context Protocol (MCP) interface, with TypeScript support.Last updated -135TypeScript
- -securityAlicense-qualityProvides IMAP and SMTP capabilities, enabling developers to manage email services with seamless integration and automated workflows.Last updated -35PythonBSD 3-Clause
- AsecurityFlicenseAqualityA simple MCP server that enables users to send emails using Resend's API, integrating with tools like Cursor and Claude Desktop for seamless email composition and delivery.Last updated -16321TypeScript