{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.kato9292929/agentpay402-mcp",
  "slug": "io.github.kato9292929.agentpay402-mcp",
  "title": "AgentPay402 MCP",
  "summary": "Pay for x402 APIs safely with your own wallet: Seller Probe check, on-chain proof, receipt refetch.",
  "version": "0.4.0",
  "serverKey": "agentpay402-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.kato9292929.agentpay402-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.kato9292929.agentpay402-mcp/install.md",
  "trust": {
    "score": 93,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T17:24:11.332296749Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agentpay402-mcp@0.4.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add agentpay402-mcp -e WALLET_PROVIDER=none -- npx -y agentpay402-mcp@0.4.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"agentpay402-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"agentpay402-mcp@0.4.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"WALLET_PROVIDER\": \"none\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"agentpay402-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"agentpay402-mcp@0.4.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"WALLET_PROVIDER\": \"none\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"WALLET_PROVIDER\",\n      \"id\": \"wallet-provider\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"agentpay402-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"agentpay402-mcp@0.4.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"WALLET_PROVIDER\": \"${input:wallet-provider}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.agentpay402-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"agentpay402-mcp@0.4.0\"]\nenv = { \"WALLET_PROVIDER\" = \"none\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "WALLET_PROVIDER",
      "required": true,
      "secret": false,
      "description": "Wallet that pays: cdp, privy or crossmint; none runs only the discovery and checking tools.",
      "help": "Wallet that pays: cdp, privy or crossmint; none runs only the discovery and checking tools.",
      "default": "none",
      "placeholder": "none"
    },
    {
      "name": "CDP_API_KEY_ID",
      "required": false,
      "secret": true,
      "description": "CDP API key ID (WALLET_PROVIDER=cdp).",
      "help": "CDP API key ID (WALLET_PROVIDER=cdp).",
      "placeholder": "<CDP_API_KEY_ID>"
    },
    {
      "name": "CDP_API_KEY_SECRET",
      "required": false,
      "secret": true,
      "description": "CDP API key secret (WALLET_PROVIDER=cdp).",
      "help": "CDP API key secret (WALLET_PROVIDER=cdp).",
      "placeholder": "<CDP_API_KEY_SECRET>"
    },
    {
      "name": "CDP_WALLET_SECRET",
      "required": false,
      "secret": true,
      "description": "CDP wallet secret (WALLET_PROVIDER=cdp).",
      "help": "CDP wallet secret (WALLET_PROVIDER=cdp).",
      "placeholder": "<CDP_WALLET_SECRET>"
    },
    {
      "name": "PRIVY_APP_ID",
      "required": false,
      "secret": true,
      "description": "Privy app ID (WALLET_PROVIDER=privy).",
      "help": "Privy app ID (WALLET_PROVIDER=privy).",
      "placeholder": "<PRIVY_APP_ID>"
    },
    {
      "name": "PRIVY_APP_SECRET",
      "required": false,
      "secret": true,
      "description": "Privy app secret (WALLET_PROVIDER=privy).",
      "help": "Privy app secret (WALLET_PROVIDER=privy).",
      "placeholder": "<PRIVY_APP_SECRET>"
    },
    {
      "name": "PRIVY_WALLET_ID",
      "required": false,
      "secret": true,
      "description": "Privy Ethereum server wallet ID that pays on Base (WALLET_PROVIDER=privy).",
      "help": "Privy Ethereum server wallet ID that pays on Base (WALLET_PROVIDER=privy).",
      "placeholder": "<PRIVY_WALLET_ID>"
    },
    {
      "name": "CROSSMINT_SERVER_API_KEY",
      "required": false,
      "secret": true,
      "description": "Crossmint server-side API key (WALLET_PROVIDER=crossmint).",
      "help": "Crossmint server-side API key (WALLET_PROVIDER=crossmint).",
      "placeholder": "<CROSSMINT_SERVER_API_KEY>"
    },
    {
      "name": "CROSSMINT_SIGNER_SECRET",
      "required": false,
      "secret": true,
      "description": "Crossmint server signer secret (WALLET_PROVIDER=crossmint).",
      "help": "Crossmint server signer secret (WALLET_PROVIDER=crossmint).",
      "placeholder": "<CROSSMINT_SIGNER_SECRET>"
    },
    {
      "name": "CROSSMINT_WALLET_ADDRESS",
      "required": false,
      "secret": true,
      "description": "Crossmint smart wallet address (WALLET_PROVIDER=crossmint).",
      "help": "Crossmint smart wallet address (WALLET_PROVIDER=crossmint).",
      "placeholder": "<CROSSMINT_WALLET_ADDRESS>"
    },
    {
      "name": "NVM_API_KEY",
      "required": false,
      "secret": true,
      "description": "Optional Nevermined API key for nvm:erc4337 credit plans (sandbox: with testnet, live: with mainnet).",
      "help": "Optional Nevermined API key for nvm:erc4337 credit plans (sandbox: with testnet, live: with mainnet).",
      "placeholder": "<NVM_API_KEY>"
    },
    {
      "name": "X402_NETWORK",
      "required": false,
      "secret": false,
      "description": "testnet (Base Sepolia, Solana Devnet) or mainnet (real USDC on Base and Solana).",
      "help": "testnet (Base Sepolia, Solana Devnet) or mainnet (real USDC on Base and Solana).",
      "default": "testnet",
      "placeholder": "testnet"
    },
    {
      "name": "X402_PER_CALL_MAX_USD",
      "required": false,
      "secret": false,
      "description": "Largest single payment in USD; anything above it is refused before signing.",
      "help": "Largest single payment in USD; anything above it is refused before signing.",
      "default": "0.10",
      "placeholder": "0.10"
    },
    {
      "name": "X402_PER_SESSION_MAX_USD",
      "required": false,
      "secret": false,
      "description": "Total USD that may be paid while the server runs.",
      "help": "Total USD that may be paid while the server runs.",
      "default": "1.00",
      "placeholder": "1.00"
    },
    {
      "name": "X402_ALLOWED_HOSTS",
      "required": false,
      "secret": false,
      "description": "Comma-separated hosts that may be paid; empty allows every host.",
      "help": "Comma-separated hosts that may be paid; empty allows every host.",
      "placeholder": "<X402_ALLOWED_HOSTS>"
    },
    {
      "name": "X402_PROBE_MODE",
      "required": false,
      "secret": false,
      "description": "When Seller Probe recorded the host as paid but not delivered: block, warn or off.",
      "help": "When Seller Probe recorded the host as paid but not delivered: block, warn or off.",
      "default": "block",
      "placeholder": "block"
    },
    {
      "name": "X402_PRICE_MISMATCH",
      "required": false,
      "secret": false,
      "description": "When the 402 price differs from the Bazaar listing: block, warn or off.",
      "help": "When the 402 price differs from the Bazaar listing: block, warn or off.",
      "default": "warn",
      "placeholder": "warn"
    },
    {
      "name": "X402_RETRY_WITH_RECEIPT",
      "required": false,
      "secret": false,
      "description": "Refetch once with the same payment from Delivery Receipt sellers after a failed delivery.",
      "help": "Refetch once with the same payment from Delivery Receipt sellers after a failed delivery.",
      "default": "true",
      "placeholder": "true"
    },
    {
      "name": "X402_REPORT_TO_PROBE",
      "required": false,
      "secret": false,
      "description": "Send an anonymous not_delivered report to Seller Probe.",
      "help": "Send an anonymous not_delivered report to Seller Probe.",
      "default": "false",
      "placeholder": "false"
    }
  ],
  "expectedTools": [
    "get_wallet_address",
    "get_wallet_balance",
    "show_wallet_app",
    "check_sign_in_status",
    "list_bazaar_resources",
    "get_resource_details",
    "make_x402_request",
    "check_payment_requirements",
    "check_seller"
  ],
  "agentSteps": [
    "Ask the user for: WALLET_PROVIDER. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "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).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: get_wallet_address, get_wallet_balance, show_wallet_app, check_sign_in_status, list_bazaar_resources, get_resource_details, make_x402_request, check_payment_requirements, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T17:24:11.332296749Z"
}
