Postfleet

ai.postfleet由 postfleet.ai 发布官方发布者v0.1.4更新于 Oct 24, 2026

Give an AI agent its own email address: send, reply, read, and wait for mail.

已验证Streamable HTTP可网页运行效率与工作流沟通与协作

概览

AI 生成的概览

让 AI 代理拥有自己的电子邮箱地址,可通过 Postfleet 发送、回复、读取邮件并等待新邮件。

可以做什么
Postfleet 是面向代理的电子邮件基础设施。工具涵盖邮箱与域名管理(列出和创建邮箱,列出、创建和验证域名)、发送与回复邮件,以及读取邮件(列出收件箱、读取邮件、等待邮件)。草稿生命周期(创建、列出、获取、更新、发送、删除)支持由人工审批后再发出的流程;被拦截的发送会返回 202 pending_approval,而不是失败。每个工具都调用该密钥本就可访问的同一套 REST 接口,因此认证、权限范围和配额只在一处执行。
适用场景
当助手需要操作自己的邮箱时使用:发送和回复邮件、轮询新邮件,或先准备草稿供人工审批后再发送。适合需要专属地址而非共用人工邮箱的代理工作流。
运行要求
可使用 api.postfleet.ai 上的托管端点(streamable HTTP,带 Authorization bearer 头),或通过 npx 运行本地 npm 包 @postfleet/mcp(需要 Node.js)。必须提供 Postfleet API 密钥(pf_...),以 POSTFLEET_API_KEY 或 bearer 令牌形式传入;面向客户端的应为 mcp 作用域的密钥。可用 POSTFLEET_API_URL 覆盖 API 源地址。需要能访问 Postfleet 的网络。
安装前请注意
API 密钥属于凭据:不要提交到代码库,并按工作负载分别使用密钥,以便单独吊销而不影响其他。该服务器可代表代理发送和回复邮件,也可创建邮箱和域名,因此外发邮件和账户变更应经过审核。在需要人工确认的场景中,优先使用草稿审批流程。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Postfleet,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/ai.postfleet%2Fpostfleet/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "postfleet": {
      "type": "http",
      "url": "https://api.postfleet.ai/api/mcp"
    }
  }
}

README

Postfleet MCP

[Listed on mcpservers.org]

Give an AI agent its own email address. Postfleet is email infrastructure for agents — inbound is parsed, classified, extracted to your schema, and screened for prompt injection before your agent reads a word.

This repo holds the server source and its plugin manifests. It is a mirror — the code is developed in the Postfleet application repo and published to npm as @postfleet/mcp; open issues here, send patches here, and they land upstream. The server ships two ways:

Hosted (no install)https://api.postfleet.ai/api/mcp, streamable HTTP, Authorization: Bearer pf_...
Local (stdio)@postfleet/mcp via npx

Get a pf_ API key at postfleet.ai.

Tools

list_mailboxes, create_mailbox, list_domains, create_domain, verify_domain, send_email, reply_email, list_inbox, read_email, wait_for_email — plus the draft lifecycle (create_draft, list_drafts, get_draft, update_draft, send_draft, delete_draft) for flows where a human approves before mail goes out. A send that lands in that gate returns 202 pending_approval, which is not a failure.

Every tool is thin-over-REST — it calls the same /api/v1/ endpoints your key already reaches (OpenAPI), so auth, scoping, and quotas are enforced once.

Install

Cursor marketplace plugin

The manifests in this repo (mcp.json, .cursor-plugin/plugin.json) declare headers.Authorization = Bearer ${POSTFLEET_API_KEY} for the hosted server and the same variable for local npx @postfleet/mcp. Installing the plugin should prompt for that key and attach it as a real Bearer header — a raw URL add without the header will 401 on initialize until a key is supplied or the hosted connect card finishes OAuth.

Cursor (manual)

json
{  "mcpServers": {    "postfleet": {      "url": "https://api.postfleet.ai/api/mcp",      "headers": { "Authorization": "Bearer pf_your_key_here" }    }  }}

Local stdio (npx -y @postfleet/mcp)

bash
npx -y @postfleet/mcp

Any MCP client that speaks stdio can run that command with POSTFLEET_API_KEY set:

json
{  "mcpServers": {    "postfleet": {      "command": "npx",      "args": ["-y", "@postfleet/mcp"],      "env": { "POSTFLEET_API_KEY": "pf_your_key_here" }    }  }}

Claude Code

bash
claude mcp add postfleet --env POSTFLEET_API_KEY=pf_your_key_here -- npx -y @postfleet/mcp

POSTFLEET_API_URL (default https://api.postfleet.ai) overrides the API origin for staging or self-hosted deployments.

Keys

Keys are scoped — bootstrap can only create mailboxes, api covers mail operations, mcp is the one to hand a client. Use a separate key per workload so you can revoke one without breaking the rest. Never commit a key; the manifests in this repo deliberately contain none.

Links

Build from source

bash
npm install && npm run build   # tsup → dist/

MIT licensed.

来源:README.md,提交 b835e9e

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v0.1.4最新Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分