Hermes Plant — Agent Commerce Assurance
This server provides read-only discovery tools for exploring and onboarding to the Hermes Plant Agent Commerce Assurance platform before making paid API calls.
Capabilities:
Fetch the x402 Payment Manifest (
hermesplant_x402_manifest): Retrieve the live x402 manifest to discover the active network, USDC asset details, facilitator URL, payTo address, endpoint prices, and payment-policy metadata.Fetch the LLMs Catalog (
hermesplant_llms_catalog): Access the agent-readable/llms.txtcatalog covering all available deterministic finance, quant, safety, and payment-policy services.Fetch the API Catalog (
hermesplant_api_catalog): Retrieve the RFC 9727-style machine-readable API catalog including OpenAPI links, MCP metadata links, pricing metadata, and provider contact details.Fetch the Hosted MCP Server Card (
hermesplant_mcp_server_card): Get the hosted MCP server descriptor to discover the Streamable HTTP MCP endpoint, advertised capabilities, pricing policy, and integration metadata.List Hosted Tools (
hermesplant_list_hosted_tools): Introspect the hosted MCP endpoint to list all advertised tool names, descriptions, and input schemas before wiring up an x402-capable runtime.
⚠️ Note: All five tools are strictly read-only — none sign wallet messages, approve transactions, invoke paid endpoints, or spend USDC. They expose the discovery layer needed to prepare for interacting with Hermes Plant's paid services.
Demonstrates a finance-agent crew that uses Hermes Plant endpoints within the CrewAI framework.
Provides a shell-based example for making Hermes Plant API calls with the x402 payment handshake, useful for inspecting the payment flow.
Shows a LangChain Tool wrapper that enables Hermes Plant API calls in LangChain-based agents.
Provides a Python example using the x402 package to integrate with Hermes Plant's deterministic finance APIs.
Offers a TypeScript example using x402-fetch and the MCP SDK to call Hermes Plant endpoints programmatically.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Hermes Plant — Agent Commerce AssuranceCompute Black-Scholes price for AAPL call option with strike $150, 30 days to expiry."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Hermes Plant MCP Server
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.
Glama registry
This repo is arranged for Glama to build and inspect the MCP server without secrets or funded wallets:
glama.jsondeclares the GitHub maintainer.The root
Dockerfilestarts the stdio MCP server inmcp-server/.npm run smoke:mcplists all local MCP tools and fetches the live x402 manifest.GitHub Actions validates the MCP server, Docker image, TypeScript examples, shell examples, and Python syntax.
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.
Related MCP server: Funding-mcp
Start with an assurance workflow
Workflow | Use it for | Tracked entrypoint |
Action Safety | Preflight shell, Git, SQL, deploy, x402, and MCP actions; escalate high-risk work into review plus a signed receipt. | |
Spend Assurance | Check payment policy, wallet context, and evidence before an agent spends. | |
Investment Evidence | Run deterministic underwriting and return verifiable evidence in one paid call. |
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:
Endpoint | Use it for | Hosted path |
DealAnalyzer | DCF, IRR, XIRR, NPV | |
Waterfall | LP/GP private-equity distribution waterfalls | |
Options | Black-Scholes pricing + Greeks | |
Bond | Yield, duration, convexity | |
CashflowLens | Cash-flow projection + sensitivity | |
PortfolioGuard | Portfolio risk scoring | |
WalletGuard | Wallet AML + sanctions screening | |
EmailGuard | Email reputation + risk | |
DestructGuard | Block destructive AI-agent commands | |
MCP risk | Score MCP server risk before connecting | |
Evidence | Evidence bundle for paid calls | |
Payment policy | Inspect/score an x402 payment policy | |
ReviewQueue | Human-in-the-loop approval routing |
Agents discover endpoints through OpenAPI, llms.txt, the x402 manifest, the API catalog, MCP metadata, or agent skills. The workflow links above carry source-specific attribution so registry traffic can be evaluated against paid calls instead of impressions.
How an x402 call works
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 |
|<---------------------------|--------------------------->|Client makes an HTTP request.
Server replies with
402 Payment Requiredplus aPAYMENT-REQUIREDheader carrying the price, network, asset, recipient, and a server-issued nonce.Client parses the challenge, signs a USDC transfer authorization locally, and replays the request with a
PAYMENT-SIGNATUREheader.Server verifies the signature via the facilitator, runs the work, settles the payment on-chain, and returns
200 OKwith the result plus aPAYMENT-RESPONSEheader.
The full spec lives at github.com/x402-foundation/x402.
Discovery surfaces
These let any agent or human self-onboard without help:
hermesplant.com/llms.txt - agent-readable catalog
hermesplant.com/openapi.json - full OpenAPI 3.1
hermesplant.com/.well-known/x402 - x402 manifest with facilitator, network, asset, prices, and payTo metadata
hermesplant.com/.well-known/api-catalog - RFC 9727-style API catalog
hermesplant.com/.well-known/mcp/server-card.json - MCP server descriptor
hermesplant.com/mcp - Streamable HTTP MCP endpoint
MCP tools in this repo
The runnable stdio server exposes five read-only discovery tools:
Tool | Purpose |
| Fetch the live x402 manifest before paid calls. |
| Fetch the agent-readable |
| Fetch the machine-readable API catalog. |
| Fetch the hosted MCP server descriptor. |
| Introspect 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:
Runtime | Folder | Notes |
| Pure shell; useful for inspecting the 402 handshake | |
TypeScript | Uses | |
Python | Uses the | |
CrewAI | Finance-agent crew calling Hermes endpoints | |
LangChain | LangChain | |
MCP config | One-paste config for Claude Desktop / Cline / Cursor | |
MCP server | Runnable stdio MCP bridge for discovery, server-card inspection, and hosted-tool listing |
Run the MCP server locally
npm install
npm run smoke:mcp
npm startMCP server registry build
This repo includes a root glama.json and root Dockerfile for MCP registry crawlers:
docker build -t hermesplant-mcp-server .
docker run --rm -i hermesplant-mcp-serverThe container starts the stdio MCP bridge in mcp-server/, which exposes Hermes Plant discovery tools and hosted MCP metadata without requiring API keys.
Wallet setup
Every paid-call example assumes:
A funded wallet on Base mainnet with chain id
8453.A small USDC balance for paying per-call fees. Typical calls are about
$0.01to$0.50.An EOA private key from a standard EVM wallet such as MetaMask, Coinbase Smart Wallet, Privy, or Dynamic. Examples read it from
WALLET_PRIVATE_KEY.
For testing without real funds, point your client at Base Sepolia (84532) and use the testnet x402 facilitator at https://x402.org/facilitator. Hermes Plant supports both; its /.well-known/x402 manifest declares the active network.
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.
Maintenance
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/JesseGdotIO/hermesplant-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server