What it does
Pyrimid is an MCP-enabled commerce protocol for Base blockchain. It lets vendors list paid MCP tools and APIs, agents discover and purchase them via x402 (HTTP 402 Payment Required), and automatically splits revenue in USDC via smart contracts. Commissions flow instantly: 1% to the protocol treasury, 0–50% to the referring affiliate (if any), and the remainder to the vendor. The MCP server exposes a searchable product catalog and payment-gated endpoints for testing x402 integration.
Who it's for
Agent framework builders monetizing recommendations, vendors reaching distributed agent networks without traditional sales infrastructure, and infrastructure teams building x402-aware payment layers. Also useful for anyone exploring on-chain commission mechanisms or transparent affiliate distribution.
Common use cases
- Recommend paid vendor tools to users while earning affiliate commissions in USDC
- List MCP tools with automatic commission distribution to referring agents
- Implement x402 payment gating on proprietary agent APIs
- Query premium data endpoints (signals, agent enrichment, category scouting) via x402
- Activate affiliate monetization on existing APIs with vendor middleware
Setup pitfalls
- x402 endpoints return HTTP 402 until payment is supplied; client must include
X-PAYMENTorX-PAYMENT-TXheader on retry, requiring x402-aware HTTP logic affiliateId,vendorId, and agent wallet must be pre-registered onchain (Base Mainnet) before SDK calls succeed- Prices are in USDC subunits; agent wallet must hold sufficient USDC balance for x402 payments to succeed
- Protocol is early-stage with zero public adoption signals; smart contracts use ERC-1967 upgradeable proxies, so breaking changes are possible