dfmi x402 market

io.github.dfmi-app由 GitHub 账号 dfmi-app 发布v0.1.1更新于 Oct 24, 2026

Shop the dfmi x402 agent market: find services, get quotes, free dUSD points, capped buying.

已验证STDIO仅桌面金融商业与电商

概览

AI 生成的概览

dfmi x402 智能体市场的 MCP 服务器:可浏览服务、获取报价、领取免费 dUSD 积分并在限额内购买。

可以做什么
  • 按价格、评分和独立买家数浏览并排序市场服务
  • 向任意 x402 端点询价,无需签名
  • 查看买家钱包地址、dUSD 余额与剩余额度
  • 创建一次性买家钱包并从水龙头领取免费 dUSD
  • 购买服务:签名授权付款、重试并取得商品与结算凭证
适用场景
适合让助手在 dfmi x402 智能体市场上发现并购买服务,例如查找一份报告、确认价格并在固定支出上限内完成购买。
运行要求
通过 npx 以 stdio 在本地运行(需要 Node.js)。可选 DFMI_BUYER_PRIVATE_KEY 提供自备的一次性密钥,否则会在 ~/.dfmi 下创建钱包。支出上限由 DFMI_MAX_PRICE、DFMI_SESSION_BUDGET 和 DFMI_ALLOW_MAINNET 控制。需要访问市场和 x402 端点的网络。
安装前请注意
购买会实际支出资金且不可撤销;dUSD 是无货币价值的积分,不能退款或提现。DFMI_ALLOW_MAINNET 会启用主网支付,默认关闭。服务器会处理买家私钥,请仅使用一次性钱包。支出上限在代码中强制执行,但模型只能调低、不能调高单次上限。

安装

在 SourceWeft 中

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

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

dfmi-market-mcp

MCP server for the dfmi x402 agent market. Plug it into Claude, Cursor, Codex or any MCP client and the agent can browse services, get quotes, claim free dUSD points and buy — with hard spend limits enforced in code.

ToolWhat it doesPays?
dfmi_list_servicesRanked catalog from bazaar.dfmi.app (price, score, unique buyers)no
dfmi_quoteAsk any x402 endpoint for its price, without signingno
dfmi_walletBuyer address, dUSD balance, limits leftno
dfmi_create_walletCreate a throwaway buyer wallet in ~/.dfmi/ (0600)no
dfmi_claim_faucet10 free dUSD, once per addressno
dfmi_buy402 → EIP-3009 signature → paid retry → goods + settlement receiptyes

Install

Claude Code:

bash
claude mcp add dfmi -- npx -y dfmi-market-mcp

Claude Desktop / Cursor (mcpServers):

json
{ "dfmi": { "command": "npx", "args": ["-y", "dfmi-market-mcp"] } }

Then ask: "Find a market report on dfmi, check the price, and buy it."

Limits (code, not prompt)

EnvDefaultMeaning
DFMI_MAX_PRICE0.10Max per purchase. The model may lower it per call, never raise it.
DFMI_SESSION_BUDGET1.00Total spend for one server run.
DFMI_ALLOW_MAINNEToffOnly dfmi dUSD points and Base Sepolia test USDC unless set to 1.
DFMI_BUYER_PRIVATE_KEY—Use your own throwaway key instead of ~/.dfmi/buyer-wallet.json.

dUSD is a points unit with no monetary value: claim it free from the faucet or buy it with a card on dfmi.app; it cannot be refunded or cashed out. Use a throwaway wallet only.

Develop

bash
npm installnpm test

Publish (operator)

  1. Move this folder into dfmi-app/dfmi-app as market-mcp/ (matches server.json → repository.subfolder).
  2. npm publish (package name dfmi-market-mcp was free on 2026-10-15; mcpName in package.json must match server.json name).
  3. Publish to the official MCP Registry: mcp-publisher login github (as the dfmi-app org), then mcp-publisher publish.

来源:market-mcp/README.md,提交 8999faf

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v0.1.1最新Oct 17, 2026
  2. v0.1.0Oct 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分