ibkr-mcp-server
by patrickpxp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| TZ | No | Timezone for the server | Europe/Madrid |
| MCP_PORT | No | Port for the MCP HTTP server | 8000 |
| IBKR_HOST | No | Hostname of the TWS/IB Gateway (default: host.docker.internal) | host.docker.internal |
| IBKR_PORT | No | Port of the TWS/IB Gateway (live: 7496, paper: 7497) | 7496 |
| IBKR_ACCOUNT | No | IBKR account ID (optional) | |
| MCP_BIND_HOST | No | Bind address for the MCP HTTP server | 0.0.0.0 |
| IBKR_CLIENT_ID | No | Unique client ID for this server instance | 100 |
| IBKR_FLEX_TOKEN | No | Flex Web Service token for reporting | |
| MCP_JSON_RESPONSE | No | Set false for streamable HTTP/session behavior | true |
| IBKR_FLEX_QUERY_ID | No | Flex query ID for reporting | |
| MCP_STATELESS_HTTP | No | Set false for streamable HTTP/session behavior | true |
| IBKR_ENABLE_TRADING | No | Set true to enable trading tools (default: false) | false |
| IBKR_TIMEOUT_SECONDS | No | Timeout for IBKR API calls in seconds | 10 |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
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/patrickpxp/ibkr-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server