ibkr-mcp

MCPReference

by Kris-Wang05

Indexed by Glama. No runnable package is published via Glama's API — open the repository for install instructions.

mcplocal-only

MCP configuration

stdio

Environment

  • IBKR_PORT

    TWS/IB Gateway API port. Default for paper TWS is '7497'.

  • IBKR_BACKEND

    Backend to use: 'mock' (default, offline simulator) or 'ib' (live via ib_async).

  • IBKR_ACCOUNT_ID

    IBKR account ID (e.g., DU123456). Required for live trading.

  • IBKR_MAX_ORDER_QTY

    Maximum quantity per order. Default: no limit.

  • IBKR_TRADING_ENABLED

    Set to 'true' to enable order placement. Defaults to 'false' (read-only).

  • IBKR_MAX_DAILY_ORDERS

    Maximum number of orders per day. Default: no limit.

  • IBKR_SYMBOL_WHITELIST

    Comma-separated list of allowed symbols. If empty, all symbols allowed.

  • IBKR_MAX_ORDER_NOTIONAL

    Maximum notional value per order. Default: no limit.

  • IBKR_MAX_POSITION_NOTIONAL

    Maximum notional value for resulting position. Default: no limit.

  • IBKR_SHORT_SELLING_ENABLED

    Set to 'true' to allow short selling. Default: 'false'.

Install in one click with Zurek

Browse here, install from the native macOS app — pick targets, fill env vars, and write configs safely.