Skip to main content
Glama
ettore-pedemonti

IBKR MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
IB_HOSTNoIB Gateway / TWS host127.0.0.1
IB_PORTNoAPI port (4002 = Gateway paper)4002
IB_CLIENT_IDNoClient ID used by the server10
IBKR_MARKET_DATA_TYPENoIB market data type (1 live, 2 frozen, 3 delayed, 4 delayed-frozen)3
IBKR_MAX_ORDER_NOTIONALNoMax order notional in precheck_order5000.0
IBKR_MAX_CONCENTRATION_PCTNoConcentration warning threshold (fraction of net liquidation)0.20
IBKR_MAX_PRICE_DISTANCE_PCTNoMax limit-price distance from reference (fraction) in precheck_order0.10
IBKR_ORDER_PRICE_TOLERANCE_PCTNoMax limit-price deviation (in %) enforced by the place_order price gate2.0

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

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