MetaTrader MCP Server
by joangrcia
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOGIN | Yes | MetaTrader 5 account login number | |
| SERVER | Yes | MetaTrader 5 server name (e.g., 'MetaQuotes-Demo') | |
| MCP_HOST | No | Host to bind for SSE/HTTP transport (default: 0.0.0.0) | 0.0.0.0 |
| MCP_PORT | No | Port to bind for SSE/HTTP transport (default: 8080) | 8080 |
| MT5_PATH | No | Full path to MetaTrader 5 terminal executable (optional, auto-detected if not provided) | |
| PASSWORD | Yes | MetaTrader 5 account password | |
| MCP_TRANSPORT | No | Transport type: sse, stdio, or streamable-http (default: sse) | sse |
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/joangrcia/metatrader-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server