Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
HYPERLIQUID_TESTNET | No | Set to "true" for testnet, "false" or unset for mainnet | |
HYPERLIQUID_PRIVATE_KEY | No | Your wallet's private key (with 0x prefix) - required for trading operations | |
HYPERLIQUID_WALLET_ADDRESS | No | Your wallet address (derived from private key if not provided) |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
get_all_mids | Get current mid prices for all coins on Hyperliquid |
get_l2_book | Get L2 order book snapshot for a specific coin |
get_candle_snapshot | Get historical candle data for a specific coin |
get_open_orders | Get all open orders for the configured wallet or a specific user |
get_user_fills | Get trading history (fills) for the configured wallet or a specific user |
get_user_fills_by_time | Get trading history (fills) for a specific time range |
get_portfolio | Get portfolio information including positions, PnL, and margin usage |
place_order | Place a limit or trigger order on Hyperliquid |
place_trigger_order | Place a trigger order (stop-loss or take-profit) on Hyperliquid |
cancel_order | Cancel a specific order by order ID or client order ID |
cancel_all_orders | Cancel all open orders |