FrankKi

app.frankki由 frankki.app 发布官方发布者v1.0.0更新于 Oct 24, 2026

The agentic layer of letters. Agents send real printed mail worldwide, German compliance built in.

已验证Streamable HTTP可网页运行效率与工作流商业与电商

概览

AI 生成的概览

托管式 MCP 服务器,让助手校验地址、查询价格、起草、寄送并追踪全球投递的实体打印信件。

可以做什么
  • 按目的国邮政规则校验收件地址,并按名称查询公司地址
  • 查询精确运费、量级折扣价格与预付钱包余额
  • 起草排版好的信件并返回预览,浏览模板,或上传自有 PDF
  • 单封或批量寄信,转入审批队列,并追踪打印、交寄与投递状态
  • 管理附件、信头与签名、寄件人档案、定时寄送、订单取消与归档导出
适用场景
当智能体的流程最终必须落到纸面时使用:催款与付款提醒、正式通知、合同确认、客户开户信或其他合规函件。适合需要规模化寄送实体信函、并希望在提交前先看价格与预览的 B2B 与开发者场景。
运行要求
远程 streamable-HTTP 端点,无需安装或自托管。需要 FrankKi 合作伙伴账户,并在控制台签发 API 密钥,交互式客户端可用 OAuth 2.1 登录。真实寄送需要已充值的预付钱包(单次充值 10 至 500 欧元)、寄件人档案和已签署的数据处理协议。仅支持 stdio 的客户端需借助 mcp-remote 之类的桥接。
安装前请注意
寄送不可撤销且会从预付钱包扣款;order_send 与 order_send_batch 被标注为破坏性操作,批量寄送一次可向多位收件人发信。API 密钥是 bearer 凭证,可设置消费上限与工具范围,应尽量收窄权限。信件内容与收件人数据会交给 FrankKi 及其邮政合作方用于打印与投递。建议先用试运行和 maxCostEuros 上限测试。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "frankki": {
      "type": "http",
      "url": "https://mcp.frankki.app/"
    }
  }
}

README

FrankKi MCP

Hosted, remote MCP server. Nothing to install, nothing to self-host. Point your agent at https://mcp.frankki.app (remote, streamable-http, OAuth 2.1 or API key). This repository is the public manifest, documentation and changelog for that server; the server itself is closed-source and runs on our own infrastructure, which is why there is no src/ directory here.

Physical mail for AI agents. With one tool call, FrankKi MCP lets an agent send a real, printed letter to a physical address anywhere in the world. Compose, price, send, and track. The document is printed, franked, and delivered by postal partners worldwide.

This is the official Model Context Protocol (MCP) server for FrankKi. It is built for B2B and developer use: give your agents, backends, and automated workflows the ability to put real letters in the mail, at scale, worldwide.

Website: frankki.app · MCP for humans and agents: frankki.app/mcp (English: frankki.app/en/mcp)

[Status] [MCP] [Delivery] [Transport] [Auth]


Contents


What is FrankKi MCP?

FrankKi MCP is the agent-native interface to FrankKi's physical mail infrastructure. FrankKi composes, prints, and physically mails letters. This server exposes that capability to software: your model drafts a letter and sends it, and a real document arrives at the recipient's address.

Delivery is worldwide, handled by our postal partners in each destination country. It is primarily a B2B and developer product: if you are building an assistant, an ops automation, or a backend that needs to produce and dispatch physical correspondence, this is your physical-output layer.

Why physical mail via MCP?

Some things still have to arrive on paper: formal and legal notices, transactional and compliance mail, contract confirmations, dunning and reminders, customer onboarding, official correspondence. These workflows usually dead-end at "now a human prints this and walks to a postbox." FrankKi MCP removes that step. The same agent that drafts the letter can send it, worldwide, and track delivery.

Typical uses:

  • Dunning and payment reminders
  • Cancellations, terminations, objections, and other formal notices
  • Contract and order confirmations
  • Customer and account notifications
  • Onboarding and welcome letters
  • Any workflow whose last step must be a physical letter

What your agent can do

The server exposes a focused, scoped tool set. The core send flow:

ToolWhat it doesSide effect
address_validateValidate a recipient address against destination-country postal rulesread only
address_search_companyLook up a company's postal address by nameread only
template_listBrowse reusable letter templatesread only
letter_create_draftDraft a professionally formatted letter from plain text plus a recipient, returns a previewcreates a draft, no send
shipping_quoteGet the exact price for a send to a given destination before committingread only
wallet_balanceRead the prepaid wallet balanceread only
order_sendSend one physical letter, charges the wallet; supports a maxCostEuros guardspends money, mails paper
order_send_batchBulk send: one call, many recipients with merge fieldsspends money, mails paper
approval_submitRoute a letter into the four-eyes approval queue instead of sending directlyqueues, no send
order_statusTrack a letter through printed, posted, and deliveredread only
wallet_topup_linkCreate a secure Stripe top-up linkcreates a payment link

