402 challenge and signs the payment from a local wallet.
pay signs payments on Solana. With Syntalic it pays over x402 in USDC on Solana, so fund your pay wallet with USDC on Solana.
pay.sh’s registry listing can lag the live API. It currently lists a subset of the Shopper, Marketing and Analyst endpoints, not the measures, social or ontology routes, and still includes the inflation endpoint, which is currently unavailable. The live OpenAPI specification lists every route and price.
1. Install the pay CLI
On macOS:pay --version.
2. Set up a wallet
pay setup creates your wallet and protects it with Touch ID on macOS, Windows Hello on Windows, GNOME Keyring on Linux, or 1Password. Fund it with USDC on Solana before calling Syntalic; see pay.sh’s docs for funding options.
3. Launch an agent with Pay MCP attached
4. Have the agent discover and call Syntalic
Inside the agent session, the typical tool flow is:get_skill_endpoints, and curls it. pay asks you to approve the payment in your wallet, then signs it and retries the call.
Manual MCP config
If you’d rather not launch your agent throughpay claude, add Pay as an MCP server yourself. For Claude Code:
~/.cursor/mcp.json), Windsurf (~/.codeium/windsurf/mcp_config.json) or another client, add this to its MCP configuration:
What happens behind the scenes
- The agent calls
search_skills(a Pay MCP tool) and finds Syntalic in the registry. - It calls
get_skill_endpointsto get the exact URL for the call it wants, for example/v1/shopper/best-price. - It issues a
curlagainst that URL. - The Syntalic API returns
402 Payment Requiredwith the price and payment options. - pay asks you to approve the payment, then signs an x402 payment in USDC on Solana with 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.
Pricing
What each endpoint costs.