
Roastify Mcp
io.github.lonniev由 GitHub 账号 lonniev 发布v0.23.0更新于 Oct 24, 2026
Roastify Developer API MCP Service — Tollbooth DPYC monetization
概览
面向 Roastify 咖啡代发 API 的远程 MCP 运营端:浏览商品目录、生成包装图稿、在自有 GitHub 仓库中管理设计版本,以比特币闪电聪付费。
- 可以做什么
- 浏览 Roastify 目录:产品、拼配、规格、价格、库存与刀模模板,以及已保存的产品
- 基于已有设计生成包装图稿,并查询异步任务状态
- 在自有 GitHub 仓库中管理设计库:存入、列出、读取、删除设计并查看提交版本
- 编辑设计:读取与修改文字图层、添加元素、移动或缩放元素、设置店铺页面描述
- 处理 DPYC 收费基础功能:余额、购买、凭据快递、定价与状态
- 适用场景
- 适合需要操作 Roastify 商户账号的助手:查看咖啡目录、对已在 Roastify Design Studio 中创作的设计做包装图稿个性化,或在 GitHub 中维护带版本的设计库。不适合创建或同步产品、下单,因为上游 API 不提供这些能力。
- 运行要求
- 远程 streamable HTTP 端点,需 OAuth 登录,无需本地安装。每位使用者需通过 Secure Courier 提供自己的 Roastify API 密钥(正式密钥以 rty_live_ 开头,沙箱密钥以 rty_test_ 开头),可选提供具 Contents 读写权限的细粒度 GitHub 令牌、owner/repo 形式的仓库与分支。以比特币闪电聪付款;工具默认未定价,需在 Pricing Studio 应用中设置。
安装
在 SourceWeft 中
- 打开 控制台中的 Roastify Mcp,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.lonniev%2Froastify-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"roastify": {
"type": "http",
"url": "https://roastify-mcp.fastmcp.app/mcp"
}
}
}README
roastify-mcp
A Tollbooth DPYC operator for the Roastify Developer API. Roastify is a white-label coffee dropshipper: it roasts, prints branded packaging, and ships direct to customers.
This operator lets an AI agent read the Roastify catalog, generate packaging artwork, and keep a private library of designs in a GitHub repo the patron owns — paid for in Bitcoin Lightning satoshis with no account, no KYC, and no subscription.
What you're building
Onboarding roadmap
- Nostr keypair — generate one (
nak key generate). The nsec is the only env var:TOLLBOOTH_NOSTR_OPERATOR_NSEC. - Sponsor Authority — register; it provisions your Neon schema automatically.
- Secure Courier — deliver your BTCPay secrets (
btcpay_host,btcpay_api_key,btcpay_store_id) by Nostr DM. They are vaulted, never put in the environment. - Set prices in Pricing Studio — see below. Tools start unpriced and uncallable.
- Deploy on Prefect Horizon —
fastmcp.jsonis ready.
Get Pricing Studio
Your tools ship unpriced, and nobody can call a paid tool that has no price. Pricing Studio (iOS) is the operator console: it reads and writes the pricing model live in Neon, so prices never live in code — see tollbooth-pricing-studio.
That indirection is the point. Dynamic per-tool pricing — surge, happy-hour, loyalty discounts, free trials for a first-time patron — is what DPYC gives you that a flat paywall never could.
Bring your own Roastify key
Every patron delivers their own Roastify API key through the Secure Courier, vaulted per npub. There is no operator-held key and no fallback path.
This follows from the domain rather than being a policy choice. Roastify scopes the catalog, saved designs, and plan tier to the merchant account behind the key — a patron on Base sees a different catalog than one on Pro. A single operator-held key would hand one merchant's world to every caller, which is a wrong answer rather than a limitation to work around. It also means this operator never holds a credential it could misuse, and revoking your key in the Merchant App severs access without involving the operator.
The same reply may carry the optional github_token (a fine-grained token with Contents
read/write), github_repo (owner/repo) and github_branch (default main) that the design
library needs.
Live keys start rty_live_. Sandbox keys start rty_test_ and do not fulfill — useful for
exercising the read tools without touching production.
Tools
Plus the standard DPYC catalog (balance, purchase, courier, pricing, Oracle, status).
What this operator does not do, and why
It cannot create, update, delete, or sync products. Not a missing feature — the Roastify
API has no such endpoints. /v1/products is read-only, and the words integration, sync,
shopify, and upload do not appear anywhere in the
OpenAPI spec. Saved products and storefront sync are
Merchant App capabilities by design.
It does not place orders. Roastify already routes orders to its own operations and reports tracking back to your storefront. An MCP layer between those adds a hop without adding judgment, so order automation is deliberately left to Shopify and Roastify.
Artwork generation is template personalization, not design. roastify_generate_artwork
rewrites the named text and image placeholders of a design you already authored in the
Roastify Design Studio. It cannot author a design from scratch.
A generated artwork URL is not attached to anything. In Roastify's API the only consumer of an artwork URL is an order line — and orders are out of scope here. You receive a URL and carry it onward yourself. That seam is accepted deliberately; it is not an oversight, and this operator will not simulate a design flow the API cannot complete.
The catalog has no palate data. Origin, region, altitude, processing method, and varietal
exist only in the Merchant App UI. The machine-readable signals are roastLevel, isDecaf,
size, and price; everything else about a coffee's character is prose in its description. Bean
selection is correspondingly weaker than it looks, and this operator does not dress up an
LLM's reading of a description as structured provenance data.
The design library, the courier and the Design Bench
Designs live in a GitHub repo the patron owns, one folder per design, and the operator commits to it on the patron's behalf with the vaulted token. Every save is a commit, so a design has real version history, and the patron can browse, rename or delete designs in GitHub itself.
Reading or writing a design on a Roastify product needs the merchant's own browser session,
which no API offers. frontend/ carries two pieces for that:
- The courier — a script a bookmarklet injects into
merchant.roastify.app. It stashes a product's design into the library and applies a finished design back onto a product. It holds no editing logic. - The Design Bench — the web app at
roastify.tollbooth-dpyc.com, where designs are edited. Its Cloudflare function proxies/mcpso the courier can reach this operator from the merchant's origin.
An agent edits a design's text with roastify_get_design_text and roastify_update_design_text;
the human applies the new version with the courier.
Artwork is asynchronous
Roastify renders artwork on its own servers, so roastify_generate_artwork hands back a job
id straight away and roastify_artwork_status checks it. Status checks are free — you
learn the work finished by looking, and charging for each look would be charging for waiting.
Pass client_req_id and a repeated request is safe: it becomes Roastify's
Idempotency-Key, so the artwork is not generated twice.
The operator does no waiting of its own — both calls return immediately — so there is no detached executor here and nothing to recycle. That machinery would earn its place only if this operator ever rendered artwork itself.
Development
Upstream status
Roastify's API is version 0.3.1 and its own spec marks it beta, "subject to change." Expect to follow breaking upstream edits, and weigh that before promising this operator's catalog to third-party merchants.
License
Apache 2.0 — see LICENSE.
来源:README.md,提交 f28a253
工具
0版本历史
2- v0.23.0最新Oct 21, 2026
- v0.22.6Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分