Hermes Plant — Agent Commerce Assurance

io.github.JesseGdotIO由 GitHub 账号 JesseGdotIO 发布v2.0.2更新于 Oct 25, 2026

Preflight, approve, and prove consequential agent actions with signed evidence and x402 tools.

已验证Streamable HTTP可网页运行金融安全与监控商业与电商

概览

AI 生成的概览

Hermes Plant 让助手在执行高风险操作前做安全预检、检查 x402 支付策略,并按次购买确定性的金融与风险评分服务。

可以做什么
  • 对具有后果的命令或操作做安全评分,运行完整的 DestructGuard 流程并生成签名回执,将高风险情形转入审核队列
  • 检查 x402 支付策略、验证证据包,并为支付和工具调用生成或校验 HMAC 签名的存证记录
  • 基于调用方提供的数据评估 MCP 服务器清单风险、钱包风险背景和投资组合风险
  • 执行确定性金融计算:交易承销、现金流 NPV/IRR、LP/GP 分配瀑布、期权定价与希腊值、债券或贷款分析
  • 校验单个邮箱或最多 20 条联系人的质量与可达性
  • 浏览产品目录、读取结账政策,并发起 Stripe 结账或 x402 购买
适用场景
当智能体即将执行有后果的操作或花钱,且你希望先做低成本预检并留下可防篡改的证据时使用。也适合需要确定性金融或风险计算、而非模型估算的智能体。
运行要求
远程 Streamable HTTP 端点,无需本地运行时。可选的 X-API-Key 请求头提供每月 250 次调用的免费额度;否则付费工具会返回 x402 支付挑战,需要 Base 主网上有 USDC 和用于 gas 的 ETH 的钱包,并在本地签名支付。
安装前请注意
多数工具按次收费,从约一美分到两美元不等,以 USDC 链上结算。付费流程需要用钱包私钥签署支付授权,应让私钥远离智能体并设置消费上限。审核队列的分诊明确不等于人工批准,WalletGuard 不做链上查询或制裁筛查。结账与购买工具会产生真实订单。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Hermes Plant — Agent Commerce Assurance,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.JesseGdotIO%2Fhermes-plant/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "hermes-plant-agent-commerce-assurance": {
      "type": "http",
      "url": "https://mcp.hermesplant.com/mcp"
    }
  }
}

README

Hermes Plant MCP Server

[Glama score] [CI]

Runnable MCP server and integration examples for Hermes Plant, the Agent Commerce Assurance layer that lets AI agents preflight, approve, and prove consequential actions. Start with a one-cent action-safety check, route only high-risk actions into signed review evidence, and pay per call over x402.

What's here: a runnable stdio MCP bridge for registry crawlers and local clients, plus drop-in examples in curl, TypeScript, Python, CrewAI, LangChain, and MCP client configs for Claude Desktop / Cline / Cursor.

Review one workflow before launch

An agent receives approval for one action, its arguments change, and a retry after a timeout may execute it twice. What binds approval to the final action, prevents duplicates, and proves whether execution completed?

The sample findings memo walks through a synthetic example of these gaps, the available evidence, and a ranked fix plan. It is a demonstration, not a client result.

For technical founders and automation agencies with a working or near-launch agent, the $300 workflow review covers one workflow, a workflow map, ranked findings, and a practical fix plan. The three-hour cap includes calls, preparation, the memo, and one clarification round. We agree scope and timing in writing before billing. Implementation and production access require a separate agreement.

Install the Action Safety skill

Install the public, fail-closed Action Safety skill for Codex, Claude Code, Cursor, and other Agent Skills-compatible clients:

bash
npx [email protected] add JesseGdotIO/hermesplant-mcp-server --skill protect-agent-action

The skill calls the one-cent quick gate before an exact consequential action, binds the result to that unchanged action, and escalates high or critical risk only when the additional $0.25 is authorized. Review triage is never treated as human approval and the skill never expands the caller's permissions.

Source: skills/protect-agent-action · Install guide and trust boundary

Use the hosted MCP connector

For the complete production tool surface, use the canonical Hermes Plant — Agent Commerce Assurance connector on Glama. It exposes Action Safety, Spend Assurance, signed evidence, payment-policy checks, and the component x402 tools through the live Streamable HTTP endpoint.

