The mechanic that makes this usable from an agent is that the commission arithmetic is visible up front and enforced by contract afterwards — one affiliate layer only, no chain of referrers. Browsing costs nothing, so an agent can shop the catalogue and only reach for a wallet when it decides to buy.
A hosted MCP server plus SDK for agent commerce. Vendors list paid tools and APIs; agents discover them and buy per call; the payment is split on-chain between the protocol, the referring agent and the vendor at the moment of purchase.
- `pyrimid_browse` — search the catalogue by query, price, category or verified status
- `pyrimid_buy` — purchase a product through x402 with affiliate attribution attached
- `pyrimid_preview` — see the commission split before committing to the buy
- `pyrimid_categories` — the category list with counts
- `pyrimid_register_affiliate` — the steps to register on-chain as an affiliate
- A free, rate-limited read API for the catalogue and for protocol, affiliate and vendor stats
- Seed paid endpoints you can call unauthenticated to see a payment-required response with x402 metadata, then retry after paying
- An SDK with a resolver for agents, middleware for vendors, and a server factory for frameworks
An MCP client that speaks Streamable HTTP, pointed at https://pyrimid.ai/api/mcp. Reading the catalogue is free and needs no credentials, rate-limited per IP. Buying needs an agent wallet that can settle x402 payments in USDC on Base, and an affiliate id if you want attribution on the purchase. Vendors integrate through the npm SDK. Contracts are deployed and verified on Base.
One command — npm install @pyrimid/sdk
