
Pyrimid Protocol
ai.pyrimidPublished by pyrimid.aiOfficial publisherv1.0.0Updated Oct 24, 2026
Agent-commerce MCP server for x402/USDC payments and affiliate splits on Base.
Overview
Remote MCP server for Pyrimid, an agent-commerce protocol where assistants browse a catalog of paid MCP tools and AI APIs and buy them with x402 USDC payments…
- What you can do
- Browse and filter the product catalog by query, price, category and verified status, and list categories with counts
- Preview the commission split for a product before committing
- Purchase a product via x402 with affiliate attribution, settling USDC on Base
- Get instructions for registering as an affiliate onchain
- Read protocol, affiliate and vendor statistics through the free, rate-limited HTTP API
- When to use it
- Use it when an assistant should discover and pay for third-party paid MCP tools or AI API products on Base, or when an agent wants to earn affiliate commissions by recommending such products.
- Requirements
- A remote Streamable HTTP endpoint at pyrimid.ai; no package install. Buying requires an agent wallet funded with USDC on Base and x402 payment headers. Affiliate features need an affiliate ID; vendor features need a vendor ID. The read API is rate-limited to 60 requests per minute, MCP to 120.
Installation
In SourceWeft
- Open Pyrimid Protocol in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/ai.pyrimid%2Fpyrimid/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config.
{
"mcpServers": {
"pyrimid-protocol": {
"type": "http",
"url": "https://pyrimid.ai/api/mcp"
}
}
}README
Pyrimid Protocol
Agent-commerce infra for paid MCP tools and x402 AI/API products on Base.
Website · Quickstart · MCP Server · SDK on npm · Contracts
[npm version] [Products] [Base] [MCP]
What is Pyrimid?
Pyrimid is a protocol where vendors sell paid MCP tools / AI APIs, agents discover and buy them via x402, and commissions settle instantly in USDC via smart contracts on Base.
No affiliate? Vendor gets 99%. Vendors only pay for distribution that drives real sales. One layer only — no MLM, no pyramids. Just clean, transparent commission splitting onchain.
Why Pyrimid?
Quick Start
Install the SDK
For Agents — Find & Recommend Products
For Vendors — List Your Product
For Frameworks — Embed as Default Layer
Live buyer-agent test surfaces
Call these without payment to receive HTTP 402 with x402 accepts[] metadata. Retry with X-PAYMENT or X-PAYMENT-TX after payment.
Three Integration Paths
Smart Contracts (Base Mainnet)
All contracts are deployed and verified on Base. ERC-1967 upgradeable proxy pattern.
API Reference
The Pyrimid API is free to read, rate-limited (60 req/min), and returns JSON.
MCP Tools
Architecture
Development
Deploy
Security
- Payment verification: Real onchain verification via viem — checks
PaymentRoutedevents + USDC transfers with 5-minute expiry - Rate limiting: Edge middleware, 60 req/min per IP on catalog/stats, 120/min on MCP
- BigInt safety:
calculateSplit()handles bothNumberandBigIntinputs from web3 libraries - Contract pattern: ERC-1967 upgradeable proxies with verified source on BaseScan
Roadmap
- Core contracts deployed on Base
- SDK v0.2.3 with full catalog pagination
- MCP server with 5 tools
- x402 Bazaar aggregation (92+ products)
- Subgraph indexing on The Graph
- Rate limiting & security hardening
- ERC-8004 identity verification for vendors
- Multi-network support (Arbitrum, Optimism)
- Revenue dashboard for affiliates
- Vendor self-service registration portal
Links
Built on Base · Payments via x402 · Settlement in USDC
Source: README.md at commit 8fb2685
Tools
0Version history
1- v1.0.0LatestSep 16, 2026
Score
85% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listedRequired15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts