Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
PipRail
概览
作者提供的说明(英文原文)
Budget-bound x402 payment wallet for AI agents — pays HTTP 402 URLs, capped locally. No backend.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i尚未统计★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 网店与支付
- 你需要填写:PIPRAIL_PRIVATE_KEY
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
PIPRAIL_PRIVATE_KEY,PIPRAIL_CHAIN,PIPRAIL_CHAINS,PIPRAIL_MAX_AMOUNT,PIPRAIL_MAX_TOTAL,PIPRAIL_MAX_TOTAL_DENOM,PIPRAIL_MAX_PAYMENTS,PIPRAIL_MAX_PAYMENTS_PER_WINDOW,PIPRAIL_WARN_AT_FRACTION,PIPRAIL_SPEND_LOG,PIPRAIL_EVENT_LOG,PIPRAIL_TOKENS,PIPRAIL_SCHEMES
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
- npm已安装 Node.js(用于 npx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"piprail": {
"command": "npx",
"args": [
"-y",
"@piprail/mcp"
],
"env": {
"PIPRAIL_PRIVATE_KEY": "your-value",
"PIPRAIL_CHAIN": "your-value",
"PIPRAIL_CHAINS": "your-value",
"PIPRAIL_MAX_AMOUNT": "your-value",
"PIPRAIL_MAX_TOTAL": "your-value",
"PIPRAIL_MAX_TOTAL_DENOM": "your-value",
"PIPRAIL_MAX_PAYMENTS": "your-value",
"PIPRAIL_MAX_PAYMENTS_PER_WINDOW": "your-value",
"PIPRAIL_WARN_AT_FRACTION": "your-value",
"PIPRAIL_SPEND_LOG": "your-value",
"PIPRAIL_EVENT_LOG": "your-value",
"PIPRAIL_TOKENS": "your-value",
"PIPRAIL_SCHEMES": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add piprail --env PIPRAIL_PRIVATE_KEY=your-value --env PIPRAIL_CHAIN=your-value --env PIPRAIL_CHAINS=your-value --env PIPRAIL_MAX_AMOUNT=your-value --env PIPRAIL_MAX_TOTAL=your-value --env PIPRAIL_MAX_TOTAL_DENOM=your-value --env PIPRAIL_MAX_PAYMENTS=your-value --env PIPRAIL_MAX_PAYMENTS_PER_WINDOW=your-value --env PIPRAIL_WARN_AT_FRACTION=your-value --env PIPRAIL_SPEND_LOG=your-value --env PIPRAIL_EVENT_LOG=your-value --env PIPRAIL_TOKENS=your-value --env PIPRAIL_SCHEMES=your-value -- npx -y @piprail/mcp运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"piprail": {
"command": "npx",
"args": [
"-y",
"@piprail/mcp"
],
"env": {
"PIPRAIL_PRIVATE_KEY": "your-value",
"PIPRAIL_CHAIN": "your-value",
"PIPRAIL_CHAINS": "your-value",
"PIPRAIL_MAX_AMOUNT": "your-value",
"PIPRAIL_MAX_TOTAL": "your-value",
"PIPRAIL_MAX_TOTAL_DENOM": "your-value",
"PIPRAIL_MAX_PAYMENTS": "your-value",
"PIPRAIL_MAX_PAYMENTS_PER_WINDOW": "your-value",
"PIPRAIL_WARN_AT_FRACTION": "your-value",
"PIPRAIL_SPEND_LOG": "your-value",
"PIPRAIL_EVENT_LOG": "your-value",
"PIPRAIL_TOKENS": "your-value",
"PIPRAIL_SCHEMES": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"piprail": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@piprail/mcp"
],
"env": {
"PIPRAIL_PRIVATE_KEY": "your-value",
"PIPRAIL_CHAIN": "your-value",
"PIPRAIL_CHAINS": "your-value",
"PIPRAIL_MAX_AMOUNT": "your-value",
"PIPRAIL_MAX_TOTAL": "your-value",
"PIPRAIL_MAX_TOTAL_DENOM": "your-value",
"PIPRAIL_MAX_PAYMENTS": "your-value",
"PIPRAIL_MAX_PAYMENTS_PER_WINDOW": "your-value",
"PIPRAIL_WARN_AT_FRACTION": "your-value",
"PIPRAIL_SPEND_LOG": "your-value",
"PIPRAIL_EVENT_LOG": "your-value",
"PIPRAIL_TOKENS": "your-value",
"PIPRAIL_SCHEMES": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- Your wallet's private key/seed for the chosen chain. Optional: omit it to run read-only (discover/quote/register/budget/guide); set it to let the agent pay. Stays on your machine; the spend policy ca…
PIPRAIL_CHAINenvChain to pay on (default: base).PIPRAIL_CHAINSenvPay across several chains (instead of PIPRAIL_CHAIN): a comma-separated list, e.g. base,polygon,solana. Give each its own PIPRAIL_ _KEY (+ optional PIPRAIL_ _RPC_URL). The agent pays whichever chain…PIPRAIL_MAX_AMOUNTenvMax spend per single payment, in token units (default: 0.10).PIPRAIL_MAX_TOTALenvLifetime spend cap per token, in token units (default: 10.00).PIPRAIL_MAX_TOTAL_DENOMenvCross-token GRAND TOTAL: one spend cap per denomination across every stablecoin and chain, e.g. USD:20.00,EUR:5.00. Not a price oracle — sums tokens of the same unit, each counted 1:1. Native coins a…PIPRAIL_MAX_PAYMENTSenvLifetime cap on the NUMBER of payments, across every chain + token (e.g. 100).PIPRAIL_MAX_PAYMENTS_PER_WINDOWenvCap on the number of payments within PIPRAIL_WINDOW_SECONDS (a rolling rate limit; set PIPRAIL_WINDOW_SECONDS too).PIPRAIL_WARN_AT_FRACTIONenvEmit an early-warning event when spend crosses this fraction of any cap, e.g. 0.8 (80%). Needs PIPRAIL_EVENT_LOG to be visible.PIPRAIL_SPEND_LOGenvPath to a local append-only spend log. When set, the budget (lifetime, grand total, counts) SURVIVES a restart — hydrated from this file. No backend; you own the file.PIPRAIL_EVENT_LOGenvMirror payment events (settled / declined / budget-threshold) as one-line JSON to 'stderr' or a file path — the operator's notification stream. Default: off.PIPRAIL_TOKENSenvComma-separated allowed token symbols, plus the alias 'native' for the chain's coin (default: USDC).PIPRAIL_SCHEMESenvComma-separated payment schemes to settle (default: onchain-proof). Add 'exact' (onchain-proof,exact) to also pay standard x402 servers GASLESS on EVM + Solana (method auto-selected). Add 'upto' to a…
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 piprail 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“网店与支付”中的其他服务器比较i
- 星标数多于此分类中其他 1752 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 1752 个服务器的 37% 更新
- 基础检查结果等于或优于此分类中其他 1752 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
PipRail 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:PIPRAIL_PRIVATE_KEY
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.10.0)于2个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
有什么可以替代它?
同一分类中有: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、图片和脚本已被移除。链接会离开本站。
@piprail/mcp
Hand any AI agent a budget-bound payment wallet. An MCP server wrapping @piprail/sdk so any MCP client — Claude Desktop, Cursor, Claude Code, Windsurf, VS Code, Cline, OpenClaw, Hermes — can pay x402 URLs on its own, capped by a spend policy the model cannot exceed. Runs locally with your wallet and your limits — no backend, no custody, no facilitator.
npx -y @piprail/mcp # speaks MCP over stdio
### 📖 Full documentation → [docs.piprail.com/mcp](https://docs.piprail.com/mcp/overview/)
The docs are the single source of truth — every client's config, the complete env-var reference, the modes, per-chain setup, and the tools reference. This README is just the front door.
Add it to your client
Two things: your wallet private key and (optionally) a budget. The defaults are deliberately small and safe (0.10 per payment, 10.00 lifetime per token, USDC on Base).
{ "mcpServers": { "piprail": {
"command": "npx", "args": ["-y", "@piprail/mcp"], "env": { "PIPRAIL_PRIVATE_KEY": "0xYOUR_KEY", "PIPRAIL_CHAIN": "base", "PIPRAIL_MAX_AMOUNT": "0.10" } } } }
Restart the client and the PipRail tools appear (VS Code uses servers, not mcpServers). Never commit your key — keep it in the client's env block. → Per-client setup · Configuration
8 tools — piprail_discover · piprail_quote_payment · piprail_plan_payment · piprail_pay_request · piprail_register · piprail_budget · piprail_guide · piprail_verify_receipt. Only piprail_pay_request moves money; piprail_register writes a listing to an external index; the other six are read-only. → Tools reference
14 tools in sovereign mode. PIPRAIL_MODE=sovereign appends the swap tools, the seller tools (piprail_sell · piprail_collect · piprail_earnings) and piprail_wallet (what it holds, and the address it gets paid at), so the agent owns both halves of its wallet: it can be paid, not only pay. It appends rather than replaces, so the default above is untouched. → Modes
No key? It still runs. Without PIPRAIL_PRIVATE_KEY the server boots in read-only mode — discover, quote, register, budget, and guide all work; only piprail_pay_request (and piprail_plan_payment) ask for a wallet. Add a key when you're ready to actually pay.
Pay across chains? List several chains and give each its own key — the tools then pay whichever chain a 402 asks for (one server, one budget):
"env": {
"PIPRAIL_CHAINS": "base,polygon,solana", "PIPRAIL_BASE_KEY": "0x…", "PIPRAIL_POLYGON_KEY": "0x…", "PIPRAIL_SOLANA_KEY": " ", "PIPRAIL_MAX_AMOUNT": "1.00" }
One EVM key works on every EVM chain; non-EVM families each need their own key (and that family's peer libs). A chain with no key is read-only. → Configuration
Listed in the official MCP registry as io.github.piprail/mcp.
What it will not do by default
There is no swap tool in the default set, and that is deliberate: the spend policy does not govern swaps. Every budget cap here governs *paying a merchant*, while a swap moves your own funds between denominations, so an agent able to swap could drain a wallet through fees and slippage without tripping a single budget check.
That is a reason to bound the capability, not to pretend it does not exist. PIPRAIL_MODE=sovereign unlocks it for an operator who says the agent owns this wallet, and requires PIPRAIL_MAX_PER_SWAP before the server will start, because the payment caps cannot bound a swap. A model can never set its own mode.
Sovereign also unlocks selling, which needs no ceiling: it takes money rather than spending it, and the receiving side holds no private key at all.
Documentation
| [Overview](https://docs.piprail.com/mcp/overview/) · [Getting started](https://docs.piprail.com/mcp/getting-started/) | What it is · first run |
| [Client setup](https://docs.piprail.com/mcp/client-setup/) · [Configuration](https://docs.piprail.com/mcp/configuration/) | Per-client config · every env var |
| [Tools](https://docs.piprail.com/mcp/tools/) · [Modes](https://docs.piprail.com/mcp/modes/) | The 8 default tools (14 in sovereign) · headless vs supervised |
| [Security](https://docs.piprail.com/mcp/security/) · [Chains](https://docs.piprail.com/mcp/chains/) | Why it's safe · per-chain setup |
| [Use as a library](https://docs.piprail.com/mcp/use-as-a-library/) · [FAQ](https://docs.piprail.com/mcp/faq/) | Embed it · common questions |
Spread the word
Free, open-source, self-custodial — no backend to sell you. If PipRail gave your agent a wallet it can trust, help others find it:
⭐ [Star on GitHub](https://github.com/piprail/piprail) · 𝕏 [Follow @piprailhq](https://x.com/piprailhq) · 🌐 [piprail.com](https://piprail.com) · 📖 [docs.piprail.com](https://docs.piprail.com)
Docs · PipRail · @piprail/sdk · x402 · Model Context Protocol
MIT · no backend, no fee, ever.