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 分