Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
RevClamp MCP Server
概览
作者提供的说明(英文原文)
Zero-take-rate Stripe 2025-03-31.basil, Visa CE 3.0 & EU/XI VIES VAT guardrails MCP server.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i3 项中通过 3 项依据公开信息检查;尚未扫描代码
- 使用情况i尚未统计★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 电脑或云端
- 传输方式: stdio, Streamable HTTP
- 分类: 网店与支付
- 你需要填写:REVCLAMP_API_KEY
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:3 项中通过 3 项
- 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
- 可以做 9 件事(工具) revclamp_audit_revenue_leakage, revclamp_evaluate_ghost_usage, revclamp_stage_stripe_dispute_ce3, revclamp_validate_eu_vat_vies …
- 需要你自己填写:
REVCLAMP_API_KEY,REVCLAMP_MCP_URL
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
- 打开 Settings → Connectors
- 点击 Add custom connector
- 粘贴下面的地址,然后点击 Add
- 如果要求登录,请登录作者的服务
https://revclamp.com/api/mcp或者在你的电脑上运行
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"revclamp": {
"command": "npx",
"args": [
"-y",
"revclamp-mcp"
],
"env": {
"REVCLAMP_API_KEY": "your-value",
"REVCLAMP_MCP_URL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http revclamp https://revclamp.com/api/mcp或者在你的电脑上运行
claude mcp add revclamp --env REVCLAMP_API_KEY=your-value --env REVCLAMP_MCP_URL=your-value -- npx -y revclamp-mcp运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"revclamp": {
"url": "https://revclamp.com/api/mcp"
}
}
}或者在你的电脑上运行
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"revclamp": {
"command": "npx",
"args": [
"-y",
"revclamp-mcp"
],
"env": {
"REVCLAMP_API_KEY": "your-value",
"REVCLAMP_MCP_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"revclamp": {
"type": "http",
"url": "https://revclamp.com/api/mcp"
}
}
}或者在你的电脑上运行
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"revclamp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"revclamp-mcp"
],
"env": {
"REVCLAMP_API_KEY": "your-value",
"REVCLAMP_MCP_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
- 打开网页版 ChatGPT → Settings → Connectors (Apps)
- 点击 Create 或 Add(部分套餐需要先在 Advanced 中开启 Developer mode)
- 粘贴下面的地址,起个名字,然后保存
- 如果要求登录,请登录作者的服务
https://revclamp.com/api/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- Optional RevClamp workspace key (rg_live_...). Omit to run all 9 tools 100% locally in-process via local_engine.mjs.
REVCLAMP_MCP_URLenvOptional Streamable HTTP MCP endpoint override (defaults to https://api.revclamp.com/api/mcp).
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
工具名称和描述与服务器在 2026年11月6日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。
revclamp_audit_revenue_leakageRun a deterministic 90-day B2B revenue leakage and chargeback readiness audit across Stripe subscriptions, AI/API usage telemetry events, and open disputes. Executes as a 100% read-only, stateless diagnostic with zero external Stripe mutations. Returns structuredContent containin
revclamp_evaluate_ghost_usageEvaluate whether a specific customer's AI or API usage event constitutes unpaid ghost usage across multi-subscription Stripe 2025-03-31.basil state, enforcing fail-closed pagination (has_more must be explicitly false) and configurable 0-14 day dunning grace windows. Executes as a
revclamp_stage_stripe_dispute_ce3Evaluate Visa Compelling Evidence 3.0 (CE 3.0) qualification across 120-to-365-day historical charges (requiring at least 2 settled, non-refunded, non-disputed prior transactions sharing IP address, device fingerprint, or billing email) and assemble a non-destructive Stripe dispu
revclamp_validate_eu_vat_viesNormalize EU-27 and Northern Ireland (XI) B2B VAT identifiers (including mandatory Greece ISO-3166 GR to EL prefix normalization) and evaluate cross-border 0% VAT reverse-charge eligibility, VIES consultation evidence, or MS_UNAVAILABLE circuit-breaker fulfillment hold actions. R
revclamp_reconcile_b2b_net_termsReconcile B2B wholesale Net-15, Net-30, and Net-60 invoice deposits, partial payments, and credit notes using exact integer minor-unit (EUR/USD cent) arithmetic with zero IEEE-754 floating-point drift. Executes as a pure, stateless, read-only financial reconciliation function. Re
revclamp_verify_webhook_signatureGenerate and verify canonical Stripe-Signature (t= ,v1= ), X-Shopify-Hmac-Sha256 ( ), and X-RevClamp-Signature (t= ,v1= ) headers over exact UTF-8 webhook payload bytes using crypto.timingSafeEqual and a 300-second replay window guard. Enforces a Zero-Trust guard that blocks know
revclamp_calculate_roi_and_plan_fitDeterministically calculate monthly and annual B2B margin savings using exact integer USD cents when replacing a 25%-30% contingency chargeback agency with RevClamp flat-rate 0% commission plans ($19 Starter, $59 Growth, $199 Scale). Evaluates monthlyWonDisputeUsd, monthlyGhostBl
revclamp_simulate_webhook_replayDeterministically evaluate an ordered or out-of-order sequence of 1-10 Stripe/Shopify/RevClamp subscription lifecycle webhooks against a 72-hour idempotency deduplication Set (eventId), a configurable idempotencyWindowSec (60s-2592000s, default: 259200s / 72h), and a monotonic tr
revclamp_lint_dispute_evidenceDeterministically lint a Stripe dispute evidence[access_activity_log] payload against Stripe's 18,000 UTF-16 code unit (String.prototype.length) ceiling, UTF-8 byte length, non-destructive --- BEGIN REVCLAMP CE3 EVIDENCE --- / --- END REVCLAMP CE3 EVIDENCE --- (or [RevClamp Verif
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
- ✓ 通过
作者与仓库一致
注册名称已通过域名 revclamp.com 验证(注册中心会核实域名所有权)
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- ✓ 通过
端点有响应
在 188 毫秒内响应(HTTP 200)
- – 不适用
使用 OAuth 登录
无需登录
- ✓ 通过
工具描述中没有隐藏指令
已读取 9 个工具描述,未发现针对 AI 的隐藏指令
与“网店与支付”中的其他服务器比较i
- 星标数多于此分类中其他 1748 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 1748 个服务器的 92% 更新
- 基础检查结果等于或优于此分类中其他 1748 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
RevClamp MCP Server 安全吗?
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:REVCLAMP_API_KEY
它在我的电脑上运行还是在云端?
两种方式都可以:安装在你的电脑上,或者连接云端版本。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(1.20.21)于今天进入注册中心。
哪些应用可以使用它?
支持 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、图片和脚本已被移除。链接会离开本站。
RevClamp MCP Server & CLI (revclamp-mcp)
`revclamp-mcp` is a standalone, zero-dependency Open-Source Model Context Protocol (MCP) Server & CLI (index.mjs + local_engine.mjs) implementing 9 deterministic B2B FinOps, Stripe `2025-03-31.basil`, Visa CE 3.0, EU/XI VIES VAT, Shopify Plus B2B Net-15/30/60, and Webhook Security tools in pure Node.js.
- 100% Local In-Process Execution (Default — Zero Network / Zero API Key Required): All 9 MCP tools (
initialize,tools/list, andtools/call) execute locally in-process insidelocal_engine.mjsusing pure Node.js (node:cryptoHMAC-SHA256 verification, integer-cent double-entry accounting, 72-hour webhook replay state machines, and18,000UTF-16 code unit CE 3.0 linting). Zero network calls are ever made unlessREVCLAMP_API_KEYorREVCLAMP_MCP_URLis explicitly configured. - Optional Hosted Cloud Workspace Sync (`REVCLAMP_API_KEY`): When
REVCLAMP_API_KEY(rg_live_...) is configured,revclamp-mcpconnects to RevClamp Enterprise (https://api.revclamp.com/api/mcp) to unlock the 90-day durable transactional usage & audit ledger, 24/7 autonomous Stripe dispute & entitlement webhook outbox, and real-time EU Commission VIES SOAP gateway consultation numbers.
Local Open-Core (local_engine.mjs) vs. Hosted Cloud (REVCLAMP_API_KEY)
| Capability | Local Open-Core Default (Zero API Key) | Hosted Cloud (REVCLAMP_API_KEY) |
|---|---|---|
| Execution & Network | 100% in-process (local_engine.mjs), zero network calls | HTTPS JSON-RPC to https://api.revclamp.com/api/mcp (redirect: "error") |
| Usage & Audit Storage | Stateless evaluation of caller-supplied JSON snapshots | Persistent 90-day durable transactional ledger + Stripe historical backfill |
| Dispute & Entitlement Action | Returns non-destructive submit: false draft & revoke_entitlement decision | 24/7 autonomous Stripe webhook outbox (disputes.update & signed revoke webhooks) |
| EU & `XI` B2B VAT (`VIES`) | Deterministic syntax & GR -> EL normalization (FORMAT_ONLY default, valid: null) | Live EU Commission VIES SOAP consultation IDs + circuit-breaker retry queue (viesMode: "LIVE" + REVCLAMP_API_KEY) |
| Monthly Event Tiers | Unlimited local in-process evaluations (0 network cost) | Free Sandbox (5,000 events/mo) · Starter $19/mo (100k) · Growth $59/mo (1M) · Scale $199/mo (5M) |
| Data Minimization & Privacy | Nothing ever leaves your machine | Only explicit tools/call arguments are sent over TLS after local live-secret scrubbing (blocks sk_live_, non-test whsec_, and shpat_ locally before any network request) |
Open-Source MCP Tools Implemented in local_engine.mjs (9)
| Tool Name | Domain | Local In-Process Implementation (local_engine.mjs) | Execution Mode |
|---|---|---|---|
revclamp_audit_revenue_leakage | Stripe Billing & Usage | Evaluates caller-supplied customer/usage arrays (demo: true for synthetic sample) and returns upgrade hooks when no workspace ledger is connected | Local In-Process (or Optional Cloud Key) |
revclamp_evaluate_ghost_usage | Stripe 2025-03-31.basil | Evaluates multi-subscription customer snapshots (has_more: false enforced) and 0–14d dunning grace windows for unpaid API/LLM bleed | Local In-Process (or Optional Cloud Key) |
revclamp_stage_stripe_dispute_ce3 | Visa 10.4 / CE 3.0 | Evaluates 120d–365d prior undisputed charges (ip_subnet/device_id overlap) against caller-supplied usageEvents (demo: true for sample) and stages a non-destructive submit: false draft (<= 18,000 UTF-16 code units) | Local In-Process (or Optional Cloud Key) |
revclamp_validate_eu_vat_vies | EU & XI B2B VAT | Normalizes 27 EU member states + Northern Ireland (XI) VAT IDs (GR -> EL), checks syntax locally (FORMAT_ONLY, valid: null), simulates errorWrappers (demo: true), or queries live EU VIES (viesMode: "LIVE" + REVCLAMP_API_KEY) | Local In-Process (or Optional Live VIES) |
revclamp_reconcile_b2b_net_terms | B2B Wholesale Net-30 | Reconciles Net-15/30/60 upfront deposits and credit notes using integer EUR-cent double-entry accounting | Local In-Process (or Optional Cloud Key) |
revclamp_verify_webhook_signature | Webhook HMAC-SHA256 | Generates and verifies Stripe-Signature, X-Shopify-Hmac-Sha256, and X-RevClamp-Signature over raw UTF-8 bytes (node:crypto) with 300s replay checks | Local In-Process (or Optional Cloud Key) |
revclamp_calculate_roi_and_plan_fit | 0% Take-Rate ROI & Plan Fit | Calculates monthly and annual B2B margin savings in integer USD cents vs. 25%–30% chargeback agencies and recommends the optimal tier | Local In-Process (or Optional Cloud Key) |
revclamp_simulate_webhook_replay | Webhook Replay & FSM | Simulates subscription lifecycle webhooks against a 72h deduplication Set and monotonic createdSec guard vs. naive arrival-order handlers | Local In-Process (or Optional Cloud Key) |
revclamp_lint_dispute_evidence | Dispute Evidence UTF-16 & CE 3.0 | Lints evidence[access_activity_log] payloads against the 18,000 UTF-16 code unit ceiling, non-destructive CE 3.0 markers, and merchant note preservation | Local In-Process (or Optional Cloud Key) |
Quick Start (Claude Desktop / Cursor / Windsurf)
Add revclamp-mcp to your claude_desktop_config.json or .cursor/mcp.json. By default, revclamp-mcp runs 100% locally in-process with zero network calls and zero API keys required:
{
"mcpServers": { "revclamp": { "command": "npx", "args": ["-y", "github:lhphong09t2/revclamp-mcp"] } } }
*(Optional)* To connect to a live workspace on https://revclamp.com/dashboard, pass REVCLAMP_API_KEY in env or use the hosted Streamable HTTP endpoint (POST https://api.revclamp.com/api/mcp):
curl -sS -X POST https://api.revclamp.com/api/mcp \
-H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'
CLI Usage & <60s Local Smoke Check (--self-test)
# Run a <60s local CLI smoke check (verifies all 9 tool schemas & executes a local_engine.mjs sample audit with zero API key)
npx -y github:lhphong09t2/revclamp-mcp#v1.20.20 --self-test
Provision a free Cloud Workspace instantly (zero email required; saves to ~/.revclamp/credentials.json) or bind a work email via 6-digit OTP
npx -y revclamp-mcp@1.20.20 --init-workspace npx -y revclamp-mcp@1.20.20 --init-workspace you@company.com
Verify the 6-digit OTP using REVCLAMP_API_KEY from environment
REVCLAMP_API_KEY="rg_live_..." npx -y revclamp-mcp@1.20.20 --verify-otp you@company.com 123456
List all 9 MCP tools and JSON schemas (runs locally in-process)
node index.mjs --list-tools
Validate an EU or Northern Ireland (XI) B2B VAT ID (auto-converts Greece GR -> EL)
node index.mjs --check-vat GR123456789 DE
Calculate 0% take-rate ROI and optimal flat-rate plan fit (runs locally in-process)
node index.mjs --calc-roi 10000 600 25 250000
Simulate out-of-order webhook replay and 72-hour deduplication state machine (runs locally)
node index.mjs --sim-replay out_of_order_stale_update_after_cancel
Lint Stripe dispute evidence UTF-16 code units and non-destructive CE 3.0 markers (runs locally)
node index.mjs --lint-evidence valid_ce3_non_destructive
Verify webhook HMAC-SHA256 using REVCLAMP_WEBHOOK_SECRET from environment (runs locally)
REVCLAMP_WEBHOOK_SECRET="whsec_test_secret_revclamp_sandbox_2026" node index.mjs --verify-webhook stripe
Invoke Visa CE 3.0 readiness staging locally (pass demo: true for synthetic sample or usageEvents for real logs)
node index.mjs --call revclamp_stage_stripe_dispute_ce3 '{"disputeId":"du_1Qxyz01","customerId":"cus_ent_88","disputeReason":"fraudulent","demo":true}'
Architecture & Engineering Deep-Dives (7 Post-Mortems & 8 Interactive Browser Tools)
1. Stripe 2025-03-31.basil Entitlement Guard & Visa CE 3.0 Two-Tier Routing
- Engineering Post-Mortem #1: Stripe's
basilAPI broke my grace-period logic, and CE 3.0 turned out to be a routing problem - Engineering Post-Mortem #7: Visa CE 3.0
18,000UTF-16 Code Unit Evidence Truncation & Non-Destructive Staging - Interactive Tools (No Signup):
- Free Stripe
2025-03-31.basilGhost-Usage Auditor - Free Visa CE 3.0 Readiness Checker
- Free 18,000 UTF-16 Stripe Dispute Evidence Linter
2. EU VIES HTTP 200 OK Soft-Failure Circuit Breaker & B2B Net-Terms Reconciliation
- Engineering Post-Mortem #2: VIES returns
HTTP 200when it's down, and I charged the wrong VAT because of it - Engineering Post-Mortem #3: Shopify Plus B2B Net-15/30/60 Integer-Cent Deposit & Credit-Note Reconciliation
- Interactive Tools (No Signup):
- Free 20-ID EU &
XIVIES VAT Batch Validator - Free Shopify Plus B2B Net-Terms Deposit & Credit-Note Calculator
3. Webhook HMAC-SHA256 Raw-Body Security, 72h Replay FSM & 0% Take-Rate ROI
- Engineering Post-Mortem #4: Why Stripe and Shopify Webhook HMAC-SHA256 Verification Fails on Parsed JSON Bodies
- Engineering Post-Mortem #5: Chargeback Contingency Fees (25%–30%) vs. Flat-Rate 0% Commission Automation
- Engineering Post-Mortem #6: Webhook Idempotency & Out-of-Order Subscription State Machines
- Interactive Tools (No Signup):
- Free Stripe, Shopify & RevClamp Webhook HMAC-SHA256 Signature Tester
- Free B2B Chargeback ROI & Take-Rate Calculator
- Free 72h Webhook Replay & Out-of-Order State Machine Simulator
Security & Resource Bounds
- Local-First Deterministic Execution: Runs all 9 tools locally in-process inside
local_engine.mjswith zero external npm dependencies. - Strict Origin Pinning (Cloud Mode): When
REVCLAMP_API_KEYis provided, only connects tohttps://api.revclamp.com/api/mcporhttps://revclamp.com/api/mcpover TLS (redirect: "error"). - Bounded Execution: Enforces a hard
10,000msrequest timeout (AbortSignal.timeout) and a32,768-byte request/response payload cap. - Full LLM Reference:
https://revclamp.com/llms-full.txt
License
MIT © RevClamp Enterprise