Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Hermes Plant Server

БесплатноНе проверен

Enables AI agents to call deterministic finance and quant APIs (e.g., DCF, Black-Scholes, bond pricing) with per-call payments over x402, no API keys required.

GitHubEmbed

Описание

Enables AI agents to call deterministic finance and quant APIs (e.g., DCF, Black-Scholes, bond pricing) with per-call payments over x402, no API keys required.

README

Glama score CI

Runnable MCP server and integration examples for Hermes Plant: deterministic finance and quant APIs that AI agents call and pay for per call over x402. No API keys, no shared secrets, no hallucinated math.

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

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, 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.

What is Hermes Plant?

A hosted catalog of deterministic finance + quant endpoints AI agents call and pay for per call:

Endpoint Use it for Hosted path
DealAnalyzer DCF, IRR, XIRR, NPV /agent-services/dealanalyzer
Waterfall LP/GP private-equity distribution waterfalls /agent-services/waterfall
Options Black-Scholes pricing + Greeks /agent-services/options
Bond Yield, duration, convexity /agent-services/bond
CashflowLens Cash-flow projection + sensitivity /agent-services/cashflowlens
PortfolioGuard Portfolio risk scoring /agent-services/portfolioguard
WalletGuard Wallet AML + sanctions screening /agent-services/walletguard
EmailGuard Email reputation + risk /agent-services/emailguard
DestructGuard Block destructive AI-agent commands /agent-services/destructguard
MCP risk Score MCP server risk before connecting /agent-services/mcp-risk
Evidence Evidence bundle for paid calls /agent-services/evidence
Payment policy Inspect/score an x402 payment policy /agent-services/payment-policy
ReviewQueue Human-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. Pricing is metered per call in USDC on Base mainnet.

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             |
  |<---------------------------|--------------------------->|
  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 a server-issued nonce.
  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:

Tool Purpose
hermesplant_x402_manifest Fetch the live x402 manifest before paid calls.
hermesplant_llms_catalog Fetch the agent-readable llms.txt catalog.
hermesplant_api_catalog Fetch the machine-readable API catalog.
hermesplant_mcp_server_card Fetch the hosted MCP server descriptor.
hermesplant_list_hosted_tools 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
curl / Bash curl/ Pure shell; useful for inspecting the 402 handshake
TypeScript typescript/ Uses @x402/fetch + @modelcontextprotocol/sdk
Python python/ Uses the x402 package
CrewAI crewai/ Finance-agent crew calling Hermes endpoints
LangChain langchain/ LangChain Tool wrapping Hermes
MCP config mcp-config/ One-paste config for Claude Desktop / Cline / Cursor
MCP server 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 start

MCP 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-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.

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.01 to $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.

from github.com/JesseGdotIO/hermesplant-mcp-server

Установка Hermes Plant Server

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/JesseGdotIO/hermesplant-mcp-server

FAQ

Hermes Plant Server MCP бесплатный?

Да, Hermes Plant Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Hermes Plant Server?

Нет, Hermes Plant Server работает без API-ключей и переменных окружения.

Hermes Plant Server — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить Hermes Plant Server в Claude Desktop, Claude Code или Cursor?

Открой Hermes Plant Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Hermes Plant Server with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории finance