Beyond the core flow there are tools for attachments, letterheads and signatures, sender profiles, send presets, scheduled sends, order cancellation, posting receipts (Einlieferungsbeleg), client (Mandanten) lookups, and GoBD/DATEV archive exports. The full list with scopes and side effects: docs/tools.md. The authoritative, versioned list is always what the server returns from the MCP tools/list method.

By default you provide the letter content and the recipient, and FrankKi lays out the document to DIN 5008. Attachments are supported. A finished letter PDF of your own also works: letter_upload_pdf checks that the address sits where the post reads it, and order_send with pdfStorageKey sends it unchanged.

Quick start for humans

You do not clone or self-host anything. The FrankKi MCP server is hosted. You point your MCP client at it and authenticate.

1. Get access. Create a partner account and issue a key from the dashboard at frankki.app/mcp. Fund your wallet (top-ups from 10 to 500 EUR each). You can test without mailing anything first.

2a. Claude (claude.ai and Claude Desktop) and clients with native remote support. Add a custom connector: Customize > Connectors > "+ Add" > "Add custom connector", name it FrankKi, URL https://mcp.frankki.app, then under Authentication choose "Sign in now". OAuth runs in your browser: sign in with your FrankKi account or create one there. Claude Code:

bash
claude mcp add --transport http frankki https://mcp.frankki.app

Then run /mcp in Claude Code to sign in.

2b. Clients that only speak stdio (older Claude Desktop, some Cursor setups). Bridge with mcp-remote:

json
{  "mcpServers": {    "frankki": {      "command": "npx",      "args": ["-y", "mcp-remote", "https://mcp.frankki.app"]    }  }}

2c. Headless with an API key (no interactive browser). Pass the key as a bearer header:

json
{  "mcpServers": {    "frankki": {      "command": "npx",      "args": [        "-y", "mcp-remote", "https://mcp.frankki.app",        "--header", "Authorization: Bearer ${FRANKKI_API_KEY}"      ]    }  }}

2d. Claude Code. One command:

bash
claude mcp add --transport http frankki https://mcp.frankki.app

Restart the client, and your model can now send letters. Ask it something like: "Send this payment reminder to the address on file, but show me the price first."

Step-by-step guides for Cursor, VS Code, Windsurf, Zed, the OpenAI Agents SDK, and LangChain: docs/clients.md.

Quick start for AI agents

The server is standard streamable HTTP MCP. Discovery, endpoint, and auth in one place:

  • Endpoint: https://mcp.frankki.app
  • Registry name: app.frankki/letters (published in the Official MCP Registry, version 1.0.0)
  • Auth metadata: https://mcp.frankki.app/.well-known/oauth-authorization-server (OAuth 2.1, dynamic client registration) or a static bearer API key
  • Machine-readable overview: https://frankki.app/llms.txt

TypeScript

ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js";import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
const transport = new StreamableHTTPClientTransport(  new URL("https://mcp.frankki.app"),  { requestInit: { headers: { Authorization: `Bearer ${process.env.FRANKKI_API_KEY}` } } });
const client = new Client({ name: "my-agent", version: "1.0.0" });await client.connect(transport);
const { tools } = await client.listTools();console.log(tools.map((t) => t.name));
const price = await client.callTool({  name: "shipping_quote",  arguments: { recipientCountry: "US", deliveryType: "standard" },});

Python

python
from mcp import ClientSessionfrom mcp.client.streamable_http import streamablehttp_client
url = "https://mcp.frankki.app"headers = {"Authorization": f"Bearer {FRANKKI_API_KEY}"}
async with streamablehttp_client(url, headers=headers) as (read, write, _):    async with ClientSession(read, write) as session:        await session.initialize()        tools = await session.list_tools()        print([t.name for t in tools.tools])

Authentication

Two modes, pick per client:

  • OAuth 2.1 for interactive clients (Claude Desktop, IDEs). The consent screen shows what the agent is allowed to do, and read-only scopes are granted by default. Best when an end user connects their own FrankKi account.
  • API key (bearer token) for headless agents, servers, and CI. Issue and rotate keys in the dashboard. Each key can carry a spending limit and an allowed-tools scope, so a key that may look up prices does not have to be a key that may spend money.

Wallet and pricing

