Janus Pay

v1.1.0
io.github.Sirbiscuits1/janus-pay Checked 2 days ago Published 26 days ago

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

Values you need

VariableWhat it is
JANUS_API_KEYoptional secret Your Janus Pay API key (jpk_…), for your payments list and refunds
JANUS_PARTNERoptional Your Janus Pay partner id, so checkouts carry your signed notices

npm (npx) discovery passed

Requires Node.js 18+

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

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: janus_coins, janus_rate, janus_quote, janus_swap_quote, janus_checkout_link, janus_create_checkout, janus_payment_status, janus_my_payments, ….
  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