{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.Kali123411/kx402",
  "slug": "io.github.kali123411.kx402",
  "title": "kx402",
  "summary": "Kaspa x402 agent payer — pay x402 v2 services on Kaspa (KAS) per call, no account or API key",
  "version": "0.1.1",
  "serverKey": "kx402",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.kali123411.kx402",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.kali123411.kx402/install.md",
  "trust": {
    "score": 83,
    "grade": "B",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-02T08:14:59.291847745Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "kx402@0.1.1",
        "mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add kx402 -e 'KASPA_X402_FUNDING_WALLET=<KASPA_X402_FUNDING_WALLET>' -e 'KASPA_X402_KASPA_WASM_MODULE=<KASPA_X402_KASPA_WASM_MODULE>' -- npx -y kx402@0.1.1 mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"kx402\": {\n      \"args\": [\n        \"-y\",\n        \"kx402@0.1.1\",\n        \"mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"KASPA_X402_FUNDING_WALLET\": \"<KASPA_X402_FUNDING_WALLET>\",\n        \"KASPA_X402_KASPA_WASM_MODULE\": \"<KASPA_X402_KASPA_WASM_MODULE>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"kx402\": {\n      \"args\": [\n        \"-y\",\n        \"kx402@0.1.1\",\n        \"mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"KASPA_X402_FUNDING_WALLET\": \"<KASPA_X402_FUNDING_WALLET>\",\n        \"KASPA_X402_KASPA_WASM_MODULE\": \"<KASPA_X402_KASPA_WASM_MODULE>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"KASPA_X402_FUNDING_WALLET\",\n      \"id\": \"kaspa-x402-funding-wallet\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"KASPA_X402_KASPA_WASM_MODULE\",\n      \"id\": \"kaspa-x402-kaspa-wasm-module\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"kx402\": {\n      \"args\": [\n        \"-y\",\n        \"kx402@0.1.1\",\n        \"mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"KASPA_X402_FUNDING_WALLET\": \"${input:kaspa-x402-funding-wallet}\",\n        \"KASPA_X402_KASPA_WASM_MODULE\": \"${input:kaspa-x402-kaspa-wasm-module}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.kx402]\ncommand = \"npx\"\nargs = [\"-y\", \"kx402@0.1.1\", \"mcp\"]\nenv = { \"KASPA_X402_FUNDING_WALLET\" = \"<KASPA_X402_FUNDING_WALLET>\", \"KASPA_X402_KASPA_WASM_MODULE\" = \"<KASPA_X402_KASPA_WASM_MODULE>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "KASPA_X402_KASPA_WASM_MODULE",
      "required": true,
      "secret": false,
      "description": "Path to the rusty-kaspa v2.0.0 nodejs WASM SDK (kaspa.js). Get it with the repo's `npm run fetch-sdk`.",
      "help": "Path to the rusty-kaspa v2.0.0 nodejs WASM SDK (kaspa.js). Get it with the repo's `npm run fetch-sdk`.",
      "placeholder": "<KASPA_X402_KASPA_WASM_MODULE>"
    },
    {
      "name": "KASPA_X402_FUNDING_WALLET",
      "required": true,
      "secret": true,
      "description": "Funding key: wallet-key:<path> to a 0600 file holding a 64-hex private key, or a raw 64-hex key.",
      "help": "Funding key: wallet-key:<path> to a 0600 file holding a 64-hex private key, or a raw 64-hex key.",
      "placeholder": "<KASPA_X402_FUNDING_WALLET>"
    },
    {
      "name": "KASPA_X402_NETWORK",
      "required": false,
      "secret": false,
      "description": "kaspa:mainnet or kaspa:testnet-10 (default testnet-10).",
      "help": "kaspa:mainnet or kaspa:testnet-10 (default testnet-10).",
      "placeholder": "<KASPA_X402_NETWORK>"
    }
  ],
  "expectedTools": [
    "kaspa_x402_address",
    "kaspa_x402_balance",
    "kaspa_x402_offer",
    "kaspa_x402_pay"
  ],
  "agentSteps": [
    "Ask the user for: KASPA_X402_KASPA_WASM_MODULE, KASPA_X402_FUNDING_WALLET. 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: kaspa_x402_address, kaspa_x402_balance, kaspa_x402_offer, kaspa_x402_pay.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-02T08:14:59.291847745Z"
}
