mailfoundry.us.wr.rs

MCP 服务器

把收件台接进 AI 助手:端点 /api/v1/mcp,五个工具,scope 即权限。

MailFoundry 提供 MCP(Model Context Protocol)端点,AI 助手(Claude、Cursor 等)可以直接操作你的收件台。

接入

端点:https://mailfoundry.us.wr.rs/api/v1/mcp(streamable HTTP,JSON-RPC)。认证用任意一把你的 API Key,配进客户端的 headers:

{ "Authorization": "Bearer mf_…", "X-Api-Key": "mf_…" }

工具

工具 作用 需要 scope
list_mailboxes 列邮箱 inbox:read
list_messages 列/搜消息 inbox:read
read_message 读单封全文 inbox:read
draft_message 写草稿 mail:draft
send_message 发送 mail:send

权限即 scope

只有 mail:send 的 Key 能发信;只给 mail:draft 的 Key 写出的草稿在结构上无法被发送 —— 让 AI「只读不写」或「只写不发」都只是一把 Key 的事。发送仍走八检闸门,AI 不例外。

联系我们