Skip to content
VS Code

Janus Pay for VS Code

io.github.sirbiscuits1/janus-pay

Janus Pay for agents: take payments that settle in BSV, refund them, and pay x402 paywalls.

client:VS Code transport:stdio runtime:npm

Install Janus Pay in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "janus-api-key",
      "description": "JANUS_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "janus-partner",
      "description": "JANUS_PARTNER",
      "password": true
    }
  ],
  "servers": {
    "janus-pay": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@janusprotocol/mcp"
      ],
      "env": {
        "JANUS_API_KEY": "${input:janus-api-key}",
        "JANUS_PARTNER": "${input:janus-partner}"
      }
    }
  }
}

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

Janus Pay in other clients