We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ariadng/metatrader-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
# _login(connection) 🔐
Logs into the MetaTrader 5 terminal using the provided credentials.
## Parameters
- **connection**: The connection object containing login credentials.
## Returns
- **bool**: `True` if login is successful, `False` otherwise.
## Raises
- **LoginError**: If login fails after retries.
## How it works
1. Checks if already logged in.
2. Attempts login with retries and backoff.
3. Handles errors and retries smartly.
## Fun Fact 🕵️♂️
Handles login like a pro—persistent and patient, but never gives up too soon!