Roastify Mcp

io.github.lonniev由 GitHub 帳號 lonniev 發布v0.23.0更新於 Oct 24, 2026

Roastify Developer API MCP Service — Tollbooth DPYC monetization

已驗證Streamable HTTP可網頁執行金融商業與電商媒體與設計

概覽

AI 產生的概覽

面向 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 應用程式設定。
安裝前請注意
付費工具會花費比特幣閃電聰,且價格在程式碼之外設定,呼叫前應確認費用。Roastify API 金鑰與 GitHub 權杖依使用者加密保管,並用於向其儲存庫提交;撤銷即可切斷存取。寫入類工具會提交新的設計版本、修改文字與元素並刪除設計。圖稿產生只是填入你既有設計中的預留位置,回傳的圖稿連結不會自動附加到任何物件。上游 API 仍為 beta,可能變更。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Roastify Mcp,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

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

      YOU (operator, human in the loop)        │                         │        │ set & tune prices       │ drive credential intake        ▼                         ▼  ┌───────────────┐        ┌──────────────────────────────────────────────┐  │ Pricing Studio│ prices │        Roastify — YOUR OPERATOR MCP           │  │    (iOS)      ├───────▶│        FastMCP · deployed on Horizon          │  └───────────────┘  Neon  │  ┌────────────────────────────────────────┐  │                           │  │ roastify domain module ◀─ Roastify API  │  │   Patron (Citizen)        │  │ @runtime.paid_tool(FROZEN_UUID) tools   │  │   + MCP client  ─────────▶│  ├────────────────────────────────────────┤  │   (Claude, etc.)  npub    │  │ tollbooth-dpyc SDK (the wheel)          │  │                    +sats  │  │  ledger · vault (AES-256-GCM) · pricing │  │                           │  │  /ConstraintGate · Secure Courier·audit │  │                           │  └────────────────────────────────────────┘  │                           └───┬─────────┬──────────┬───────────┬─────────┘                               ▼         ▼          ▼           ▼                         Neon Postgres  BTCPay▶  Sponsor     Nostr relays                         (your schema)  Lightning Authority   proofs·courier                         ledger+pricing invoices  certify +    DMs·audit                                                  provision        │                     api.roastify.app ◀── domain      │            ▼                     (each patron's         calls      └──▶ DPYC Oracle +                      own API key)                          dpyc-community

Onboarding roadmap

  1. Nostr keypair — generate one (nak key generate). The nsec is the only env var: TOLLBOOTH_NOSTR_OPERATOR_NSEC.
  2. Sponsor Authority — register; it provisions your Neon schema automatically.
  3. 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.
  4. Set prices in Pricing Studio — see below. Tools start unpriced and uncallable.
  5. Deploy on Prefect Horizon — fastmcp.json is 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.

roastify_get_patron_onboarding_status   # what's missingroastify_request_patron_credentials     # → you get a Nostr DM   (reply with your Roastify API key)roastify_receive_patron_credentials     # vaulted, encrypted at rest

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

ToolTierWhat it does
roastify_browse_catalogreadCatalog products and coffee blends together, plan tier marked
roastify_get_catalog_productreadOne product with variants, prices, stock, dieline template
roastify_get_blendreadOne blend: roast level, decaf status, variants
roastify_list_my_productsreadYour saved Roastify products, cursor-paginated
roastify_get_my_productreadOne saved product design in full
roastify_check_stockreadStock for one SKU or the whole list
roastify_generate_artworkwriteGenerate artwork from a saved design
roastify_artwork_statusfreeCheck that job
Design library
roastify_stash_designwriteStore a design in your library — a commit in your GitHub repo
roastify_list_designsreadYour stored designs, metadata only, newest first
roastify_fetch_designreadOne stored design in full, images re-inlined (for the courier)
roastify_list_design_versionsreadA design's committed versions — its git history
roastify_delete_designwriteDelete one stored design
roastify_get_design_textreadA design's editable text layers, with each layer's size
roastify_update_design_textwriteApply text edits and commit a new version
roastify_add_design_elementwriteAdd a text or image element and commit a new version
roastify_move_elementswriteMove or resize a group of elements and commit a new version
roastify_set_product_descriptionwriteSet the product's store-page description on a stored design

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 /mcp so 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.

job = roastify_generate_artwork(product_id=..., fields=[...], client_req_id="my-req-1")roastify_artwork_status(job_id=job["job_id"])   # free, poll until artwork_url appears

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

bash
pip install -e ".[dev]"ruff check .pytest -vpython -m roastify_mcp.server   # needs TOLLBOOTH_NOSTR_OPERATOR_NSEC to fully run

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
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

2
  1. v0.23.0最新Oct 21, 2026
  2. v0.22.6Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分