Skip to main content
Glama
carsti

MetaTrader MCP Server

by carsti

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOGINYesYour MT5 account login number. Can also be passed as the `--login` CLI argument.
SERVERYesMT5 server name (e.g., "MetaQuotes-Demo"). Can also be passed as the `--server` CLI argument.
MCP_HOSTNoHost to bind (SSE/HTTP only). Can also be passed as the `--host` CLI argument.0.0.0.0
MCP_PORTNoPort to bind (SSE/HTTP only). Can also be passed as the `--port` CLI argument.8080
MT5_PATHNoOptional full path to the MT5 terminal executable (auto-detected if not provided). Can also be passed as the `--path` CLI argument.
PASSWORDYesYour MT5 account password. Can also be passed as the `--password` CLI argument.
MCP_TRANSPORTNoTransport type: `sse`, `stdio`, or `streamable-http`. Can also be passed as the `--transport` CLI argument.sse

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