Skip to main content
Glama

Interactive Brokers MCP Server

by code-rabi
MIT License
  • Linux
  • Apple

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
IB_USERNAMENoYour Interactive Brokers username (required when IB_HEADLESS_MODE is true)
IB_HEADLESS_MODENoEnable headless mode for automated environments or when you prefer not to use a browser for authenticationfalse
IB_PASSWORD_AUTHNoYour Interactive Brokers password (required when IB_HEADLESS_MODE is true)

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
authenticate

Open Interactive Brokers authentication web interface

get_account_info

Get account information and balances

get_positions

Get current positions for an account

get_market_data

Get real-time market data for a symbol

place_order

Place a trading order

get_order_status

Get the status of a specific order

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/code-rabi/interactive-brokers-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server