FrankKi runs on a prepaid wallet. You top it up (via Stripe), and each send draws from the balance. No surprise post-paid invoices, and an out-of-credit agent simply cannot spend.

  • Pricing depends on the destination country and your monthly volume. A standard black-and-white letter within Germany costs 1,99 EUR below 20 letters a month, then 1,89 EUR from 20, 1,79 EUR from 100, 1,69 EUR from 500 and 1,59 EUR from 1,000 letters a month (the reached tier applies to every letter that month). International sends are priced per destination.
  • Top-ups are 10 to 500 EUR each. The balance does not expire and there is no subscription.
  • FrankKi is a small business under § 19 UStG and shows no VAT: the price you see is the final price.
  • Registered mail and other service levels are available where the destination supports them.
  • Volume tiers (Staffelpreise) reduce the per-letter price at scale.

Always call shipping_quote for the live, exact figure before order_send. Prices are authoritative from the server, never hardcode them.

Safety and human-in-the-loop

Sending physical mail is irreversible and costs money, so the platform is cautious by default:

  • Honest annotations. order_send and order_send_batch are annotated as destructive; read tools as read-only. Your agent can gate on this, and order_send accepts a maxCostEuros cap that aborts the send if the live price exceeds it.
  • Approval before dispatch. Sends enter the approval queue. The user decides in the signed-in portal through the returned approval link. The prepared OAuth hardening allows agent approval only after a separate, explicit self-approval grant. See the authorization contract and release status.
  • Per-key spending limits and tool scopes. Cap what an automated key can spend, and restrict which tools it may call.
  • Preview before commit. letter_create_draft returns a rendered preview and shipping_quote returns the cost, so an agent or a human can confirm before order_send.

Testing without mailing

Regular accounts have no separate sandbox. Drafts, previews, quotes and order_send with dryRun: true are free: you get the rendered pages and the exact price, nothing is printed and nothing is charged. A dry run needs a sender profile and the signed data processing agreement (AVV), the same as a real send. Only a letter you approve draws from your wallet.

Compliance

Enterprise and EU-grade, for teams that need it:

  • GoBD-compliant archiving of every send, with retrievable receipts.
  • DATEV and generic DMS exports for accounting and document management.
  • DSGVO / GDPR: letter data is processed in the EU.
  • Platform and messages available in English and German.

How a send actually works

  1. Your agent calls letter_create_draft with the text and a recipient. FrankKi renders a professionally formatted document.
  2. shipping_quote returns the exact cost for that destination. The agent, or a human via the approval queue, confirms.
  3. order_send queues the letter for approval. Show its approval link to the user; fulfillment follows an authorized decision.
  4. FrankKi prints the letter and hands it off for delivery worldwide via our postal partners.
  5. Status flows back through order_status: printed, posted, and, where supported, delivered. order_einlieferungsbeleg returns the posting receipt.

Discovery and server manifest

For directories and registries, this repo publishes server.json (Official MCP Registry schema, name app.frankki/letters) and a repo-level llms.txt for AI-assisted discovery.

Found this server through an MCP directory? The canonical source of truth is always frankki.app/mcp.

Documentation

DocContents
docs/tools.mdEvery tool with scope, side effects, the canonical send flow, and error codes
docs/authentication.mdOAuth 2.1, API keys, the full scope list, recommended setups
docs/clients.mdSetup for Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, Zed, OpenAI Agents SDK, LangChain
docs/use-cases.mdDunning, terminations, compliance mail, onboarding, agent-native products
examples/Runnable TypeScript and Python clients (dry run first, send behind an explicit flag)

FAQ

Is the letter really printed and mailed, or is it email? Real paper. It is printed, franked, and delivered by postal partners. This is not email.

Which countries can it deliver to? Worldwide. Use shipping_quote to confirm reach and cost for a specific destination.

Do I host the server? No. FrankKi hosts it. This repo is documentation, server.json, and examples. You connect a client or agent to the hosted endpoint.

Is this for consumers or businesses? Primarily B2B and developer use: agents, backends, and automated workflows that need to dispatch physical mail at scale.

What if my agent goes rogue? It cannot spend beyond the wallet balance or a key's spending limit, sensitive letters can be forced through a human approval queue, and destructive tools are clearly annotated. Start with a dry run.

Is there an API without MCP? Yes, FrankKi also exposes a REST API. The MCP server is the agent-native front door. See frankki.app/mcp.

Links


Built by the team behind FrankKi: physical mail infrastructure for software, so your agents and workflows can send real letters worldwide without ever touching a printer.

来源:README.md,提交 af8c28c

工具

4

mcp_health

Verbindung prüfen

