Prerequisites
- Node.js 18+ and pnpm
- A free OpenRouter API key (no card required for
:freemodels) — powers the summarization resource - An OZ Channels API key — the real x402 facilitator this project uses (not the
www.x402.org/facilitatorURL some older x402 docs reference)
Get started
1
Install and generate accounts
2
Fund the accounts (by hand — this can't be automated)
- Fund both accounts with testnet XLM at the Stellar Lab friendbot
- Establish a USDC trustline on both — testnet USDC issuer:
GBBD47IF6LWK7P7MDEVSCWR7DPUWV3NY3DTQEVFL4NAT4AQH3ZLLFLA5 - Get testnet USDC into the buyer account from the Circle faucet
3
Run the seller and the MCP server
.mcp.json at the repo root already wires nymor-server up for Claude Code (project-scoped, points at packages/server/dist/index.js — run pnpm build first). Restart your MCP client after adding/changing .mcp.json, then ask it “what paid resources does nymor know about?” — it should call nymor.discover and list both resources.