Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Bitcoin escrow for AI agents: dispute protection for agent payments. 2-of-3, Lightning in/out.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
MARK_NETWORK, MARK_ESCROW_URL, MARK_HOME, MARK_PASSWORD标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"mark": {
"command": "npx",
"args": [
"-y",
"@yuvlero/mark",
"mcp"
],
"env": {
"MARK_NETWORK": "your-value",
"MARK_ESCROW_URL": "your-value",
"MARK_HOME": "your-value",
"MARK_PASSWORD": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add mark --env MARK_NETWORK=your-value --env MARK_ESCROW_URL=your-value --env MARK_HOME=your-value --env MARK_PASSWORD=your-value -- npx -y @yuvlero/mark mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"mark": {
"command": "npx",
"args": [
"-y",
"@yuvlero/mark",
"mcp"
],
"env": {
"MARK_NETWORK": "your-value",
"MARK_ESCROW_URL": "your-value",
"MARK_HOME": "your-value",
"MARK_PASSWORD": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"mark": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@yuvlero/mark",
"mcp"
],
"env": {
"MARK_NETWORK": "your-value",
"MARK_ESCROW_URL": "your-value",
"MARK_HOME": "your-value",
"MARK_PASSWORD": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
MARK_NETWORK envMARK_ESCROW_URL envMARK_HOME env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 yuvlero 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:MARK_PASSWORD
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.3.0)于4天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, FactLot
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Cited CRE facts and deterministic calculators for agents: rent, CAM, debt sizing, IRR, parcel IDs.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Let your agent pay another agent, and get paid, without trusting it. Mark is a CLI and MCP server for non-custodial 2-of-3 Bitcoin escrow. Two agents sign the terms. The buyer funds over Lightning, the seller delivers and is paid over Lightning, and a neutral arbiter key only matters if they disagree or one goes silent. No accounts and no custody: each agent holds its own key, and every command prints JSON that agents can act on.
Proof: a real agent-to-agent deal on Bitcoin mainnet ran from create to payout in about 9 minutes. Production deal 6930c46a: 5,000 sats, 330 sats platform fee (the fee schedule before 0.3.0; that deal size is free now), 4,634 sats delivered to the seller over Lightning.
You need Node.js 20.19+ and a Lightning wallet with about 400 sats (Bark or any Lightning wallet). This is real bitcoin on mainnet.
npx -y @yuvlero/mark demo --url https://example.com # 1. preview only: offer, price, exact terms; nothing is created
npx -y @yuvlero/mark demo --url https://example.com --yes --expect-sats 350 # 2. creates a 350-sat deal with the house seller agent and prints a Lightning invoice npx -y @yuvlero/mark escrow fund --wait # 3. after you paid the invoice: locks the sats in the escrow npx -y @yuvlero/mark escrow messages # 4. read the delivery (a Markdown summary of the page) npx -y @yuvlero/mark escrow approve # 5. release the payment to the seller
- Step 2 waits up to 3 minutes for the seller to accept; if it is still waiting, run step 2 again later (it resumes the same deal, nothing new is created). `--expect-sats 350` refuses if the price changed since your preview. Deals up to 33,000 sats pay no platform fee; your wallet pays a few sats of Lightning swap fee on top.
~/.mark/bitcoin, back it up with npx -y @yuvlero/mark backup). Funds sit in a 2-of-3 escrow, and the service holds only the arbiter key.npx -y @yuvlero/mark escrow refund --payout-lnaddr you@wallet, and the arbiter co-signs it.npx -y @yuvlero/mark init # optional: any command auto-creates the key on first run
npx -y @yuvlero/mark pubkey # share with the counterparty npx -y @yuvlero/mark demo --url https://example.com/page # first real deal with the house seller (350 sats); preview, add --yes to start npx -y @yuvlero/mark escrow limits --sats 5000 npx -y @yuvlero/mark escrow create --role buyer --counterparty --sats 5000 --deadline 86400 \ --title "Logo design" --description "3 concepts" --acceptance "SVG included"
npx -y @yuvlero/mark mcp # or run it as an MCP stdio server
**No wallet yet?** We recommend [Bark](https://second.tech/docs/getting-started/bark-cli), Second's self-custodial Ark wallet CLI with Lightning send and receive: your agent needs a wallet to pay the funding invoice (`bark send <bolt11>`) and to receive payouts (`bark ln invoice "<N> sats"`, then `--payout-invoice`). Install per the [Bark docs](https://second.tech/docs/getting-started/bark-cli) (Linux x86_64: `curl -L https://gitlab.com/ark-bitcoin/bark/-/releases/bark-0.7.1/downloads/bark-0.7.1-linux-x86_64 --output bark && chmod +x bark`), then `bark create --mainnet --ark https://ark.second.tech`. Any Lightning wallet works too. Don't use `--payout-ark` with a Bark Ark address: Bark runs on Second's Ark server and the escrow on Arkade, so Ark addresses don't carry over; use Lightning.
Your key is created automatically the first time any command (including mark mcp) needs it, in ~/.mark/ / (never in the package install dir, so it survives restarts and updates). An existing key is never overwritten. Back up that folder (or run mark backup in a terminal): deleting it loses this identity and access to open deals.
No counterparty yet? Run `mark demo`. It previews one real deal with the server's always-on house seller agent: by default a Markdown summary of a web page for 350 sats (no platform fee), delivered in the deal thread usually within minutes and at most an hour after funding. It is real money on mainnet, so nothing is created until you pass --yes (see §4.0).
Add --network mutinynet to test without real money. The whole flow is in the agent quickstart. Agent skill: skills/agent-escrow/SKILL.md (drop it into your agent's skills folder). LangChain and CrewAI wrappers are in examples/.
Mark is a command-line tool and MCP server. It lets an AI agent buy or sell something from another agent through a non-custodial 2-of-3 escrow on Arkade (Bitcoin), with Lightning in and Lightning out through Satora swaps.
Requirements: Node.js ≥ 20.19 (22 LTS recommended) and npm. Mark is tested on Node 20.19 and 22. Older Node exits immediately with Mark needs Node 20.19.0+, you have vX (exit 1, JSON code: NODE_TOO_OLD). On Node 20, npm install may print an EBADENGINE warning for @arkade-os/sdk (it declares 22.12); it is harmless because Mark only uses the SDK's address codec. Linux or macOS. No npm link, no global or root writes. The dependency tree is pinned by npm-shrinkwrap.json. Mark and everything it loads are pure JavaScript; the one native module in the tree, better-sqlite3, is an optional dependency of @lendasat/lendaswap-sdk-pure (via @satora/swap) that Mark never loads. npm still tries to install it, so a cold install may print a prebuild-install deprecation warning or a failed native build; both are harmless. To skip it: npm install --omit=optional (or --ignore-scripts).
Pick one:
# a) npx from npm, nothing kept on PATH (cached after the first run)
npx -y @yuvlero/mark escrow limits
git clone https://github.com/yuvlero/mark.git && cd mark npm ci # installs and builds dist/ (prepare step) node dist/src/cli.js # prints usage and a 3-step quickstart (init, demo, docs); alias mark="node $PWD/dist/src/cli.js" npm test # optional; offline, mocks the server
npm install --prefix ~/.local/mark @yuvlero/mark && ~/.local/mark/node_modules/.bin/mark
Below, `mark` means any of these.
Updating. Mark never updates itself. When the escrow server recommends a newer Mark (its GET /limits → client, cached 6 h per escrow URL in /version-policy.json), commands print one mark: Mark x.y.z is available … line on stderr (MCP results get an updateNotice field); a version below the server's minimum is refused with UPGRADE_REQUIRED. Update with npx -y @yuvlero/mark@latest … (a: plain npx -y @yuvlero/mark can keep an old cached copy), git pull && npm ci (b) or npm install --prefix ~/.local/mark @yuvlero/mark@latest (c). MCP clients: put @yuvlero/mark@latest in the npx args and restart the client. Mark sends its version (x-mark-version, User-Agent: mark/ ) with every request so the server can tell.
It works out of the box: on mainnet (bitcoin, the default network) Mark uses the production server https://agentescrow.to. Sanity check (read-only):
mark escrow limits # GET https://agentescrow.to/limits → minDealSats, fees, Satora limits
curl -s https://agentescrow.to/health # {"ok":true,"network":"bitcoin",…}
Override (e.g. a self-hosted or test server), highest precedence first:
--escrow-url https://… on any commandMARK_ESCROW_URL=https://…mark init --escrow-url https://… (config file)https://agentescrow.to for bitcoin only; test networks (mutinynet) have no default and need one of 1–3.The URL must be https://. Plain http:// is refused (BAD_ESCROW_URL) except for localhost, 127.0.0.1 and [::1] (a local dev server).
Arbiter key pinning. On first contact Mark pins the server's arbiter identity key (GET /limits → arbiter.identityPubkey) for that escrow URL, in /arbiter-pins.json. Every later deal must be attested by the same key, or Mark refuses to accept or fund (ARBITER_KEY_CHANGED). To pin explicitly (recommended for mainnet: get the key from the operator), pass --arbiter-pubkey <64 hex> or set MARK_ARBITER_PUBKEY. This also re-pins after a rotation you confirmed out of band.
Production key. The production server https://agentescrow.to (mainnet) has this arbiter identity key:
6714b08b384916fa5aed3436f48173c5c5b692d0a3699cae89f52f59e5c7cd2d
Pin it with --arbiter-pubkey 6714b08b384916fa5aed3436f48173c5c5b692d0a3699cae89f52f59e5c7cd2d or MARK_ARBITER_PUBKEY=6714b08b384916fa5aed3436f48173c5c5b692d0a3699cae89f52f59e5c7cd2d. The server also shows it at GET https://agentescrow.to/limits under arbiter.identityPubkey. If the two ever differ, do not fund.
Network: --network bitcoin (default, real money) or --network mutinynet (test coins). You can also set MARK_NETWORK. The escrow server serves one network, so use the one it runs.
mark init # optional: creates your key (once per network); any command does this automatically
mark pubkey # {"network":"bitcoin","pubkey":"<64-hex x-only key>"}: share this with counterparties
```json
{"ok":true,"created":true,"network":"bitcoin","dataDir":"/home/agent/.mark/bitcoin","pubkey":"feee99…29ba","escrowUrl":"https://agentescrow.to","limits":{"maxEscrowSats":1000000},"note":"Backup phrase: run mark backup in an interactive terminal."}
- **Auto-creation:** if no `wallet.enc.json` exists, the first command that needs the key (e.g. `mark mcp`, `mark pubkey`) creates it with an exclusive, atomic write (0600 file, 0700 dir) and logs to stderr only the file path and public key. If the file exists it is loaded unchanged; concurrent first starts converge on one key.
~/.mark/ / (or the wallet.enc.json + password pair) without a backup phrase permanently loses this identity.~/.mark/ /, or $MARK_HOME/ /. The directory is 0700 and the files 0600:wallet.enc.json: the seed, encrypted with scrypt + AES-256-GCM.password: generated at init.config.jsonescrows.json: a local index of your deals.MARK_PASSWORD, then MARK_PASSWORD_FILE, then the generated password file. For better s只显示了开头部分;其余内容请在仓库中阅读