RevRule by Payload

io.github.payload-tools由 GitHub 帳號 payload-tools 發布v1.1.0更新於 Oct 25, 2026

RevRule by Payload: read entitlement graphs, review payout evidence, dry-run revenue events.

發布方自己的服務:Video Transcript

已驗證STDIO僅桌面金融資料與分析

概覽

AI 產生的概覽

一個本機 MCP 伺服器,讓助理讀取 RevRule 收入權益圖、檢視付款憑證,並在 Payload 軌道上試跑收入事件。

可以做什麼
依 ID 取得 RevRule 收入權益圖,包含參與方、規則與帳本串接(唯讀)。列出某張圖的付款憑證,含已驗證付款及其對應的權益帳本項目與結算資料(唯讀)。對某張圖的規則試跑收入事件,查看規則會產生什麼結果,且沒有任何副作用。
適用情境
當你使用 Payload RevRule 的收入分潤設定,並希望助理檢查權益圖、核對付款憑證,或在提交前測試規則會如何處理某個收入事件時適用。
執行需求
以 Node.js 程序透過 stdio 在本機執行,可從 MCPB 套件安裝或從原始碼執行。需要在 PAYLOAD_RAIL_API_KEY 環境變數中提供你自己的 Payload 軌道 API 金鑰,免費自助金鑰即可用於評估。需要連線至 Payload 軌道的網路,可用 PAYLOAD_RAIL_URL 覆寫位址。
安裝前請注意
需要你自己的 Payload 軌道 API 金鑰,該金鑰會以 Bearer Authorization 標頭送往軌道服務;未設定金鑰時所有工具呼叫都會失敗。伺服器僅支援讀取與試跑,不會提交付款,但圖與付款資料來自第三方軌道服務。正式使用據說明需要付費授權。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 RevRule by Payload,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

RevRule by Payload — MCP Server

An MCP server (stdio transport, Node.js standard library only, zero dependencies) that exposes RevRule, Payload's revenue-entitlement engine, to AI agents.

RevRule turns revenue sharing into declarative entitlement rules on the Payload rail: define who gets paid what, and every payout carries evidence linked back to the original entitlement ledger entry and its on-chain settlement. This server is a read + dry-run surface: there are deliberately no write/submit tools in v1. Every call goes to the live Payload rail (https://payload-rail.fly.dev) authenticated with your own rail API key (a free self-serve key from the console is enough to evaluate).

Tools

ToolUpstream routeWhat it does
revrule_get_graphGET /v1/graphs/{graph_id}Fetch one of your RevRule revenue entitlement graphs by id: its participants, rules, and ledger wiring. Read-only.
revrule_list_payout_evidenceGET /v1/graphs/{graph_id}/payout-evidenceList payout evidence recorded for a graph: verified payouts linked back to the original entitlement ledger entries (transaction hash, log index, block data, authorizing signature). Read-only.
revrule_simulate_eventPOST /v1/graphs/{graph_id}/simulateDry-run a revenue event against a graph's rules and see what the rules would produce, with zero side effects: nothing is recorded, no payout is prepared or submitted. The tool wraps the supplied event as {event: ...} for the production rail; simulation has no side effects.

Install

Verified MCPB release

Install the revrule v1.1.0 MCPB bundle in an MCPB-compatible client, or run from source below. The published bundle declares the supported MCP tools. This direct release is the verified installation path while third-party directory listings are revalidated.

From source

bash
git clone https://github.com/Payloadhq/revrule-mcpcd revrule-mcpnode mcp/index.js

Or run it straight from GitHub with npx:

bash
npx -y github:Payloadhq/revrule-mcp

MCP client configuration (stdio):

json
{  "mcpServers": {    "revrule": {      "command": "node",      "args": ["/path/to/revrule-mcp/mcp/index.js"],      "env": {        "PAYLOAD_RAIL_API_KEY": "your-rail-api-key"      }    }  }}

Configuration

VariableRequiredDefaultPurpose
PAYLOAD_RAIL_API_KEYRequired for tool calls—Your own Payload rail API key. A free self-serve key from the console works for evaluation; the paid license covers production use. Sent to the rail only as a Bearer Authorization header.
PAYLOAD_RAIL_URLOptionalhttps://payload-rail.fly.devPayload rail base URL.

Fail-closed: with no API key configured, the server still starts and lists its tools, and every tool call returns a clear API key not configured error. The key never leaves your machine except as the Authorization header to the rail.

Free evaluation and the paid license

Free. You can evaluate RevRule end to end without paying:

  • The RevRule sandbox runs the actual engine in your browser: define a graph, fire events, and inspect the entitlement ledger.
  • The RevRule console issues a free self-serve Payload rail API key. With that key, this server's reads (revrule_get_graph, revrule_list_payout_evidence) and the zero-side-effect dry run (revrule_simulate_event) work against your own graphs. A paid entitlement is not required to evaluate.

Paid. The RevRule license is $99 one-time. It is the production product: run your real revenue graphs on the rail with the entitlement ledger and payout evidence as your system of record, instead of evaluating in the sandbox.

RevRule computes who is owed what and records the evidence. It does not execute payments and it never holds funds; your own systems and payment partners move the money.

License

MIT — see LICENSE.


RevRule is a product of Payload, separate from Veyline (Payload's authorization layer) and from callx402 by Payload, the MCP client layer for x402-priced actions.

來源:README.md,提交 3f7a06e

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

3
  1. v1.1.0最新Oct 16, 2026
  2. v1.0.1Oct 16, 2026
  3. v1.0.0Oct 13, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Payload 整合