Skip to main content
Glama
martinsgirss

MT5 MCP Server

by martinsgirss

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PYTHONPATHNoPython path for the project directory, e.g. C:\Users\YourName\mt5_mcp_server
SAFETY_MODENoSafety mode. Default is 'demo' which refuses to operate if the logged-in account is not demo. Set to 'live' to enable real trading.demo
MAX_LOT_SIZENoMaximum lot size for any single order. Default is 1.0.1.0
MT5_TERMINAL_PATHNoPath to the MT5 terminal if auto-detect fails.
MAX_ORDERS_PER_SESSIONNoMaximum number of orders per session. Default is 20. Resets on server restart.20

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