This repository is the portable, no-secret discovery bridge. It lets registry crawlers and local clients inspect the live catalog and payment contracts without signing a wallet message or spending funds. The hosted connector is the buyer-facing path for invoking the production tools.

Glama registry

[Hermes Plant MCP Server Glama card]

This repo is arranged for Glama to build and inspect the MCP server without secrets or funded wallets:

  • glama.json declares the GitHub maintainer.
  • The root Dockerfile starts the stdio MCP server in mcp-server/.
  • npm run smoke:mcp lists all local MCP tools and fetches the live x402 manifest.
  • GitHub Actions validates the MCP server, Docker image, shell examples, and no-spend TypeScript/Python client contracts with their real dependencies.

A Glama release is still an account-side action, not a GitHub release. After claiming the server in Glama, use the Dockerfile admin page to deploy the build, wait for the build test to pass, then publish a Glama release version. That release unlocks Glama's Server Coherence and Tool Definition Quality scoring.

Complementary MCP servers

Hermes Plant governs consequential actions and payments; these independent servers cover adjacent layers of an agent stack:

  • SINT Protocol — capability authorization and policy enforcement before execution.
  • AgentPay MCP — non-custodial wallet execution with spend limits and approval queues.
  • Agent Security Scanner MCP — repository, package, prompt, and skill security scanning.

These links describe functional complementarity, not partnerships or endorsements.

Start with an assurance workflow

WorkflowUse it forTracked entrypoint
Action SafetyPreflight shell, Git, SQL, deploy, x402, and MCP actions; escalate high-risk work into review plus a signed receipt.Open workflow
Spend AssuranceCheck payment policy, wallet context, and evidence before an agent spends.Open workflow
Investment EvidenceRun deterministic underwriting and return verifiable evidence in one paid call.Open workflow

Use the free API key for up to 250 calls/month, the $29/month Agent API Pass for regular volume, or per-call USDC on Base. Public proof and machine-readable contracts are available at hermesplant.com/proof and hermesplant.com/openapi.json.

Component catalog

Nineteen hosted x402 endpoints remain available as composable utilities:

EndpointUse it forHosted path
DealAnalyzerDCF, IRR, XIRR, NPV/agent-services/dealanalyzer
WaterfallLP/GP private-equity distribution waterfalls/agent-services/waterfall
OptionsBlack-Scholes pricing + Greeks/agent-services/options
BondYield, duration, convexity/agent-services/bond
CashflowLensCash-flow projection + sensitivity/agent-services/cashflowlens
PortfolioGuardPortfolio risk scoring/agent-services/portfolioguard
WalletGuardWallet AML + sanctions screening/agent-services/walletguard
EmailGuardEmail reputation + risk/agent-services/emailguard
DestructGuardBlock destructive AI-agent commands/agent-services/destructguard
MCP riskScore MCP server risk before connecting/agent-services/mcp-risk
EvidenceEvidence bundle for paid calls/agent-services/evidence
Payment policyInspect/score an x402 payment policy/agent-services/payment-policy
ReviewQueueHuman-in-the-loop approval routing/agent-services/reviewqueue

Agents discover endpoints through OpenAPI, llms.txt, the x402 manifest, the API catalog, MCP metadata, or agent skills. The workflow links above identify this GitHub repository as their source; actual Glama placements use separate registry tags. Source tags are observational and do not establish buyer identity or a completed purchase.

How an x402 call works

text
Client                    Hermes Plant                 Facilitator  |                            |                            |  | POST /endpoint             |                            |  |--------------------------->|                            |  | 402 Payment Required       |                            |  | + PAYMENT-REQUIRED         |                            |  |<---------------------------|                            |  | sign payment locally       |                            |  | POST /endpoint             |                            |  | + PAYMENT-SIGNATURE        |                            |  |--------------------------->| verify signature           |  |                            |--------------------------->|  |                            | ok                         |  |                            |<---------------------------|  | 200 OK + result            | settle payment             |  |<---------------------------|--------------------------->|
  1. Client makes an HTTP request.
  2. Server replies with 402 Payment Required plus a PAYMENT-REQUIRED header carrying the price, network, asset, recipient, and timeout.
  3. Client parses the challenge, signs a USDC transfer authorization locally, and replays the request with a PAYMENT-SIGNATURE header.
  4. Server verifies the signature via the facilitator, runs the work, settles the payment on-chain, and returns 200 OK with the result plus a PAYMENT-RESPONSE header.

