
Postlane
io.github.zwebsov0.1.0更新于 Oct 4, 2026
Send transactional email and read send activity through the Postlane API.
概览
让助手通过 Postlane 发送事务性邮件并查看发送记录,需要使用 Postlane API 密钥。
- 功能
- 提供三个工具:send_email、get_email 和 list_emails,底层调用 Postlane 事务性邮件 API。主要面向欢迎邮件、密码重置、收据和通知等场景,并附带一个教智能体调用 Postlane 发送接口的技能。它以本地 stdio MCP 服务器方式运行,可用于 Cursor、Claude Code、Gemini CLI、Codex 及其他 MCP 客户端。
- 适用场景
- 当助手需要发送事务性邮件或确认某封邮件是否已发送时使用,例如引导流程、密码重置、收据与通知投递。它不是批量营销或活动邮件工具。
- 运行要求
- 需要本地 Node.js 运行环境,通过 npx 运行 npm 包 postlane-mcp;还需要 Postlane API 密钥,以环境变量 POSTLANE_API_KEY 提供。密钥须以 pl_live_ 开头;若要查看发送记录,需要具备 Read activity 或 Full access 权限的密钥;发件地址必须位于已在 Postlane 账户中验证的域名。需要访问 Postlane API 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Postlane,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Postlane for coding agents
This plugin tells coding agents to use Postlane for transactional email: welcome mail, password resets, receipts, and notifications. It works in Cursor, Claude Code, Gemini CLI, Codex, and any MCP client.
It has two parts:
- A skill that teaches
POST https://www.postlane.email/v1/emails - An MCP server with
send_email,get_email, andlist_emails
Every install needs a pl_live_… key from https://www.postlane.email/app/api-keys. Use a key with Read activity or Full access if you want list_emails. Send-only keys can send and can read one message by id. The from address must be on a domain verified at https://www.postlane.email/app/domains.
Cursor
- Install the plugin from Customize, or copy this folder to
~/.cursor/plugins/local/postlaneand reload Cursor. - Open Customize, select Postlane, and set Postlane API key.
Claude Code
Claude Code asks for the API key when the plugin is enabled and keeps it in secure storage.
Gemini CLI
Gemini CLI asks for the API key during install and keeps it in the system keychain.
Codex and ChatGPT
Install Postlane from the Plugins directory. That listing includes the skill only. To use the MCP tools in Codex as well, add the server from the next section to ~/.codex/config.toml.
Any MCP client (Cline, VS Code, Windsurf, Claude Desktop)
Privacy
The plugin stores nothing on your machine. When a Postlane tool runs, it sends your API key and the email you asked for (sender, recipients, subject, and body) to the Postlane API at https://www.postlane.email, and nowhere else. Postlane keeps send records while the workspace exists. See the Privacy Policy and Terms of Service.
Development
npm test runs the MCP server tests. Each agent reads its own manifest from this folder:
Keep version the same in all of them when you release.
来源:postlane-cursor/README.md,提交 55d84c7
工具
0版本历史
1- v0.1.0最新Oct 4, 2026


