pay.sh is a Solana-Foundation-adjacent registry, CLI, and MCP server for paid APIs. Crush Rewards is listed in the live registry, so any agent already wired to pay.sh can discover and call our endpoints with no extra config — the pay CLI handles the x402 / MPP payment dance and signs from a local wallet.Documentation Index
Fetch the complete documentation index at: https://crushrewards.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
1. Install the pay CLI
2. Launch an agent with Pay MCP attached
The recommended flow per pay.sh’s agent quickstart is to wrap your agent with--sandbox so calls go against an ephemeral local wallet during testing:
--sandbox to charge real USDC from your wallet:
3. Have the agent discover and call Crush
Inside the agent session, the typical tool flow is:get_skill_endpoints, and curls it. The wallet signs the payment automatically.
Manual MCP config
If you don’t want to use thepay --sandbox claude wrapper and prefer to wire pay.sh into your existing agent config, add Pay as an MCP server:
~/.claude/mcp.json, ~/.cursor/mcp.json, ~/.codeium/windsurf/mcp_config.json, or wherever your client reads its MCP config.
What happens behind the scenes
- The agent calls
search_skills(a Pay MCP tool) and finds Crush Rewards in the live registry. - It calls
get_skill_endpointsto get the exact URL for the tool it wants — e.g.best_price. - It issues a
curlagainst that URL. - The Crush API returns
402 Payment Requiredwith the price and recipient addresses. - The pay CLI builds and signs a payment proof using your local wallet.
- The retried request returns the paid response.
Next steps
pay.sh agent quickstart
The official pay.sh walkthrough for launching Claude or Codex with Pay MCP.
Available tools
The 13 pricing tools Crush exposes that pay.sh can route to.
