Interactive Brokers MCP Server
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_dataC | Fetch historical price series from IBKR Gateway. |
| get_ibkr_positionsB | Fetch current IBKR positions and optionally account-level PnL. |
| get_ibkr_accountC | Fetch IBKR account summary metrics. |
| get_ibkr_contractC | Fetch contract details or option chain metadata from IBKR. |
| get_ibkr_option_pricesC | Snapshot bid/ask/greeks for multiple option strikes. |
| get_ibkr_snapshotC | 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 | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/henrysouchien/ibkr-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server