Postlane

io.github.zwebsov0.1.0更新于 Oct 4, 2026

Send transactional email and read send activity through the Postlane API.

概览

AI 生成的概览

让助手通过 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 的网络连接。
安装前请注意
该服务器会把 API 密钥以及邮件内容(发件人、收件人、主题和正文)发送到 Postlane API。发送邮件是对外动作且无法撤回,使用前请确认收件人和内容。该密钥是正式凭据,不要写入共享配置文件;不需要查看记录时应使用仅发送权限的密钥。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Postlane,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

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, and list_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

  1. Install the plugin from Customize, or copy this folder to ~/.cursor/plugins/local/postlane and reload Cursor.
  2. Open Customize, select Postlane, and set Postlane API key.

Claude Code

bash
claude plugin marketplace add zwebso/postlaneclaude plugin install postlane@postlane

Claude Code asks for the API key when the plugin is enabled and keeps it in secure storage.

Gemini CLI

bash
gemini extensions install https://github.com/zwebso/postlane-plugin

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)

json
{  "mcpServers": {    "postlane": {      "command": "npx",      "args": ["-y", "postlane-mcp"],      "env": { "POSTLANE_API_KEY": "pl_live_..." }    }  }}

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:

AgentManifest
Cursor.cursor-plugin/plugin.json and mcp.json
Claude Code.claude-plugin/plugin.json and .claude-plugin/marketplace.json
Gemini CLIgemini-extension.json
Codex and ChatGPT.codex-plugin/plugin.json
MCP Registry and npmserver.json and package.json

Keep version the same in all of them when you release.

来源:postlane-cursor/README.md,提交 55d84c7

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v0.1.0最新Oct 4, 2026