Skip to main content
Glama
IB MCP Server

IB MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GATEWAY_PORTNoPort exposed by the IB Client Portal Gateway container (default port used by the gateway is 5055). Override as needed in .env.5055
MCP_SERVER_HOSTNoHost the MCP server binds to (e.g. MCP_SERVER_HOST=0.0.0.0).0.0.0.0
MCP_SERVER_PATHNoPath for the MCP endpoint (e.g. MCP_SERVER_PATH=/mcp)./mcp
MCP_SERVER_PORTNoPort the MCP server listens on (e.g. MCP_SERVER_PORT=5002). Exposes the port specified by the MCP_SERVER_PORT environment variable.5002
GATEWAY_BASE_URLNoBase URL/host used to reach the Interactive Brokers Client Portal Gateway (used for the login URL https://{GATEWAY_BASE_URL}:{GATEWAY_PORT}).localhost
MCP_TRANSPORT_PROTOCOLNoTransport protocol used by the MCP server (e.g. MCP_TRANSPORT_PROTOCOL=streamable-http).streamable-http

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