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.

Lets an AI agent (Claude, Cursor, any MCP client) take and check payments with Janus Pay: BSV, SOL, HYPE or BELLS in, BSV out. It never holds keys or money. A payment returns an address and an exact amount, and the payer sends it from their own wallet. Claude Desktop, Cursor and most clients take this in their MCP settings: Both env values are optional. Without them the agent can price, make checkout links, start payments and check them. JANUS_API_KEY (from https://janusprotocol.xyz/developers.html#keys) adds your payments list and refunds. Keep it private: it can change your settings.

Summary extracted from the README.

Janus Pay MCP server

Lets an AI agent (Claude, Cursor, any MCP client) take and check payments with Janus Pay: BSV, SOL, HYPE or BELLS in, BSV out. It never holds keys or money. A payment returns an address and an exact amount, and the payer sends it from their own wallet.

Add it

Claude Desktop, Cursor and most clients take this in their MCP settings:

{
  "mcpServers": {
    "janus-pay": {
      "command": "npx",
      "args": ["-y", "@janusprotocol/mcp"],
      "env": { "JANUS_API_KEY": "jpk_…", "JANUS_PARTNER": "your-id" }
    }
  }
}

Both env values are optional. Without them the agent can price, make checkout links, start payments and check them. JANUS_API_KEY (from https://janusprotocol.xyz/developers.html#keys) adds your payments list and refunds. Keep it private: it can change your settings.

Tools

Tool What it does
janus_coins Coins open now, and the most each can pay
janus_rate Janus's BSV price in USD
janus_quote How much of a coin pays a price (priceUsd or sat)
janus_swap_quote What an amount of one coin becomes in another
janus_checkout_link A hosted checkout link to send a customer
janus_create_checkout Start a payment: where to send, and exactly how much
janus_payment_status A payment's status and payout
janus_my_payments Your payments (API key)
janus_refund Start a refund; you pay it, Janus pays the customer (API key)