Skip to content
VS Code

Fourohtwo for VS Code

xyz.fourohtwo/mcp

Find and pay any x402 API from one agent wallet: USDG on Robinhood Chain or USDC on Base.

client:VS Code transport:stdio runtime:npm

Install Fourohtwo in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "agent-key",
      "description": "AGENT_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "max-per-call-usd",
      "description": "MAX_PER_CALL_USD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "max-daily-usd",
      "description": "MAX_DAILY_USD",
      "password": true
    }
  ],
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "fourohtwo-mcp"
      ],
      "env": {
        "AGENT_KEY": "${input:agent-key}",
        "MAX_PER_CALL_USD": "${input:max-per-call-usd}",
        "MAX_DAILY_USD": "${input:max-daily-usd}"
      }
    }
  }
}

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

Fourohtwo in other clients