Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
Pyrimid Protocol
概览
作者提供的说明(英文原文)
Agent-commerce MCP server for x402/USDC payments and affiliate splits on Base.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i尚未统计★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在云端运行
- 传输方式: Streamable HTTP
- 分类: 网店与支付
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
- 注册中心没有列出需要填写的密钥。
你需要
- 在云端运行无需安装任何东西,通过互联网连接
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
- 打开 Settings → Connectors
- 点击 Add custom connector
- 粘贴下面的地址,然后点击 Add
- 如果要求登录,请登录作者的服务
https://pyrimid.ai/api/mcp在终端中运行这条命令
claude mcp add --transport http pyrimid https://pyrimid.ai/api/mcp或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"pyrimid": {
"url": "https://pyrimid.ai/api/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"pyrimid": {
"type": "http",
"url": "https://pyrimid.ai/api/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
- 打开网页版 ChatGPT → Settings → Connectors (Apps)
- 点击 Create 或 Add(部分套餐需要先在 Advanced 中开启 Developer mode)
- 粘贴下面的地址,起个名字,然后保存
- 如果要求登录,请登录作者的服务
https://pyrimid.ai/api/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
- ✓ 通过
作者与仓库一致
注册名称已通过域名 pyrimid.ai 验证(注册中心会核实域名所有权)
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
端点有响应
尚未检查;我们会轮流检查各个端点
- … 尚未检查
使用 OAuth 登录
尚未检查;我们会轮流检查各个端点
- … 尚未检查
工具描述中没有隐藏指令
尚未检查;我们会在检查端点时读取工具列表
与“网店与支付”中的其他服务器比较i
- 星标数多于此分类中其他 1745 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 1745 个服务器的 8% 更新
- 基础检查结果等于或优于此分类中其他 1745 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Pyrimid Protocol 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在我的电脑上运行还是在云端?
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(1.0.0)于6个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
有什么可以替代它?
同一分类中有:Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Stripe MCP
MCP server integrating with Stripe - tools for customers, products, payments, and more.
MCP Cn Commerce
8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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