
Sign and register statements on a Forestrie log
dev.forestrie由 forestrie.dev 發布v0.3.0更新於 Nov 3, 2026
Sign and register statements on a Forestrie log, verify receipts, buy grants via x402 within caps
發布方自己的服務:Register.gy
概覽
對宣告簽章並註冊到 Forestrie 透明日誌,驗證回執,並可在限額內透過 x402 購買授權。
- 可以做什麼
- 簽章並註冊宣告:以伺服器持有的日誌金鑰對酬載(內嵌 base64 或檔案路徑,最大 4 MiB)簽章並註冊到 Forestrie 日誌。
- 查詢與驗證:執行單次狀態檢查(pending、awaiting seal、sealed),封存後儲存回執,並依宣告驗證回執。
- 金鑰與封存:回傳日誌金鑰的公鑰部分,並為資料日誌授權營運方的封存器。
- 簽發與註冊授權:以授權金鑰簽發子資料日誌授權,再向 canopy 註冊,在限額內支付其 402 費用或轉交付款要求。
- 引導提示:register、audit 與 issue-and-pay 三個提示引導代理完成整個流程。
- 適用情境
- 當你需要在 Forestrie 透明日誌上留下可稽核的簽章紀錄,或身為請求方需要簽發並註冊子授權(可選擇支付營運方的 x402 費用)時使用。
- 執行需求
- 透過 npx 以 stdio 在本機執行,需要 Node.js。需要 canopy SCRAPI 基礎位址(FORESTRIE_BASE_URL)、森林根日誌 ID 與 Forestrie-Grant(FORESTRIE_GRANT);簽發授權另需 FORESTRIE_AUTHORITY_GRANT,封存需 FORESTRIE_COORDINATOR_URL 與 FORESTRIE_KNOWN_SEALER_KEY。金鑰檔案於首次使用時在 MCP_REGISTER_HOME 下建立。需要連線至 canopy 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Sign and register statements on a Forestrie log,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@forestrie/mcp-register
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-verifyverifies receipts offline.@forestrie/mcp-resolvefetches receipts and the material to verify them.- This package writes. It uses the other two as libraries.
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).
Status
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.
Tools
The prompts walk an agent through the work:
registercovers the key and the grant, sealing, registering, waiting, verifying and keeping the receipt.auditexplains which trust questions a receipt answers under which trust root.issue-and-paycovers buying a grant as the requester: sizing it, issuing it, paying within the caps or relaying the payment, and handing the completed grant to the performer.
Configuration
Every value can be overridden per call.
Choosing a payer
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.
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).
Example: a dedicated key file
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.
-
Create a private key in a file only you can read. Any wallet tool that exports a raw private key will do. With no extra tools:
The server accepts one line,
0xand 64 hex digits, in a regular file (not a symlink) that no other user can read. -
Find the account's address with a tool you already trust to derive one from a private key, or by importing the key into a wallet you use.
-
Fund the address with the asset canopy charges in. On the default network, Base Sepolia, that is testnet USDC, from Circle's faucet. The account needs no ETH: it only signs an authorisation, and the x402 facilitator submits the transfer and pays its gas.
-
Point the server at the file and set the caps:
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.
Payment settings
These are read from the environment only. No tool argument can set or raise them.
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.
Where grants come from
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.
Install
Layers
src/coreis browser-safe and works on bytes only.src/netis the only placefetchis called, always through an injectedfetchImpl.src/nodeholds the MCP SDK, stdio, the filesystem, the key files and the payer.
See AGENTS.md.
Licence
MIT.
來源:README.md,提交 c6f5745
工具
0版本歷史
4- v0.3.0最新Nov 3, 2026
- v0.2.1Oct 20, 2026
- v0.2.0Oct 19, 2026
- v0.1.1Oct 17, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Register 整合
Register.gy
gy.register官方發布者
一個遠端 MCP 伺服器,用來查詢、註冊與管理 .gy(蓋亞那)網域,並把 AI 打造的網站接上網域,支援預覽與復原。
ONRC trade register
com.foreverworks
跟蹤您在羅馬尼亞貿易登記處的申報,包括相關檔案、費用通知和發票。AI 翻譯

US Federal Register Watch MCP
由 GitHub 帳號 donniertf-hub 發布
遠端 MCP 伺服器,依關鍵字或機關檢索美國聯邦公報中新的法規、擬議規則與公告,並列出開放徵詢意見的截止日期。

UK Visa Sponsor Register MCP
由 GitHub 帳號 donniertf-hub 發布
查詢英國 Home Office 持牌簽證擔保人登記冊:核實雇主、依城鎮或簽證類別列出擔保人,並追蹤名單變動。

Zovo Federal Register Digest
由 GitHub 帳號 theluckystrike 發布
Zovo Federal Register Digest 的託管 MCP 服務;無需登入;Streamable HTTP;2 個工具。