io.github.dfmi-app/dfmi-market·Commerce

dfmi x402 market

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

Stars
0
Version
0.1.0
License
MIT
Review
Passed
Language
JavaScript
Last commit
55m ago
Forks
0
Open issues
0
Registry update
Oct 16, 2026

Connect

npm
Terminal
$claude mcp add dfmi-market \  -e DFMI_BUYER_PRIVATE_KEY=<dfmi-buyer-private-key> \  -e DFMI_MAX_PRICE=<dfmi-max-price> \  -e DFMI_SESSION_BUDGET=<dfmi-session-budget> \  -e DFMI_ALLOW_MAINNET=<dfmi-allow-mainnet> \  -- npx -y [email protected]

Environment variables

  • DFMI_BUYER_PRIVATE_KEYsecret

    Optional throwaway buyer key. If unset, dfmi_create_wallet makes one in ~/.dfmi.

  • DFMI_MAX_PRICE

    Hard cap per purchase (default 0.10).

  • DFMI_SESSION_BUDGET

    Total spend cap per server run (default 1.00).

  • DFMI_ALLOW_MAINNET

    Set to 1 to allow mainnet payments. Off by default.

Security review

Review passed

Reviewed 10m ago.

metadata
scanned
packages
1 checked

No findings.

Tools

This server runs on your machine, so its tool list is not fetched before install — the README below describes what it offers.

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, get free test funds 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:

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

Claude Desktop / Cursor (mcpServers):

{ "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_MAINNEToffTestnets only (dfmi dUSD, Base Sepolia USDC) unless set to 1.
DFMI_BUYER_PRIVATE_KEY—Use your own throwaway key instead of ~/.dfmi/buyer-wallet.json.

dUSD is a test unit with no monetary value. Use a throwaway wallet only.

Develop

npm install
npm 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.

From the server's repository — third-party content, read it before running anything it suggests.

More in Commerce

Listing from the official MCP Registry · repository facts from GitHub, 13m ago.