The full spec lives at github.com/x402-foundation/x402.

Discovery surfaces

These let any agent or human self-onboard without help:

MCP tools in this repo

The runnable stdio server exposes five read-only discovery tools:

ToolPurpose
hermesplant_x402_manifestFetch the live x402 manifest before paid calls.
hermesplant_llms_catalogFetch the agent-readable llms.txt catalog.
hermesplant_api_catalogFetch the machine-readable API catalog.
hermesplant_mcp_server_cardFetch the hosted MCP server descriptor.
hermesplant_list_hosted_toolsIntrospect the hosted Streamable HTTP MCP endpoint and list its advertised tools.

These local tools do not sign wallet messages, approve transactions, call paid endpoints, or spend USDC. They expose the discovery layer that clients need before invoking paid hosted tools.

Quickstart

Pick the runtime that matches your stack:

RuntimeFolderNotes
curl / Bashcurl/Pure shell; useful for inspecting the 402 handshake
TypeScripttypescript/Uses @x402/fetch + @modelcontextprotocol/sdk
Pythonpython/Uses the x402 package
CrewAIcrewai/Finance-agent crew calling Hermes endpoints
LangChainlangchain/LangChain Tool wrapping Hermes
MCP configmcp-config/One-paste config for Claude Desktop / Cline / Cursor
MCP servermcp-server/Runnable stdio MCP bridge for discovery, server-card inspection, and hosted-tool listing

Run the MCP server locally

bash
npm installnpm run smoke:mcpnpm start

MCP server registry build

This repo includes a root glama.json and root Dockerfile for MCP registry crawlers:

bash
docker build -t hermesplant-mcp-server .docker run --rm -i hermesplant-mcp-server

The container starts the stdio MCP bridge in mcp-server/, which exposes Hermes Plant discovery tools and hosted MCP metadata without requiring API keys.

Example source labels

The curl, TypeScript, Python, CrewAI, and LangChain CashflowLens examples send x-hermes-channel: github-mcp-repo, x-hermes-medium: repository, and x-hermes-campaign: first-workflow. x-hermes-content identifies the runtime. The paid clients pass these headers into the x402 request so the SDK retains them when retrying after a 402 challenge. Curl only inspects the unpaid challenge.

If you publish an example in another placement, replace these labels with that placement's source and campaign. Labels are caller-declared observations; they do not verify buyer identity, revenue, or an unaffiliated customer. Owner QA must also send x-hermes-probe: 1 so it is excluded from acquisition reporting.

Wallet setup

The guarded paid-call examples require:

  • A funded wallet on Base mainnet with chain id 8453.
  • Enough USDC for the selected endpoint and a small amount of ETH for gas.
  • EVM_PRIVATE_KEY plus the explicit opt-in HERMES_ALLOW_PAYMENT=1.

The included CashflowLens clients cap payment requirements at $0.20 USDC and register only Base mainnet. Leave the opt-in unset for imports and tests. Never commit a private key. These production examples do not claim testnet support; use an x402 test resource server for testnet integration work.

Status

These examples target the production deployment at hermesplant.com. Endpoint signatures may evolve, so cross-reference openapi.json and the /.well-known/x402 manifest before going to production.

Contributing

Issues and PRs welcome. New runtime? New framework? Open a PR with one working example and a tight README.

License

MIT - see LICENSE.

来源:README.md,提交 0ec180e

工具

25

freetier_status

Free-tier key status

Check a free API key's remaining monthly quota, reset date, and upgrade path. Pass your hp_free_ key as apiKey. No key yet? POST an email to https://hermesplant.com/api/keys/free (250 calls/mo, no wallet).

输入参数apiKey必填

list_products

List products

List active products from the Hermes Plant catalog

无需输入参数。

get_product

Get product

Get a single product by slug

输入参数slug必填

get_checkout_policies

Get checkout policies

Return legal policy URLs required before checkout

无需输入参数。

get_x402_manifest

Get x402 manifest

Return the live x402 manifest with paid endpoint prices, Bazaar metadata, and buyer policy checks

无需输入参数。

start_checkout

Start checkout

