Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| IBKR_TIMEOUT | No | Connection timeout (seconds) | 10 |
| IBKR_READONLY | No | Read-only mode | false |
| IBKR_CACHE_DIR | No | Optional cache directory override | |
| IBKR_CLIENT_ID | No | API client ID | 1 |
| IBKR_GATEWAY_HOST | No | Gateway hostname | 127.0.0.1 |
| IBKR_GATEWAY_PORT | No | Gateway port | 7496 |
| IBKR_AUTHORIZED_ACCOUNTS | No | Comma-separated account whitelist |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_ibkr_market_data | Fetch historical price series from IBKR Gateway. |
| get_ibkr_positions | Fetch current IBKR positions and optionally account-level PnL. |
| get_ibkr_account | Fetch IBKR account summary metrics. |
| get_ibkr_contract | Fetch contract details or option chain metadata from IBKR. |
| get_ibkr_option_prices | Snapshot bid/ask/greeks for multiple option strikes. |
| get_ibkr_snapshot | Snapshot latest price for any security. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |