metatrader5-mcp

MCPReference

by alikhande70

Indexed by Glama. No runnable package is published via Glama's API — open the repository for install instructions.

mcplocal-only

MCP configuration

stdio

Environment

  • MT5_PATH

    Optional explicit path to the MetaTrader 5 terminal executable.

  • MT5_LOGIN

    Optional account login number.

  • MT5_SERVER

    Optional server name for the MT5 account.

  • MT5_PASSWORDsecret

    Optional account password.

  • MT5_MCP_LOG_DIR

    Directory for log files.

  • MT5_MCP_REPORTS_DIR

    Directory for strategy reports.

  • MT5_MCP_APPROVAL_MODE

    Approval mode: 'console' for interactive prompt, 'file' for file-based approval.

  • MT5_MCP_ENABLE_DEMO_TRADING

    Set to 'true' to enable order-planning tools on demo accounts.

Install in one click with Zurek

Browse here, install from the native macOS app — pick targets, fill env vars, and write configs safely.