Skip to main content
Glama
patrickpxp

ibkr-mcp-server

by patrickpxp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TZNoTimezone for the serverEurope/Madrid
MCP_PORTNoPort for the MCP HTTP server8000
IBKR_HOSTNoHostname of the TWS/IB Gateway (default: host.docker.internal)host.docker.internal
IBKR_PORTNoPort of the TWS/IB Gateway (live: 7496, paper: 7497)7496
IBKR_ACCOUNTNoIBKR account ID (optional)
MCP_BIND_HOSTNoBind address for the MCP HTTP server0.0.0.0
IBKR_CLIENT_IDNoUnique client ID for this server instance100
IBKR_FLEX_TOKENNoFlex Web Service token for reporting
MCP_JSON_RESPONSENoSet false for streamable HTTP/session behaviortrue
IBKR_FLEX_QUERY_IDNoFlex query ID for reporting
MCP_STATELESS_HTTPNoSet false for streamable HTTP/session behaviortrue
IBKR_ENABLE_TRADINGNoSet true to enable trading tools (default: false)false
IBKR_TIMEOUT_SECONDSNoTimeout for IBKR API calls in seconds10

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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