Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
Whiteflow
概览
作者提供的说明(英文原文)
USDT payment links, payments and collection summaries on Whitechain testnet. Can't move money.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i尚未统计★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 网店与支付
- 你需要填写:WHITEFLOW_API_KEY
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
WHITEFLOW_MODE,WHITEFLOW_API_KEY,WHITEFLOW_TIMEZONE
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
- npm已安装 Node.js(用于 npx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"whiteflow": {
"command": "npx",
"args": [
"-y",
"whiteflow-mcp"
],
"env": {
"WHITEFLOW_MODE": "your-value",
"WHITEFLOW_API_KEY": "your-value",
"WHITEFLOW_TIMEZONE": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add whiteflow --env WHITEFLOW_MODE=your-value --env WHITEFLOW_API_KEY=your-value --env WHITEFLOW_TIMEZONE=your-value -- npx -y whiteflow-mcp运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"whiteflow": {
"command": "npx",
"args": [
"-y",
"whiteflow-mcp"
],
"env": {
"WHITEFLOW_MODE": "your-value",
"WHITEFLOW_API_KEY": "your-value",
"WHITEFLOW_TIMEZONE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"whiteflow": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"whiteflow-mcp"
],
"env": {
"WHITEFLOW_MODE": "your-value",
"WHITEFLOW_API_KEY": "your-value",
"WHITEFLOW_TIMEZONE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
WHITEFLOW_MODEenvsandbox (default: local simulator, no key) or testnet- Your sk_test_ key from the Whiteflow dashboard (testnet only)
WHITEFLOW_TIMEZONEenvBusiness time zone for due dates and weekly summaries, e.g. Asia/Kolkata
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 Vishal4742 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“网店与支付”中的其他服务器比较i
- 星标数多于此分类中其他 2534 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 2534 个服务器的 94% 更新
- 基础检查结果等于或优于此分类中其他 2534 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Whiteflow 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:WHITEFLOW_API_KEY
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.3.0)于今天进入注册中心。
哪些应用可以使用它?
支持 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、图片和脚本已被移除。链接会离开本站。
Whiteflow Merchant MCP
Manage payment collection by asking your AI assistant: create payment links and invoices, check whether they're paid, see what's outstanding, and draft reminders. It's a local MCP server (stdio), packaged as `whiteflow.mcpb` for MCPB clients such as Claude Desktop, with a manual config for other clients.
Not production. It runs in one of two modes, and every result says which:
- Sandbox (the default): a simulator on your computer. No account, no network, no real money. URLs on
sandbox.whiteflow.invaliddon't open.
- Testnet: the Whiteflow gateway on Whitechain Testnet with your
sk_test_key. Test USDT only. Payment links, payments and collection summaries are live once the gateway routes in PR #48 are deployed. Customers, invoices and reminders are not on the testnet backend yet, and those tools say so.
Install
Claude Desktop (.mcpb)
cd packages/mcp && npm ci && npm run pack
This builds dist/whiteflow.mcpb, plus whiteflow.mcpb.sha256 (the archive) and whiteflow.mcpb.contents.sha256 (its files). The archive also contains sbom.cdx.json, a CycloneDX list of every package bundled in it. Open the .mcpb with Claude Desktop, or use Settings → Extensions → Install extension. Then fill in the settings:
| Setting | Default | Notes |
|---|---|---|
| Mode | sandbox | testnet to use the real gateway |
| Whiteflow secret key | empty | testnet only: your sk_test_ key. Marked sensitive |
| Gateway URL | https://whiteflow.org | testnet only |
| Business time zone | UTC | e.g. Asia/Kolkata. Used for due dates and "this week" |
Check the archive before installing: sha256sum dist/whiteflow.mcpb (PowerShell: Get-FileHash dist\whiteflow.mcpb) must match whiteflow.mcpb.sha256. The archive's hash changes on every pack, because mcpb 2.1.2 stamps zip entries with the current time. The contents hash stays the same for the same source. A checksum only helps if you got it from a channel you trust: the archive isn't signed yet, and nothing proves who built it (see "what production needs").
Optional setting, environment only: WHITEFLOW_TRUSTED_ORIGINS, comma-separated https origins of an approved custom checkout domain. The connector shows payment and review URLs only on the gateway's own origin and these.
Other clients (manual stdio)
Build once (npm run pack), then point the client at the bundled server. For example, Claude Desktop's claude_desktop_config.json:
{
"mcpServers": { "whiteflow": { "command": "node", "args": ["/absolute/path/to/packages/mcp/dist/bundle/server/index.mjs"], "env": { "WHITEFLOW_MODE": "sandbox", "WHITEFLOW_TIMEZONE": "Asia/Kolkata" } } } }
Claude Code: claude mcp add whiteflow --env WHITEFLOW_TIMEZONE=Asia/Kolkata -- node /absolute/path/to/packages/mcp/dist/bundle/server/index.mjs
For testnet, add "WHITEFLOW_MODE": "testnet" and "WHITEFLOW_API_KEY": "sk_test_…". Keep the default local scope in Claude Code: --scope project would write the key into the repo's .mcp.json. From a checkout, node src/index.ts also works (Node 22.18 or newer runs the TypeScript directly). The bundle needs Node 20 or newer and no node_modules.
Authentication
- Testnet: a merchant-scoped secret key (
sk_test_…) from the dashboard's Developers screen. The server works out your business from the key; no tool takes a merchant or business id. - Revoke a key on the same screen; the connector then gets 401 and tells you so.
- A publishable key (
pk_…) is refused. - Testnet keys have no scopes or expiry yet: a key can do everything the merchant API allows, though this connector only calls the routes in API-CONTRACT.md. Use a key just for the assistant, so you can revoke it alone.
- Sandbox: no key needed. A local sandbox key is created next to the sandbox data, owner-only. Sandbox keys do have scopes and expiry, so you can try a narrower key.
- Never give the connector a wallet private key, a seed phrase or a payment-provider master secret. It never asks for one, and no tool can use one.
- Where the key is stored. In an
.mcpbinstall, Claude Desktop keepssensitivesettings encrypted with Electron safeStorage, whose key is in the OS keychain (mcpb #41; help article). An open report says the settings panel can show them in plain text (mcpb #244). A manual config file holds the key in plain text, so protect that file.
Try the sandbox demo
In the assistant:
- "Find Priya Sharma, or add her with priya@example.com."
- "Draft an invoice for Priya: three consulting sessions at 20 USDT each, due next Friday." The assistant shows the totals and the resolved date and waits for your OK.
- "Publish it." The assistant asks to publish this exact version. Nothing is published or emailed yet: the result gives an approval id (
apr_…) for the business Owner.
In a terminal, act as the Owner on the review page, then as the customer paying. In the sandbox the review page is the approve command. The pay command sends signed provider events, and the sandbox processes them like webhooks:
cd packages/mcp
npm run sandbox -- approve apr_… # the Owner approves: the invoice becomes WF-1001, with a payment URL npm run sandbox -- pay WF-1001 # or: node dist/bundle/server/sandbox-cli.mjs pay WF-1001 npm run sandbox -- status
Back in the assistant:
- "Has WF-1001 been paid?" It's paid, according to the processed payment record.
- "Summarize collections this week." The summary shows the 60.00 USDT.
Scenarios for the simulator: --scenario duplicate | out-of-order | bad-signature | fail, and --amount 25 for an underpayment. npm run sandbox -- reconcile rebuilds each invoice's paid total from verified payments. The sandbox lives in %APPDATA%\whiteflow-mcp (Windows) or ~/.config/whiteflow-mcp, or in WHITEFLOW_STATE_DIR. Delete the folder to start over.
Example prompts
| You say | What happens |
|---|---|
| "Create a ₹15,000 payment link for Acme's website redesign." | A single-use link priced in INR. Whiteflow converts it to USDT at a rate locked at checkout; the connector never converts. You get the URL to send yourself. |
| "Draft an invoice for Priya: three consulting sessions at ₹2,000 each, due next Friday." | Invoices are issued in USDT, the settlement asset. The assistant asks for the USDT amounts, or offers an INR-priced payment link. It never converts the price itself. |
| "Has invoice WF-1042 been paid?" | Status, amount paid and amount due, from verified payment records. |
| "Show overdue invoices and the total outstanding." | Overdue invoices with days overdue, plus outstanding and overdue totals per currency. |
| "Summarize collections this week." | Gross, fees, refunds and net per currency, the payment count, and receivables. Weeks start on Monday, in your time zone. |
| "Prepare a reminder for Acme's unpaid invoice." | A subject, body and intended recipient, with sent: false. You send it. |
There are also prompt templates: Collect a payment, Create an invoice, Review overdue invoices and Summarize collections.
Tools
| Tool | Does | Testnet | Sandbox | Writes |
|---|---|---|---|---|
get_business_profile | Business, mode, time zone and today's date there, currencies, payment methods and limits, permissions | ✓ | ✓ | |
search_customers | Customers by name or email: stable ids, masked email | — | ✓ | |
create_customer | Name (email optional). A likely duplicate is listed instead of created | — | ✓ | ✓ |
create_payment_link | Amount, currency, description, optional customer, expiry and reference. Returns the URL and status; not sent | ✓ | ✓ | ✓ |
get_payment_link | Status and verified payments | ✓ | ✓ | |
create_invoice_draft | Customer id, line items, USDT, due date, explicit discount or tax. A private draft. Blocked if the server's total differs from the connector's own | — | ✓ | ✓ |
update_invoice_draft | Change a draft. It becomes a new revision, which cancels a pending approval | — | ✓ | ✓ |
finalize_invoice | Asks to publish: an approval request bound to this revision, total, currency and customer. An Owner approves it on the review page, and only then does the invoice get its number and payment URL. Not sent | — | ✓ | ✓ |
get_invoice | Totals, paid and due, due date, status incl. overdue, payments | — | ✓ | |
list_invoices | Filter by customer, status and due dates; cursor pages | — | ✓ | |
list_payments | Verified payments, with invoice or link and evidence | ✓ | ✓ | |
get_collection_summary | Collected (gross, fees, refunds, net) and outstanding or overdue, per currency | ✓ (collected only) | ✓ | |
prepare_invoice_reminder | Reminder draft and recipient, sent: false | — | ✓ | |
get_operation_status | Writes whose outcome is unknown or needs checking, plus what Whiteflow's records say about each | ✓ (local; lookup once PR #48 is live) | ✓ |
How writes behave (production review F2/F3):
- One operation identity. Each write sends an
Idempotency-Key, and the connector records it before sending. The server replays the same record for the same key and request, markedreplayed, and refuses the same key with a different request. - Unknown outcomes are resumed, not repeated. If there's no answer (a timeout, a 5xx, a malformed or oversized reply), retrying the same request resumes that operation with the same key for as long as the server keeps it: 24 hours, across restarts and key rotations for the same business. After that, the connector refuses to send it again and marks it
needs_reconciliation: check the record, then usecreate_another. - Repeats vs new sales. The same request repeated within 15 minutes of a success replays it. A deliberate second, identical record needs
create_another: true. - Replies are checked. Every reply is size-capped and schema-checked. A write's reply must match what was asked: amount, currency, text, reference, single-use, expiry, customer and totals, with URLs on a trusted origin. If it doesn't, the result is an error marked for reconciliation, never a success to share.
- Never authorization. A tool's annotations are hints for the client. What each key can do, and who may publish, is enforced on the server.
How it's built
MCP client ──stdio── src/index.ts → src/server.ts (14 tools, 4 prompts)
│ tools/* → context (profile, capability gate, journaled writes, redacting reply) ▼ src/client.ts (Bearer key, timeouts, retries with the same key, no redirects, size caps, zod schemas) ├── testnet: https:// /api/v1/… (apps/web: links, account, payments, reports, operations) └── sandbox: src/sandbox/backend.ts, the same HTTP contract served in-process ├── store.ts (JSON file, lock and atomic write, owner-only) ├── records.ts (customers, links, invoices + revisions, approvals, receivables, reports) └── provider.ts (signed provider events → processing → reconcile) ← cli.ts (a person)
The bundle is a thin client. Durable records, authorization, payment verification and audit belong to the backend. On testnet, payments are MerchantPay's on-chain records, read by the gateway. The sandbox stands in for the backend routes that don't exist yet, and API-CONTRACT.md is the contract it implements.
Security notes
- Stored text is data. Customer names, descriptions, memos and references are b
只显示了开头部分;其余内容请在仓库中阅读