Skip to main content
Hermes Agent speaks MCP natively, so there is nothing extra to install. The CLI is quicker, but either way you end up with an entry in ~/.hermes/config.yaml that holds your key.

Option A, CLI

Then add your x-api-key header to the new entry in ~/.hermes/config.yaml, as shown in Option B. Every request needs it, market data included. Verify it is configured:
Test the connection:

Option B, edit config.yaml

Open ~/.hermes/config.yaml and add the OpenFinance server under mcp_servers with your key. Please make an account at openfinance.tech to get your keys. The entry looks like this:
Hermes uses YAML, not JSON. Indentation matters, so use two spaces and avoid tabs.

Tool filtering (optional)

Hermes recommends a least-privilege approach. You can restrict which OpenFinance tools the agent sees with an include whitelist:
This is a good pattern when you only want the agent to read wallet, token and quote data. The hyperliquid and polymarket tools each combine reads and writes behind one tool, so a filter cannot make them read-only.

Reload

Run /reload-mcp inside Hermes, or restart the agent. OpenFinance tools will appear alongside Hermes’s built-in tools.