three.ws Agent Payments

io.github.nirholas/agentcore-payments-mcp

Governed x402 payment sessions: pay any endpoint with budget, allowlist & per-tx caps, no key.

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "agentcore-payments-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/agentcore-payments-mcp@0.1.5"
      ],
      "env": {
        "THREE_WS_SESSION": "<your THREE_WS_SESSION>",
        "PAYMENT_SESSION_TOKEN": "<your PAYMENT_SESSION_TOKEN>",
        "THREE_WS_BASE": "https://three.ws",
        "THREE_WS_TIMEOUT_MS": "30000"
      }
    }
  }
}
Environment variables
  • THREE_WS_SESSIONsecretYour three.ws session token (value of the `__Host-sid` cookie from a signed-in browser). Required for account management operations: create_payment_session, list_payment_sessions, check_payment_session, cancel_payment_session.
  • PAYMENT_SESSION_TOKENsecretA payment session bearer token (starts with 'pss_') from create_payment_session. Used by the agent for pay_with_session calls when no inline token is passed. Treat like a spending card — it authorizes payments up to the session's budget.
  • THREE_WS_BASEBase URL of the three.ws API. Override only when self-hosting or targeting a preview deployment.
  • THREE_WS_TIMEOUT_MSPer-request HTTP timeout in milliseconds. x402 payments involve on-chain settlement so this should be generous (default: 30000).

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.1.5
Registry
active
Published
10/10/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that three.ws Agent Payments is listed here — it’s also the link we check for a free listing.

three.ws Agent Payments — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-nirholas-agentcore-payments-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="three.ws Agent Payments — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![three.ws Agent Payments — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-nirholas-agentcore-payments-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.