Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
Pyrimid Protocol
Overview
Description from the maker (original English)
Agent-commerce MCP server for x402/USDC payments and affiliate splits on Base.
PopNx MCP’s three pillars
These three are never merged into one score: opinions, measurements and popularity are different things.
- User voiceiNo reviews yetReviews open together with accounts in a later step
- Our basic checksi1 of 1 passedChecked from public information; code not scanned yet
- UsageiNot measured yet★ –
What you can do with it
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
- Connection: Runs in the cloud
- Transport: Streamable HTTP
- Category: Online shops & payments
Install
Pick the AI app you use, then copy the settings.
Before you install
- Basic checks: 1 of 1 passed
- Runs on the maker’s server: what you ask it goes through their server.
- The registry lists no key to fill in.
You need
- Runs in the cloudNothing to install; it connects over the internet
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Works in Claude on the web, desktop and mobile:
- Open Settings → Connectors
- Press Add custom connector
- Paste the address below and press Add
- If it asks you to sign in, sign in with the maker
https://pyrimid.ai/api/mcpRun this in your terminal
claude mcp add --transport http pyrimid https://pyrimid.ai/api/mcpOr copy the settings yourself
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"pyrimid": {
"url": "https://pyrimid.ai/api/mcp"
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Or copy the settings yourself
Paste into .vscode/mcp.json in your project
{
"servers": {
"pyrimid": {
"type": "http",
"url": "https://pyrimid.ai/api/mcp"
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
ChatGPT connects only to servers on the internet:
- Open ChatGPT on the web → Settings → Connectors (Apps)
- Press Create or Add (some plans need Developer mode under Advanced first)
- Paste the address below, give it a name and save
- If it asks you to sign in, sign in with the maker
https://pyrimid.ai/api/mcpMenu names can differ slightly by plan and over time.
Your choice stays on this device in a cookie; no account needed.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
What it can do
We have not read this server’s tool list yet; we check endpoints in rotation.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 6, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified against the domain pyrimid.ai (the registry checks domain ownership)
- … Not checked yet
Still maintained
We have not read this repo from GitHub yet
- … Not checked yet
Has a licence
We have not read this repo from GitHub yet
- … Not checked yet
Endpoint responds
Not checked yet; we check endpoints in rotation
- … Not checked yet
Sign-in with OAuth
Not checked yet; we check endpoints in rotation
- … Not checked yet
No hidden instructions in tool descriptions
Not checked yet; we read the tool list when we check the endpoint
Compared with others in Online shops & paymentsi
- More stars than 0% of the other 1743 servers in this category
- Published to the registry more recently than 8% of the other 1743 servers in this category
- Basic checks equal to or better than 100% of the other 1743 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is Pyrimid Protocol safe?
It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
The registry does not list a required key, though some servers ask you to sign in on first use.
Does it run on my computer or in the cloud?
It runs in the maker’s cloud. Connect over the internet with nothing to install, but what you send passes through the maker’s servers.
Is it still maintained?
The GitHub repo last changed –, and the latest version (1.0.0) reached the registry 6 months ago.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. It connects by URL, so apps that accept remote MCP servers work too, such as ChatGPT in developer mode.
What can I use instead?
In the same category: Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
Alternatives
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Stripe MCP
Stripe’s official server lets AI view and manage customers, products, payments and invoices. Connect to Stripe’s cloud and sign in with OAuth.
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
Pyrimid Protocol
Agent-commerce infra for paid MCP tools and x402 AI/API products on Base.
Website · Quickstart · MCP Server · SDK on npm · Contracts
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.
Agent discovers a product → purchases via x402 → smart contract splits payment:
1% → Protocol treasury 0–50% → Affiliate agent (set by vendor) Remainder → Vendor
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?
| Problem | Pyrimid's Solution |
|---|---|
| Agents can't monetize recommendations | Earn commissions by recommending products to users |
| Vendors can't reach agents at scale | List once, get discovered by every agent on the network |
| Commission payments are slow & opaque | Instant USDC settlement via smart contracts — fully auditable |
| No standard for agent commerce | x402 payments + MCP tools + onchain registry = open standard |
Quick Start
Install the SDK
npm install @pyrimid/sdk
For Agents — Find & Recommend Products
import { PyrimidResolver } from '@pyrimid/sdk';
const resolver = new PyrimidResolver({ affiliateId: 'af_your_id' });
// Search the catalog const product = await resolver.findProduct("trading signals");
// Purchase with x402 payment (auto-splits commissions) if (product) { const receipt = await resolver.purchase(product, agentWallet); console.log(Earned: $${receipt.affiliate_earned / 1_000_000} USDC); }
For Vendors — List Your Product
import { pyrimidMiddleware } from '@pyrimid/sdk';
// 10 lines to activate affiliate distribution app.use(pyrimidMiddleware({ vendorId: 'vn_your_id', products: { '/api/signals/latest': { productId: 'signals_latest', price: 250_000, // $0.25 USDC affiliateBps: 1000, // 10% to affiliates }, }, }));
For Frameworks — Embed as Default Layer
import { createPyrimidMcpServer } from '@pyrimid/sdk';
// Deploy an MCP server — agents connect, browse, buy const server = createPyrimidMcpServer({ affiliateId: 'af_your_id', serverName: 'my-recommender', });
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.
| Endpoint | Price | Use case |
|---|---|---|
/api/v1/paid/signals | $0.25 | BTC derivatives signal snapshot |
/api/v1/paid/agentzone-search?q=agent-commerce | $0.05 | Trusted agent search |
/api/v1/paid/mya-agent-enrichment?agent=demo | $0.10 | Agent listing enrichment |
/api/v1/paid/mya-category-scout?category=developer-tools | $0.05 | Category scouting for buyer agents |
/api/v1/paid/vendor-lead-discovery?segment=mcp | $0.25 | Vendor lead discovery |
/api/v1/paid/mcp-server-audit?url=https://example.com/mcp | $0.10 | MCP monetization audit |
/api/v1/paid/x402-integration-plan?service=agent-api | $0.10 | Vendor x402 integration plan |
Three Integration Paths
| Path | Who | Effort | Leverage |
|---|---|---|---|
| Embedded Resolver | Agent frameworks & toolkits | 3 lines | Every agent on your stack earns you commissions |
| MCP Server | Agent infrastructure providers | 5 lines | Agents connect to your server to discover products |
| Vendor Middleware | API & product builders | 10 lines | Activate affiliate distribution on your product |
Smart Contracts (Base Mainnet)
All contracts are deployed and verified on Base. ERC-1967 upgradeable proxy pattern.
| Contract | Address | Purpose |
|---|---|---|
| Registry | 0x34e22fc2...389 | Affiliate & vendor registration, ERC-8004 identity linking |
| Catalog | 0xC935d6B7...908 | Product listings with pricing & commission rates |
| Router | 0xc949AEa3...68B | Commission splitting engine with maxPrice slippage protection |
| Treasury | 0x74A512F4...12C | Protocol operations fund |
API Reference
The Pyrimid API is free to read, rate-limited (60 req/min), and returns JSON.
| Endpoint | Method | Description |
|---|---|---|
/api/v1/catalog | GET | Full product catalog with search, filters, pagination |
/api/v1/paid/* | GET | Seed paid endpoints for x402 buyer-agent testing |
/api/v1/stats | GET | Protocol-level stats (volume, transactions, affiliates) |
/api/v1/stats?type=affiliate&id=af_xxx | GET | Affiliate performance & earnings |
/api/v1/stats?type=vendor&id=vn_xxx | GET | Vendor analytics |
/api/mcp | POST | MCP JSON-RPC 2.0 endpoint (Streamable HTTP) |
/api/mcp | GET | Server info & tool definitions |
MCP Tools
| Tool | Description |
|---|---|
pyrimid_browse | Search catalog by query, price, category, verified status |
pyrimid_buy | Purchase a product via x402 with affiliate attribution |
pyrimid_preview | Preview the commission split before buying |
pyrimid_categories | List all product categories with counts |
pyrimid_register_affiliate | Instructions to register as an affiliate onchain |
Architecture
pyrimid/
├── app/ # Next.js 15 (Vercel, region: bom1) │ ├── page.tsx # Landing page │ ├── dashboard/ # Protocol dashboard │ └── api/ │ ├── v1/catalog/ # Aggregated product catalog │ ├── v1/paid/ # Seed x402 paid endpoints │ ├── v1/stats/ # Protocol & affiliate analytics │ └── mcp/ # MCP JSON-RPC endpoint ├── sdk/ # @pyrimid/sdk (published to npm) │ └── src/ │ ├── resolver.ts # PyrimidResolver — search, purchase, stats │ ├── mcp-server.ts # MCP server factory │ ├── middleware.ts # Vendor payment middleware + calculateSplit() │ └── types.ts # ABIs, addresses, interfaces ├── subgraph/ # The Graph indexer (Base) │ ├── schema.graphql # PaymentRouted, Affiliate, Vendor entities │ ├── subgraph.yaml # 4 data sources │ └── src/mapping.ts # Event handlers ├── middleware.ts # Edge rate limiting (60/min API, 120/min MCP) └── public/docs/ # Developer documentation
Development
# Clone & install
git clone https://github.com/pyrimid/protocol.git cd protocol npm install
Run locally
cp .env.example .env npm run dev
SDK development
cd sdk npm run build # TypeScript → dist/ npm run dev # Watch mode
Deploy
# Website + API
npx vercel --prod
SDK to npm
cd sdk && npm publish --access public
Subgraph to The Graph
cd subgraph && npx graph deploy pyrimid --studio
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
| Resource | URL |
|---|---|
| Website | pyrimid.ai |
| Documentation | pyrimid.ai/docs |
| SDK | npmjs.com/package/@pyrimid/sdk |
| Subgraph | thegraph.com/studio/subgraph/pyrimid |
| Registry | BaseScan |
| Router | BaseScan |
Built on Base · Payments via x402 · Settlement in USDC