Skip to main content
Glama
pttangent

IBKR TWS MCP Server

by pttangent

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TWS_HOSTNoThe host of the TWS or IB Gateway.127.0.0.1
TWS_PORTNoThe port of the TWS or IB Gateway.7497
SERVER_HOSTNoThe host on which the MCP server listens.0.0.0.0
SERVER_PORTNoThe port on which the MCP server listens.8000
TWS_CLIENT_IDNoThe client ID used to connect to TWS.1
TWS_PAPER_ACCOUNTNoThe paper trading account ID (optional).

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/pttangent/IBKR_MCP'

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