Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Sign and register statements on a Forestrie log, verify receipts, buy grants via x402 within caps
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
FORESTRIE_BASE_URL, FORESTRIE_ROOT_LOG_ID, FORESTRIE_GRANT, FORESTRIE_AUTHORITY_GRANT, FORESTRIE_COORDINATOR_URL, FORESTRIE_KNOWN_SEALER_KEY, MCP_REGISTER_HOME, MCP_REGISTER_KEY_FILE, MCP_REGISTER_AUTHORITY_KEY_FILE, MCP_REGISTER_PAYER_KEY_FILE, MCP_REGISTER_PAY_MAX_PER_CALL, MCP_REGISTER_PAY_MAX_PER_DAY, MCP_REGISTER_PAY_NETWORK, MCP_REGISTER_PAY_ASSET, MCP_REGISTER_PAY_TO, MCP_REGISTER_PAY_ALLOW_MAINNET标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"register": {
"command": "npx",
"args": [
"-y",
"@forestrie/mcp-register"
],
"env": {
"FORESTRIE_BASE_URL": "your-value",
"FORESTRIE_ROOT_LOG_ID": "your-value",
"FORESTRIE_GRANT": "your-value",
"FORESTRIE_AUTHORITY_GRANT": "your-value",
"FORESTRIE_COORDINATOR_URL": "your-value",
"FORESTRIE_KNOWN_SEALER_KEY": "your-value",
"MCP_REGISTER_HOME": "your-value",
"MCP_REGISTER_KEY_FILE": "your-value",
"MCP_REGISTER_AUTHORITY_KEY_FILE": "your-value",
"MCP_REGISTER_PAYER_KEY_FILE": "your-value",
"MCP_REGISTER_PAY_MAX_PER_CALL": "your-value",
"MCP_REGISTER_PAY_MAX_PER_DAY": "your-value",
"MCP_REGISTER_PAY_NETWORK": "your-value",
"MCP_REGISTER_PAY_ASSET": "your-value",
"MCP_REGISTER_PAY_TO": "your-value",
"MCP_REGISTER_PAY_ALLOW_MAINNET": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add register --env FORESTRIE_BASE_URL=your-value --env FORESTRIE_ROOT_LOG_ID=your-value --env FORESTRIE_GRANT=your-value --env FORESTRIE_AUTHORITY_GRANT=your-value --env FORESTRIE_COORDINATOR_URL=your-value --env FORESTRIE_KNOWN_SEALER_KEY=your-value --env MCP_REGISTER_HOME=your-value --env MCP_REGISTER_KEY_FILE=your-value --env MCP_REGISTER_AUTHORITY_KEY_FILE=your-value --env MCP_REGISTER_PAYER_KEY_FILE=your-value --env MCP_REGISTER_PAY_MAX_PER_CALL=your-value --env MCP_REGISTER_PAY_MAX_PER_DAY=your-value --env MCP_REGISTER_PAY_NETWORK=your-value --env MCP_REGISTER_PAY_ASSET=your-value --env MCP_REGISTER_PAY_TO=your-value --env MCP_REGISTER_PAY_ALLOW_MAINNET=your-value -- npx -y @forestrie/mcp-register运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"register": {
"command": "npx",
"args": [
"-y",
"@forestrie/mcp-register"
],
"env": {
"FORESTRIE_BASE_URL": "your-value",
"FORESTRIE_ROOT_LOG_ID": "your-value",
"FORESTRIE_GRANT": "your-value",
"FORESTRIE_AUTHORITY_GRANT": "your-value",
"FORESTRIE_COORDINATOR_URL": "your-value",
"FORESTRIE_KNOWN_SEALER_KEY": "your-value",
"MCP_REGISTER_HOME": "your-value",
"MCP_REGISTER_KEY_FILE": "your-value",
"MCP_REGISTER_AUTHORITY_KEY_FILE": "your-value",
"MCP_REGISTER_PAYER_KEY_FILE": "your-value",
"MCP_REGISTER_PAY_MAX_PER_CALL": "your-value",
"MCP_REGISTER_PAY_MAX_PER_DAY": "your-value",
"MCP_REGISTER_PAY_NETWORK": "your-value",
"MCP_REGISTER_PAY_ASSET": "your-value",
"MCP_REGISTER_PAY_TO": "your-value",
"MCP_REGISTER_PAY_ALLOW_MAINNET": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"register": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@forestrie/mcp-register"
],
"env": {
"FORESTRIE_BASE_URL": "your-value",
"FORESTRIE_ROOT_LOG_ID": "your-value",
"FORESTRIE_GRANT": "your-value",
"FORESTRIE_AUTHORITY_GRANT": "your-value",
"FORESTRIE_COORDINATOR_URL": "your-value",
"FORESTRIE_KNOWN_SEALER_KEY": "your-value",
"MCP_REGISTER_HOME": "your-value",
"MCP_REGISTER_KEY_FILE": "your-value",
"MCP_REGISTER_AUTHORITY_KEY_FILE": "your-value",
"MCP_REGISTER_PAYER_KEY_FILE": "your-value",
"MCP_REGISTER_PAY_MAX_PER_CALL": "your-value",
"MCP_REGISTER_PAY_MAX_PER_DAY": "your-value",
"MCP_REGISTER_PAY_NETWORK": "your-value",
"MCP_REGISTER_PAY_ASSET": "your-value",
"MCP_REGISTER_PAY_TO": "your-value",
"MCP_REGISTER_PAY_ALLOW_MAINNET": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
FORESTRIE_BASE_URL envFORESTRIE_ROOT_LOG_ID envFORESTRIE_COORDINATOR_URL envFORESTRIE_KNOWN_SEALER_KEY envMCP_REGISTER_HOME envMCP_REGISTER_KEY_FILE envMCP_REGISTER_AUTHORITY_KEY_FILE envMCP_REGISTER_PAYER_KEY_FILE envMCP_REGISTER_PAY_MAX_PER_CALL envMCP_REGISTER_PAY_MAX_PER_DAY envMCP_REGISTER_PAY_NETWORK envMCP_REGISTER_PAY_ASSET envMCP_REGISTER_PAY_TO envMCP_REGISTER_PAY_ALLOW_MAINNET env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过域名 forestrie.dev 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:FORESTRIE_GRANT, FORESTRIE_AUTHORITY_GRANT
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.3.0)于4天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Apify MCP Server
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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.
Extract data from any website with thousands of scrapers, crawlers, and automations on Apify Store ⚡
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
An MCP server that signs a statement and registers it on a Forestrie transparency log under a Forestrie-Grant, then waits for the seal and verifies the receipt. It can also buy the grant: as the requester, it signs a child grant under your own authority log and registers it with canopy, paying canopy's x402 charge within hard caps. It is the write path of the Forestrie MCP trio:
@forestrie/mcp-verify verifies receipts offline.@forestrie/mcp-resolve fetches receipts and the material to verify them.The statement is signed with a log key the server holds. The default backend for that key is an ES256 key file the server creates. Child grants are signed with a separate authority key, held the same way. The model never handles signature bytes: you pass the payload and the server signs it. No tool takes a signature or a key as input.
Paying is optional, and the payer is yours. The server never creates a payer key and holds no funds of its own: you choose how payment happens (see Choosing a payer). Whichever you choose, a payer key never crosses the MCP boundary, and the spending caps are configuration, not tool arguments. With no payer configured, the server spends nothing: it returns canopy's payment requirements, and you pay from your own x402 wallet (relay mode).
Version 0.1.1 on npm, published with provenance from publish.yml. 0.1.0 was published by hand and has no provenance attestation; use 0.1.1 or later.
| Tool | What it does |
|---|---|
get_log_key | Returns the log key's public half (x‖y). Your grant must name this key. The key is created on first use. |
delegate_sealing | Authorises the operator's sealer for your data log. Runs canopy's prepare with the same grant first if the coordinator does not know the log's public root yet. Once per log. |
register_statement | Signs a payload (inline base64 or a file path, up to 4 MiB, with an explicit content type) and registers it. |
check_registration | Does one status check: pending, awaiting_seal or sealed. Once sealed, it saves the receipt. |
verify_registration | Verifies the receipt over the statement with mcp-verify's verifier and returns its four answers unaltered. |
issue_grant | As the requester, signs a child data-log grant with the authority key, naming a log key (by default this server's), sized with maxHeight. Sends nothing. |
register_grant | Registers the child grant with canopy, pays its 402 within the caps or relays the requirements, and follows it to its receipt. Resumable by child log id; never pays twice. |
The prompts walk an agent through the work:
Every value can be overridden per call.
| Variable | Meaning |
|---|---|
FORESTRIE_BASE_URL | the canopy SCRAPI base URL |
FORESTRIE_ROOT_LOG_ID | the forest's root log id (R in /register/{R}/entries) |
FORESTRIE_GRANT | your Forestrie-Grant, as base64 or a file path |
FORESTRIE_COORDINATOR_URL | the delegation coordinator, for delegate_sealing |
FORESTRIE_KNOWN_SEALER_KEY | the registrar's voucher key, base64 x‖y, for delegate_sealing |
FORESTRIE_AUTHORITY_GRANT | your authority log's grant, for issue_grant and register_grant |
MCP_REGISTER_HOME | key files, grants, registrations and the spend ledger, default ~/.config/forestrie/mcp-register |
MCP_REGISTER_KEY_FILE | the log key file, default $MCP_REGISTER_HOME/log-key.jwk |
MCP_REGISTER_AUTHORITY_KEY_FILE | the authority key file, default $MCP_REGISTER_HOME/authority-key.jwk |
Whoever wants the work done pays for it: the requester, paying canopy directly. The server supports three ways to do that and prefers none of them.
| Setup | What you configure | Who holds the key |
|---|---|---|
| Relay | nothing | your own x402 wallet: register_grant returns canopy's payment requirements and resumes on a call that carries your X-PAYMENT |
| Key file | MCP_REGISTER_PAYER_KEY_FILE and the caps below | a file on the machine that runs the server |
| Your own backend | createServer({ payer }) from @forestrie/mcp-register/server, when you embed the server | whatever your PayerBackend uses: a hosted wallet, a KMS, a remote signer |
A backend of your own must sign an EIP-3009 authorisation with the nonce it is given. That nonce is what stops one grant being paid for twice (see Payment settings).
This is one way to set up the key-file payer, not the way. Any EVM account works; what matters is that it pays for this and nothing else.
( umask 077; printf '0x%s\n' "$(openssl rand -hex 32)" > payer.key )
The server accepts one line, 0x and 64 hex digits, in a regular file (not a symlink) that no other user can read.
MCP_REGISTER_PAYER_KEY_FILE=/path/to/payer.key
MCP_REGISTER_PAY_MAX_PER_CALL=100000 # $0.10 MCP_REGISTER_PAY_MAX_PER_DAY=1000000 # $1.00
Keep one account per requester. Payments settle on chain, so anyone can link a payer address to the grants it paid for. To rotate the key, create a new one, move what is left to it, and point MCP_REGISTER_PAYER_KEY_FILE at the new file.
These are read from the environment only. No tool argument can set or raise them.
| Variable | Meaning |
|---|---|
MCP_REGISTER_PAYER_KEY_FILE | an EVM private key (0x + 64 hex, mode 600) that pays; unset means relay mode |
MCP_REGISTER_PAY_MAX_PER_CALL | the most one payment may be, in the asset's atomic units (required with a payer) |
MCP_REGISTER_PAY_MAX_PER_DAY | the most all payments in one UTC day may total (required with a payer) |
MCP_REGISTER_PAY_NETWORK | the one network it pays on, default eip155:84532 (Base Sepolia) |
MCP_REGISTER_PAY_ASSET | the one asset it pays in, default USDC on Base Sepolia |
MCP_REGISTER_PAY_TO | optional: the only payee |
MCP_REGISTER_PAY_ALLOW_MAINNET | 1 to pay on a network that is not a testnet; off by default |
The server pays only the canopy named in FORESTRIE_BASE_URL, and only for the request it made. Every payment it signs for a grant uses a nonce derived from that grant, so the token contract can settle at most one of them: a retry or two overlapping calls never pay for one grant twice. Each signed payment is written to the spend ledger before it is sent and counts toward the daily cap whether or not it settles. The daily cap is approximate when calls overlap. USDC has 6 decimals, so 10000 is $0.01.
Forestrie runs no grant issuer. Whoever owns the authority log above yours issues your grant, naming the key that get_log_key returns. Canopy sequences grants; it does not issue them.
That owner can be you. If the owner of the root above you creates an authority log for your authority key (get_log_key with which: "authority" returns it as a PEM for forestrie-cli's create-log --auth-log --signer-pem), issue_grant and register_grant let you issue and register your own child grants. If that authority log carries the child-payment-required flag, each registration is paid for over x402, straight to the transparency operator.
npx -y @forestrie/mcp-register
src/core is browser-safe and works on bytes only.src/net is the only place fetch is called, always through an injected fetchImpl.src/node holds the MCP SDK, stdio, the filesystem, the key files and the payer.See AGENTS.md.
MIT.