{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.piprail/mcp",
  "slug": "io.github.piprail.mcp",
  "title": "PipRail",
  "summary": "Budget-bound x402 payment wallet for AI agents — pays HTTP 402 URLs, capped locally.",
  "version": "0.10.0",
  "serverKey": "mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.piprail.mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.piprail.mcp/install.md",
  "trust": {
    "score": 91,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T12:35:41.609615978Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@piprail/mcp@0.10.0",
        "piprail-mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add mcp -- npx -y --package=@piprail/mcp@0.10.0 piprail-mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@piprail/mcp@0.10.0\",\n        \"piprail-mcp\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@piprail/mcp@0.10.0\",\n        \"piprail-mcp\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"mcp\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@piprail/mcp@0.10.0\",\n        \"piprail-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@piprail/mcp@0.10.0\", \"piprail-mcp\"]"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "PIPRAIL_PRIVATE_KEY",
      "required": false,
      "secret": true,
      "description": "Your wallet's private key/seed for the chosen chain. Optional: omit it to run read-only (discover/quote/register/budget/guide); set it to let the agent pay. Stays on your machine; the spend policy caps every payment.",
      "help": "Your wallet's private key/seed for the chosen chain. Optional: omit it to run read-only (discover/quote/register/budget/guide); set it to let the agent pay. Stays on your machine; the spend policy caps every payment.",
      "placeholder": "<PIPRAIL_PRIVATE_KEY>"
    },
    {
      "name": "PIPRAIL_CHAIN",
      "required": false,
      "secret": false,
      "description": "Chain to pay on (default: base).",
      "help": "Chain to pay on (default: base).",
      "placeholder": "<PIPRAIL_CHAIN>"
    },
    {
      "name": "PIPRAIL_CHAINS",
      "required": false,
      "secret": false,
      "description": "Pay across several chains (instead of PIPRAIL_CHAIN): a comma-separated list, e.g. base,polygon,solana. Give each its own PIPRAIL_<CHAIN>_KEY (+ optional PIPRAIL_<CHAIN>_RPC_URL). The agent pays whichever chain a 402 asks for — the first listed that can settle — under one shared budget.",
      "help": "Pay across several chains (instead of PIPRAIL_CHAIN): a comma-separated list, e.g. base,polygon,solana. Give each its own PIPRAIL_<CHAIN>_KEY (+ optional PIPRAIL_<CHAIN>_RPC_URL). The agent pays whichever chain a 402 asks for — the first listed that can settle — under one shared budget.",
      "placeholder": "<PIPRAIL_CHAINS>"
    },
    {
      "name": "PIPRAIL_MAX_AMOUNT",
      "required": false,
      "secret": false,
      "description": "Max spend per single payment, in token units (default: 0.10).",
      "help": "Max spend per single payment, in token units (default: 0.10).",
      "placeholder": "<PIPRAIL_MAX_AMOUNT>"
    },
    {
      "name": "PIPRAIL_MAX_TOTAL",
      "required": false,
      "secret": false,
      "description": "Lifetime spend cap per token, in token units (default: 10.00).",
      "help": "Lifetime spend cap per token, in token units (default: 10.00).",
      "placeholder": "<PIPRAIL_MAX_TOTAL>"
    },
    {
      "name": "PIPRAIL_MAX_TOTAL_DENOM",
      "required": false,
      "secret": false,
      "description": "Cross-token GRAND TOTAL: one spend cap per denomination across every stablecoin and chain, e.g. USD:20.00,EUR:5.00. Not a price oracle — sums tokens of the same unit, each counted 1:1. Native coins are excluded.",
      "help": "Cross-token GRAND TOTAL: one spend cap per denomination across every stablecoin and chain, e.g. USD:20.00,EUR:5.00. Not a price oracle — sums tokens of the same unit, each counted 1:1. Native coins are excluded.",
      "placeholder": "<PIPRAIL_MAX_TOTAL_DENOM>"
    },
    {
      "name": "PIPRAIL_MAX_PAYMENTS",
      "required": false,
      "secret": false,
      "description": "Lifetime cap on the NUMBER of payments, across every chain + token (e.g. 100).",
      "help": "Lifetime cap on the NUMBER of payments, across every chain + token (e.g. 100).",
      "placeholder": "<PIPRAIL_MAX_PAYMENTS>"
    },
    {
      "name": "PIPRAIL_MAX_PAYMENTS_PER_WINDOW",
      "required": false,
      "secret": false,
      "description": "Cap on the number of payments within PIPRAIL_WINDOW_SECONDS (a rolling rate limit; set PIPRAIL_WINDOW_SECONDS too).",
      "help": "Cap on the number of payments within PIPRAIL_WINDOW_SECONDS (a rolling rate limit; set PIPRAIL_WINDOW_SECONDS too).",
      "placeholder": "<PIPRAIL_MAX_PAYMENTS_PER_WINDOW>"
    },
    {
      "name": "PIPRAIL_WARN_AT_FRACTION",
      "required": false,
      "secret": false,
      "description": "Emit an early-warning event when spend crosses this fraction of any cap, e.g. 0.8 (80%). Needs PIPRAIL_EVENT_LOG to be visible.",
      "help": "Emit an early-warning event when spend crosses this fraction of any cap, e.g. 0.8 (80%). Needs PIPRAIL_EVENT_LOG to be visible.",
      "placeholder": "<PIPRAIL_WARN_AT_FRACTION>"
    },
    {
      "name": "PIPRAIL_SPEND_LOG",
      "required": false,
      "secret": false,
      "description": "Path to a local append-only spend log. When set, the budget (lifetime, grand total, counts) SURVIVES a restart — hydrated from this file. No backend; you own the file.",
      "help": "Path to a local append-only spend log. When set, the budget (lifetime, grand total, counts) SURVIVES a restart — hydrated from this file. No backend; you own the file.",
      "placeholder": "<PIPRAIL_SPEND_LOG>"
    },
    {
      "name": "PIPRAIL_EVENT_LOG",
      "required": false,
      "secret": false,
      "description": "Mirror payment events (settled / declined / budget-threshold) as one-line JSON to 'stderr' or a file path — the operator's notification stream. Default: off.",
      "help": "Mirror payment events (settled / declined / budget-threshold) as one-line JSON to 'stderr' or a file path — the operator's notification stream. Default: off.",
      "placeholder": "<PIPRAIL_EVENT_LOG>"
    },
    {
      "name": "PIPRAIL_TOKENS",
      "required": false,
      "secret": false,
      "description": "Comma-separated allowed token symbols, plus the alias 'native' for the chain's coin (default: USDC).",
      "help": "Comma-separated allowed token symbols, plus the alias 'native' for the chain's coin (default: USDC).",
      "placeholder": "<PIPRAIL_TOKENS>"
    },
    {
      "name": "PIPRAIL_SCHEMES",
      "required": false,
      "secret": false,
      "description": "Comma-separated payment schemes to settle (default: onchain-proof). Add 'exact' (onchain-proof,exact) to also pay standard x402 servers GASLESS on EVM + Solana (method auto-selected). Add 'upto' to also pay metered x402 servers on EVM (Permit2): sign a MAX, the server settles the actual <= max.",
      "help": "Comma-separated payment schemes to settle (default: onchain-proof). Add 'exact' (onchain-proof,exact) to also pay standard x402 servers GASLESS on EVM + Solana (method auto-selected). Add 'upto' to also pay metered x402 servers on EVM (Permit2): sign a MAX, the server settles the actual <= max.",
      "placeholder": "<PIPRAIL_SCHEMES>"
    }
  ],
  "expectedTools": [
    "piprail_discover",
    "piprail_quote_payment",
    "piprail_plan_payment",
    "piprail_pay_request",
    "piprail_register",
    "piprail_budget",
    "piprail_guide",
    "piprail_verify_receipt"
  ],
  "agentSteps": [
    "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: piprail_discover, piprail_quote_payment, piprail_plan_payment, piprail_pay_request, piprail_register, piprail_budget, piprail_guide, piprail_verify_receipt.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T12:35:41.609615978Z"
}
