Package

x402 Wallet

Self-custodial x402 wallet for AI agents: pay any service in USDC or $THREE from your own key.

io.github.nirholas/x402-mcpSource repository
Version0.2.3latest catalog version
ConnectionPackagenpm
PublishedOct 10, 2026catalog
UpdatedOct 10, 2026catalog
Overview

What this server provides

Self-custodial x402 wallet for AI agents: pay any service in USDC or $THREE from your own key.

Install

Packages

1
Package 1npm
@three-ws/x402-mcp0.2.3
  • SOLANA_SECRET_KEY

    Base58 (or JSON byte-array) Solana secret key that signs payments and holds the USDC. Not needed for the read tools (find_services, inspect_endpoint, or x402_wallet with an explicit address). Treat like cash.

    Format: string
    Optional
  • SOLANA_RPC_URL

    Solana mainnet RPC endpoint. Defaults to the public cluster — bring your own (Helius / Quicknode / Triton) for production traffic.

    Format: string · Default: https://api.mainnet-beta.solana.com
    Optional
  • MAX_PAY_USD

    Max USD a single pay_and_call may spend. Bounds a runaway or injected payment.

    Format: number · Default: 1
    Optional
  • REQUIRE_CONFIRM

    When on (default), pay_and_call refuses until re-issued with confirm:true. Set 0/false to disable the gate.

    Format: boolean · Default: true
    Optional
  • THREE_WS_BASE

    Base URL of the three.ws API that serves /api/bazaar/search for find_services. Override only when self-hosting.

    Format: string · Default: https://three.ws
    Optional
View server metadata