Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MT5_ENABLEDNoEnable MetaTrader 5 integration (Windows only). Default is 'false'.false
MCP_SSE_HOSTNoHost address for SSE MCP server. Default is '0.0.0.0'.0.0.0.0
MCP_SSE_PORTNoPort for SSE MCP server. Default is '8020'.8020
REQUIRE_AUTHNoRequire authentication for API access. Default is 'false'.false
MCP_TRANSPORTNoTransport protocol for MCP server (e.g., 'sse' or 'stdio'). Default is 'sse'.sse
MAX_DAILY_LOSSNoMaximum daily loss as a fraction (e.g., 0.10 for 10%). Default is '0.10'.0.10
TAVILY_API_KEYNoAPI key for Tavily news research integration (optional).
MIN_REWARD_RISKNoMinimum reward-to-risk ratio (e.g., 0.7). Default is '0.7'.0.7
ENABLE_LIVE_ORDERNoEnable live order execution (set to 'true' to enable). Default is 'false'.false
KILL_SWITCH_ACTIVENoSet to 'true' to activate kill switch (prevents all live orders). Default is 'false'.false
MAX_RISK_PER_TRADENoMaximum risk per trade as a fraction (e.g., 0.05 for 5%). Default is '0.05'.0.05
MCP_DATA_ONLY_MODENoRun MCP server in data-only mode (no live trading tools). Default is 'true'.true
MCP_ENABLE_LIVE_TOOLSNoEnable live trading MCP tools. Requires MCP_DATA_ONLY_MODE=false. Default is 'false'.false
MIN_SIGNAL_CONFIDENCENoMinimum signal confidence threshold (e.g., 0.42). Default is '0.42'.0.42
TRADING_AGENT_BASE_URLNoBase URL of the OpenTrading backend. Default is 'http://127.0.0.1:8010'.http://127.0.0.1:8010
TRADING_AGENT_DISABLE_EMBEDDED_MCPNoDisable the embedded MCP server in the backend. Set to 'true' to run standalone MCP server. Default is 'false'.false

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/hyuwowo/opentrading'

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