Skip to content
VS Code

dfmi x402 market for VS Code

io.github.dfmi-app/dfmi-market

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

client:VS Code transport:stdio runtime:npm

Install dfmi x402 market in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "dfmi-buyer-private-key",
      "description": "DFMI_BUYER_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "dfmi-max-price",
      "description": "DFMI_MAX_PRICE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "dfmi-session-budget",
      "description": "DFMI_SESSION_BUDGET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "dfmi-allow-mainnet",
      "description": "DFMI_ALLOW_MAINNET",
      "password": true
    }
  ],
  "servers": {
    "dfmi-market": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "dfmi-market-mcp"
      ],
      "env": {
        "DFMI_BUYER_PRIVATE_KEY": "${input:dfmi-buyer-private-key}",
        "DFMI_MAX_PRICE": "${input:dfmi-max-price}",
        "DFMI_SESSION_BUDGET": "${input:dfmi-session-budget}",
        "DFMI_ALLOW_MAINNET": "${input:dfmi-allow-mainnet}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

dfmi x402 market in other clients