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 集成