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
# is_connected(connection) 📶
Checks if the session is currently connected to the MetaTrader 5 terminal.
## Parameters
- **connection**: The connection object for the session.
## Returns
- **bool**: `True` if connected, `False` otherwise.
## How it works
1. Checks terminal info and connection status.
2. Returns `True` if both indicate an active connection.
## Fun Fact 📡
This function is your connection status bar—quickly check if you’re online or offline!