Start a Stripe checkout session for a product slug

输入参数slug必填

purchase_with_x402

Purchase with x402

Purchase a one-time product via x402 (returns 402 challenge or fulfillment JSON). Call get_x402_manifest first, verify method/path/network/amount/payTo, then sign and retry with PAYMENT-SIGNATURE.

输入参数slug必填emailpayerapiKeychannelcampaignxPaymentactorTypesyntheticpaymentSignaturepaymentIdentifier

action_safety_quick_gate

Action Safety - one-cent preflight

AI agent action safety quick gate ($0.01 over x402 or free-tier quota). Deterministically scores a consequential action and returns the exact next call: proceed, request full DestructGuard evidence, or run the complete Action Safety workflow.

输入参数cwdrepoactorpayerapiKeybranchintentchannelcommand必填campaigndiffStatxPayment另有 4 个

action_safety_run

Action Safety - complete workflow

Complete AI agent action safety workflow ($0.25 over x402 or free-tier quota): DestructGuard evidence, conditional ReviewQueue triage for high or critical risk, an honest decision, signed receipt, and 30-day status record. Triage does not imply human approval.

输入参数cwdrepoactorpayerapiKeybranchintentchannelcommand必填campaigndiffStatxPayment另有 4 个

submit_reviewqueue_request

ReviewQueue — submit for risk triage

Submit a command/action to the x402-paid ReviewQueue agent service. Call get_x402_manifest first, verify the ReviewQueue price and buyer policy, then retry the 402 challenge with an x402 payment signature.

输入参数repoactorpayerapiKeybranchreasonchannelcommand必填campaigndiffStatxPaymentactorType另有 3 个

score_destructguard_command

DestructGuard — score command risk

Score a command/action with the x402-paid DestructGuard service. Call get_x402_manifest first, verify the DestructGuard price and buyer policy, then retry the 402 challenge with an x402 payment signature.

输入参数cwdrepoactorpayerapiKeyintentchannelcommand必填campaigndiffStatxPaymentactorType另有 3 个

dealanalyzer_analyze

DealAnalyzer — full deal underwriting in one call

DealAnalyzer (x402-paid, $2.00): the flagship. Deterministic full deal underwrite in a single call — DCF valuation (EV, equity value, implied share price), fund returns (IRR/MOIC), and the LP/GP distribution waterfall, plus sensitivity. Combines what CashflowLens + WaterfallLens do, cross-checked.

输入参数dcf必填payerapiKeychannelreturnscampaignxPaymentactorTypesyntheticwaterfallpaymentSignaturepaymentIdentifier

cashflowlens_analyze

CashflowLens — DCF, IRR & cashflow returns

CashflowLens (x402-paid, $0.20): deterministic NPV, IRR, XIRR, DCF valuation, MOIC/DPI/TVPI, and payback period from a cashflow series. Use for valuation and return analysis instead of letting the model estimate.

输入参数dcfnavpayerapiKeychannelcampaignxPaymentactorTypecashflows必填syntheticdiscountRateperiodsPerYear另有 2 个

waterfall_distribute

WaterfallLens — LP/GP distribution waterfall

WaterfallLens (x402-paid, $0.30): deterministic LP/GP distribution waterfall (return of capital, preferred, GP catch-up, carried-interest split) with the exact split, per-tier breakdown, LP MOIC, and effective carry %.

输入参数payeryearsapiKeychannelcampaignxPaymentactorTypesyntheticcompoundingdistributable必填preferredRatecarryPercentage另有 5 个

options_price

OptionLens — Black-Scholes price & Greeks

OptionLens (x402-paid, $0.30): deterministic Black-Scholes price and full Greeks (delta, gamma, vega, theta, rho) for European calls/puts, with dividend yield, intrinsic/time value, and moneyness.

输入参数spot必填payerapiKeystrike必填channelcampaignxPaymentactorTypesyntheticoptionTypevolatility必填riskFreeRate另有 4 个

bond_analyze

BondLens — bond & loan analytics

BondLens (x402-paid, $0.25): deterministic fixed-income and loan analytics. Bond mode solves price<->yield-to-maturity, duration, and convexity; loan mode (send principal+annualRate+termMonths) returns an amortization schedule.

输入参数payerpriceyieldapiKeychannelperiodscampaignxPaymentactorTypefaceValuefrequencyprincipal另有 6 个