Health-/Echo-Probe - prüft das Partner-Token und die Verarbeitungskette von Anfang bis Ende und sagt dir unter setup, welche Voraussetzungen für einen echten Versand schon erfüllt sind (Absender-Profil, AVV, Guthaben, Sandbox, Freigabe, Briefpapier) und was der nächste Schritt ist. Jeder Schritt trägt humanSummary (de, en): ein Satz in Alltagssprache für den Menschen. Sprich mit dem Menschen in diesen Worten; Tool-Namen, nextTool, fixUrl und messageDe/messageEn sind für dich. Mit checkRender: true wird zusätzlich geprüft, ob gerade überhaupt gerendert werden kann (Vorschau, Thumbnail). Rufe das auf, bevor du eine Vorlage baust, die du danach ansehen musst. EN: Health/echo probe - verifies the partner token and the chain end to end, and reports under setup which prerequisites for a real send are already met (sender profile, data processing agreement, balance, sandbox, approval, letterhead) and what the next step is. Every step carries humanSummary (de, en): one sentence in everyday language for the person. Talk to the person in those words; tool names, nextTool, fixUrl and messageDe/messageEn are for you. With checkRender: true it additionally checks whether rendering currently works at all (preview, thumbnail). Call it before building a template you will need to look at.

输入参数reasoningcheckRender

address_validate

Adresse prüfen

Prüft eine Adresse anhand landesspezifischer Regeln und meldet harte Fehler als ADDRESS_INVALID. Nur eine Prüfung, das Adressbuch bleibt unverändert; zum Anlegen oder Ändern einer Adresse nimm address_upsert. EN: Validates an address using country-specific rules and reports hard failures as ADDRESS_INVALID. A check only, the address book is left untouched; to create or change an address use address_upsert.

输入参数zipcity必填name必填poboxstreet必填companycountryisDefaultreasoningaddressTypehouseNumbermandantennummer

shipping_quote

Versandpreis ermitteln

Registered-mail availability follows the destination's current catalog. The codes einschreiben_einwurf and einschreiben_uebergabe are German products; Switzerland uses ch_einschreiben. For other destinations, use methods returned in availableDeliveryTypes by a standard shipping_quote for that country, then quote the chosen code. A rejected country/method pair gives a verdict for that pair alone. A catalog snapshot gives a verdict for that snapshot alone. Tracked mail and registered mail are distinct products. Get the user's agreement before switching a requested registered method to standard or tracked delivery. Promise a carrier-issued proof-of-posting PDF only after confirming one is available. Reply in the user's conversation language, regardless of recipient country, letter language, German tool titles or bilingual tool results. Translate shipping methods, letter formats, delivery estimates and explanations for the user. In English: Standardbrief = standard letter; Kompaktbrief = compact letter; Großbrief = large letter; Maxibrief = maxi letter; Einschreiben = registered mail; Einwurf-Einschreiben = registered mail with recorded mailbox delivery; Übergabe-Einschreiben = registered mail with signature on delivery; Einlieferungsbeleg = proof of posting. Use localized money and number formatting. Keep tool names, parameter names, deliveryType values and error codes unchanged in tool calls; show codes to users only when needed for troubleshooting. Preserve the letter's contents in its original language. Ermittelt den Preis, das Briefformat, die Versandart und die voraussichtliche Laufzeit für einen geplanten Brief, bevor er versendet wird. Das ist die Schätzung für den Fall, dass der Brief erst geplant ist: du gibst nur Seitenzahl, Land und Versandart an. Steht der Brief schon fest, versendest du ihn mit order_send (order_send mit dryRun:true liefert dann den genaueren Preis für genau diesen Brief). Der Preis gilt pro Brief und enthält bereits die Mengenstaffel des

输入参数color必填countryexpressletterIdpageCount必填reasoningdeliveryType必填

pricing_tiers

Staffelpreise abrufen

Liefert die Staffelpreise (Mengenrabatte) von FrankKi: ab welcher Monatsmenge welcher Beispielpreis pro Brief gilt. Nutze das, wenn jemand nach Mengenrabatt, Volumenpreis, Staffelpreis oder Großkundenpreis fragt. Die Beispielpreise gelten für einen einseitigen Standardbrief in Schwarzweiß innerhalb Deutschlands, der echte Preis pro Brief hängt zusätzlich von Seitenzahl, Farbe, Versandart und Zielland ab (dafür shipping_quote). EN: Returns FrankKi's volume tiers (bulk discounts): from which monthly quantity which example price per letter applies. Use this when someone asks about bulk discounts, volume pricing or enterprise pricing. The example prices are for a one-page black and white standard letter within Germany; the real per-letter price also depends on page count, color, delivery type and destination country (use shipping_quote for that).

输入参数reasoning

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 100%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分