dfmi x402 market

v0.1.1
io.github.dfmi-app/dfmi-market Checked 1 day ago Published 1 month ago

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

Values you need

VariableWhat it is
DFMI_BUYER_PRIVATE_KEYoptional secret Optional throwaway buyer key. If unset, dfmi_create_wallet makes one in ~/.dfmi.
DFMI_MAX_PRICEoptional Hard cap per purchase (default 0.10).
DFMI_SESSION_BUDGEToptional Total spend cap per server run (default 1.00).
DFMI_ALLOW_MAINNEToptional Set to 1 to allow mainnet payments. Off by default.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add dfmi-market -- npx -y dfmi-market-mcp@0.1.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "dfmi-market": {
      "args": [
        "-y",
        "dfmi-market-mcp@0.1.1"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "dfmi-market": {
      "args": [
        "-y",
        "dfmi-market-mcp@0.1.1"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "dfmi-market": {
      "args": [
        "-y",
        "dfmi-market-mcp@0.1.1"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.dfmi-market]
command = "npx"
args = ["-y", "dfmi-market-mcp@0.1.1"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: dfmi_list_services, dfmi_quote, dfmi_wallet, dfmi_create_wallet, dfmi_claim_faucet, dfmi_buy.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json