OpenTrading
by hyuwowo
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MT5_ENABLED | No | Enable MetaTrader 5 integration (Windows only). Default is 'false'. | false |
| MCP_SSE_HOST | No | Host address for SSE MCP server. Default is '0.0.0.0'. | 0.0.0.0 |
| MCP_SSE_PORT | No | Port for SSE MCP server. Default is '8020'. | 8020 |
| REQUIRE_AUTH | No | Require authentication for API access. Default is 'false'. | false |
| MCP_TRANSPORT | No | Transport protocol for MCP server (e.g., 'sse' or 'stdio'). Default is 'sse'. | sse |
| MAX_DAILY_LOSS | No | Maximum daily loss as a fraction (e.g., 0.10 for 10%). Default is '0.10'. | 0.10 |
| TAVILY_API_KEY | No | API key for Tavily news research integration (optional). | |
| MIN_REWARD_RISK | No | Minimum reward-to-risk ratio (e.g., 0.7). Default is '0.7'. | 0.7 |
| ENABLE_LIVE_ORDER | No | Enable live order execution (set to 'true' to enable). Default is 'false'. | false |
| KILL_SWITCH_ACTIVE | No | Set to 'true' to activate kill switch (prevents all live orders). Default is 'false'. | false |
| MAX_RISK_PER_TRADE | No | Maximum risk per trade as a fraction (e.g., 0.05 for 5%). Default is '0.05'. | 0.05 |
| MCP_DATA_ONLY_MODE | No | Run MCP server in data-only mode (no live trading tools). Default is 'true'. | true |
| MCP_ENABLE_LIVE_TOOLS | No | Enable live trading MCP tools. Requires MCP_DATA_ONLY_MODE=false. Default is 'false'. | false |
| MIN_SIGNAL_CONFIDENCE | No | Minimum signal confidence threshold (e.g., 0.42). Default is '0.42'. | 0.42 |
| TRADING_AGENT_BASE_URL | No | Base URL of the OpenTrading backend. Default is 'http://127.0.0.1:8010'. | http://127.0.0.1:8010 |
| TRADING_AGENT_DISABLE_EMBEDDED_MCP | No | Disable 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
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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