Claude / Cursor MCP
Connect Streamable HTTP MCP clients to /mcp/{group} for listing. To pay from Claude, Cursor, or Codex, use the local stdio client in /skill.md.
Verification: verified end to end — Verified end to end on 20 Nov 2026 with @x402/mcp tools/call against /mcp/{group} ($0.01 test call).
Install
For payment from Claude/Cursor/Codex, download /mcp-client.mjs, verify /mcp-client.mjs.sha256, and follow /skill.md. Remote /mcp URLs from /mcp/about still work for listing and for clients that settle x402 themselves.
Wallet and budget
Set BRAINIAC_PRIVATE_KEY, BRAINIAC_MAX_USD_PER_CALL, and BRAINIAC_DAILY_MAX_USD on the buyer machine only. The local client refuses to sign when pins or caps fail.
Minimal paid call
With the local client: describe then call. With remote MCP that already pays: initialize and tools/list are free; a paid tools/call settles only after a successful result.
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"call","arguments":{"id":"token-security.risk-verdict","params":{"tokenAddress":"…"}}}}Discover
Local tools: list_apis / search / describe. Remote catalog: list_apis / search_endpoints, or read server.json.
Errors
Unpaid remote calls return payment terms in the tool result. The local client never signs on pin mismatch or over budget.
Idempotency
The local client sends a 64-hex Idempotency-Key on paid POSTs. HTTP-backed remote tools accept Idempotency-Key when the transport exposes headers.
Related
Local MCP skill, Local MCP client, MCP for agents, MCP overview, How to use.