Connect your tools
Create a personal API token, then choose your client. Agent H and other MCP clients use the same financial data and execution tools that the CLI exposes through HTTP.
Manage API tokensMCP
Add a remote Streamable HTTP server to your MCP client. Use your personal token as the Bearer credential.
URL: https://hedgelayer.ai/mcp Authorization: Bearer <your-token>Connection guide
CLI and HTTP
Use the CLI in your terminal or call the API from your own code.
hl auth login
hl tools
hl call search_markets --args '{"query":"bitcoin"}'CLI setupAgent H
Our supported terminal agent uses your Hedge Layer token for market tools and hosted inference. No separate model-provider key is needed.
npm install -g @hedge-layer/agent-hInstall Agent H