Skip to main content
Glama
jamesnjk

trading-mcp-server

by jamesnjk

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
IBKR_HOSTNoHostname of the TWS/IB Gateway. Defaults to 127.0.0.1.127.0.0.1
IBKR_PORTNoPort of the TWS/IB Gateway. Defaults to 7497 for paper trading (7496 for live TWS, 4002/4001 for Gateway).7497
BROKER_MODENoOperation mode: 'mock' for fixture data without live gateways, or 'live' for real broker connections. Defaults to 'mock'.mock
MOOMOO_HOSTNoHostname of the Moomoo OpenD gateway. Defaults to 127.0.0.1.127.0.0.1
MOOMOO_PORTNoPort of the Moomoo OpenD gateway. Defaults to 11111.11111
IBKR_CLIENT_IDNoClient ID for the IBKR API connection. Defaults to 1.1
IBKR_ACCOUNT_IDNoAccount identifier for the Interactive Brokers account. Required when BROKER_MODE=live and connecting to IBKR.
MOOMOO_ACCOUNT_IDNoAccount identifier for the Moomoo account. Required when BROKER_MODE=live and connecting to Moomoo.

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

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/jamesnjk/trading-mcp-server'

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