Skip to content
VS Code

readfetch for VS Code

io.github.readfetch/mcp-x402-proxy

Stdio MCP proxy: free probe, then x402-paid ReadFetch tools; for hosts that cannot sign x402.

client:VS Code transport:stdio runtime:npm

Install readfetch in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "evm-private-key",
      "description": "EVM_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "readfetch-max-payment-usd",
      "description": "READFETCH_MAX_PAYMENT_USD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "readfetch-mcp-url",
      "description": "READFETCH_MCP_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "readfetch-dev",
      "description": "READFETCH_DEV",
      "password": true
    }
  ],
  "servers": {
    "mcp-x402-proxy": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@readfetch/mcp-x402-proxy"
      ],
      "env": {
        "EVM_PRIVATE_KEY": "${input:evm-private-key}",
        "READFETCH_MAX_PAYMENT_USD": "${input:readfetch-max-payment-usd}",
        "READFETCH_MCP_URL": "${input:readfetch-mcp-url}",
        "READFETCH_DEV": "${input:readfetch-dev}"
      }
    }
  }
}

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

readfetch in other clients