portfolioguard_score

PortfolioGuard — portfolio risk

PortfolioGuard (x402-paid, $0.15): deterministic portfolio risk scoring from holdings — volatility, Sharpe, max drawdown, concentration (HHI), diversification, plus per-rule findings.

输入参数payerapiKeychannelcampaignholdings必填xPaymentactorTypesyntheticriskFreeRateperiodReturnspaymentSignaturepaymentIdentifier

walletguard_score

WalletGuard — supplied wallet risk signals

WalletGuard (x402-paid, $0.10): analyzes caller-provided sanctions, exposures, labels, and funding context. Positive risk findings receive a score; no risk findings means unknown with a null score and review required. No chain lookup, independent sanctions screening, or compliance clearance.

输入参数payerapiKeylabelswallet必填channelcampaignxPaymentactorTypeexposuressynthetictransferssanctionsHits另有 3 个

emailguard_validate

EmailGuard — email validation

EmailGuard (x402-paid, $0.02): deterministic email/contact quality scorer — validity, deliverability score, disposable/role/free classification, typo suggestion. Pure function, no DNS.

输入参数nameemail必填payerapiKeydomainchannelcampaignxPaymentactorTypemxPresentsyntheticpaymentSignature另有 1 个

emailguard_validate_batch

EmailGuard — validate a whole contact list

Validate up to 20 emails in one tool call — one deterministic verdict per record (validity, deliverability score, disposable/role/free classification, typo suggestion, canonical normalization). Pass your free apiKey (250 records/mo, no wallet — https://hermesplant.com/pricing) and each record serves from quota. Results preserve input order; the batch stops at the first 402 (quota exhausted) and marks the rest skipped so you can upgrade and resume.

输入参数payerapiKeychannelrecords必填campaignxPaymentactorTypesyntheticpaymentSignaturepaymentIdentifier

mcp_risk_score

MCP Server Risk Analyzer

MCP Server Risk Analyzer (x402-paid, $0.05): score an MCP server manifest for security risk before install — destructive tools, over-broad scopes, weak auth, egress — with per-tool findings and fixes.

输入参数payertools必填apiKeyserverchannelcampaignxPaymentactorTypeauthModelsyntheticpriorToolspaymentSignature另有 1 个

payment_policy_decide

Payment Policy — preflight an x402 payment

Payment Policy Decision (x402-paid, $0.05): deterministic allow / deny / needs_review before your agent signs an x402 payment — checks resource binding, amount vs expected price, network, payTo, facilitator, replay readiness, PII leakage, and buyer spend limits, with evidence-backed findings. Loop it over every payment; pair with assurance_attest for a signed record.

输入参数tagsassetpayTopayerapiKeymethodschemechannelnetworkcampaignxPaymentactorType另有 9 个

evidence_verify

Evidence Verify — check a paid result's evidence bundle

Evidence Verification (x402-paid, $0.05): verify an agent-commerce evidence bundle before trusting a paid result — x402 challenge/receipt/policy-decision/service-response artifacts, endpoint and price binding, freshness, hashes, synthetic-proof leakage. Returns verified / needs_review / rejected / insufficient_evidence with per-rule evidence.

输入参数payerapiKeypolicychannelsubjectcampaignxPaymentactorTypeartifacts必填syntheticpaymentSignaturepaymentIdentifier

assurance_attest

Assurance Attest — signed receipt for an agent action

Assurance Attest (x402-paid, $0.05): bind one x402 payment intent or MCP tool call to a canonical HMAC-signed record (binding hash, policy verdict, findings, optional settlement outcome). Loop it after every payment or tool call to build a tamper-evident audit trail a third party can check at the free verify endpoint.

输入参数payerapiKeyintent必填policychanneloutcomesubject必填campaignprotocol必填xPaymentactorTypesynthetic另有 2 个

assurance_verify

Assurance Verify — check a signed record (free)

Verify a Hermes-signed assurance record for free: recomputes the canonical hash (hermes-stable-json-v1 + SHA-256) and HMAC signature server-side and reports recordHashValid / signatureValid. Use it to audit attestations produced by assurance_attest without trusting the agent that produced them.

输入参数record必填integrity必填

版本历史

1
  1. v2.0.2最新Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分