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。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。