Datoka API

dev.workers.bhazarstudio.datoka-api由 datoka-api.bhazarstudio.workers.dev 發布官方發布者v0.3.12更新於 Oct 24, 2026

Signed API declarations for agent handoffs. Free demo and verification; receipts cost 0.002 USDC.

已驗證Streamable HTTP可網頁執行開發者工具

概覽

AI 產生的概覽

讓助理為 API 交換建立、購買並驗證可獨立查核的簽章憑證。

可以做什麼
提供四個工具處理 API 交換的簽章憑證。prepare_api_exchange 免費驗證以 SDK 從真實擷取位元組建立的事件並回傳承諾,不簽發憑證也不收費;issue_api_receipt 付費購買可攜式簽章憑證;verify_api_receipt 免費驗證簽章與宣告;get_api_public_keys 取得簽發者公鑰,供離線驗證建立信任。
適用情境
當助理需要把 API 回應交給另一個代理、封存決策依據,或日後追查變更,且接收方要能獨立驗證完整性時使用。若只是自己留存紀錄,本地日誌可能已足夠。
執行需求
遠端 HTTP 端點,無需安裝套件。驗證與公鑰查詢免費且不需錢包;簽發憑證需以 USDC 付款,因此需具備可付款的錢包與網路連線。
安裝前請注意
簽發憑證會實際花費 0.002 USDC,屬付費操作,請先確認必要性。事件須以 SDK 從真實擷取位元組建立,不可自行編造雜湊。驗證前應先透過公鑰工具獨立確認簽發者信任。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Datoka API,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/dev.workers.bhazarstudio.datoka-api%2Fapi/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "datoka-api": {
      "type": "http",
      "url": "https://datoka-api.bhazarstudio.workers.dev/mcp"
    }
  }
}

工具

4

prepare_api_exchange

Prepare API Exchange

Free validation before buying a receipt. Supply an event built locally with the SDK from real captured bytes; never fabricate hashes. Returns the commitment without issuing a receipt or paying. Use when retaining verifiable evidence of an API response for a handoff or archive.

輸入參數event必填

issue_api_receipt

Issue API Receipt

Buy a portable signed commitment to a declared API exchange when a recipient needs independently verifiable receipt integrity: response handoff, archived decision input, or change investigation. Costs 0.002 USDC per receipt via x402 when enabled; verification is free. A local log may suffice for disposable data. Requires caller-approved budget. Keep event, idempotency key and original payment unchanged on retry. Attests a client declaration, not provider origin, content truth or independent observation.

輸入參數event必填idempotencyKey必填

verify_api_receipt

Verify API Receipt

Free signature and declaration verification. To try before buying, read datoka-api://demo-receipt or /demo/receipt.json and pass the returned JSON here. No wallet needed for public verification. Verifies issuer, scope and event commitment; compare original response bytes locally with the SDK or /verify/.

輸入參數event必填receipt必填

get_api_public_keys

Get API Public Keys

Return issuer public keys. Establish issuer trust independently before offline verification.

無需輸入參數。

版本歷史

4
  1. v0.3.12最新Oct 4, 2026
  2. v0.3.10Oct 2, 2026
  3. v0.3.9Oct 1, 2026
  4. v0.3.0Sep 29, 2026

評分

已滿足適用檢查項的 72%

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

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

    請在註冊中心條目中發布圖示。

  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。