API Tools
fxsocket.com
Provides MT4/MT5 REST API and WebSocket access for developers to execute trades, stream prices, and manage trading accounts from any programming language.
ENDPOINT 1
https://mcp.fxsocket.com/mcp
MCP server metadata
- Name
- fxsocket
- Version
- 1.0.0
FxSocket gives read-only access to the MetaTrader 4, MetaTrader 5 and cTrader trading accounts linked to this API key: balances, open positions, closed trades, quotes, symbol specifications and price history. It cannot place, modify or close orders. Start with list_accounts to get account ids. Symbol names are broker-specific (EURUSD at one broker, EURUSD.sd or EURUSDm at another), so look them up with search_symbols before asking for quotes or candles. Money is in each account's deposit currency: never add amounts across currencies, use the totals_by_currency the tools return. Times and date filters are in the broker's server time, not UTC.
Known tools 8
list_accountsEvery MT4, MT5 and cTrader account linked to this API key: id, nickname, platform, broker server, login and connection status (connected / connecting / disconnected / error).
Inferred read-onlyget_accountOne account in full, read live from its terminal: financials (balance, equity, margin, free margin, margin level, leverage, currency), account settings (margin mode, stop-out level, whether trading is allowed) and terminal health (broker connection, login state).
Potential side effectsget_open_positionsOpen positions and pending orders on one or more accounts, newest first, with per-account counts, floating profit and swap, and totals per currency.
Inferred read-onlyget_trade_historyClosed positions (one row per round trip) on one or more accounts, with per-account stats: trade count, wins, losses, win rate, net profit after commission and swap, best and worst trade, and a per-symbol breakdown.
Potential side effectssearch_symbolsFind the exact symbol names an account's broker uses, by case-insensitive substring.
Inferred read-onlyget_quotesLatest bid, ask and spread for up to 20 symbols, read live from this account's terminal, so prices are the broker's own.
Potential side effectsget_symbol_infoContract specification for one symbol at this account's broker, read live from its terminal: digits, contract size, tick size and value, minimum/maximum/step volume, stops level, current spread, swap rates, commissions and trading sessions.
Potential side effectsCONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.fxsocket]
url = "https://mcp.fxsocket.com/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"fxsocket": {
"type": "http",
"url": "https://mcp.fxsocket.com/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: fxsocket
Remote MCP URL: https://mcp.fxsocket.com/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"fxsocket": {
"url": "https://mcp.fxsocket.com/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"fxsocket": {
"type": "http",
"url": "https://mcp.fxsocket.com/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "fxsocket",
"transport": "streamable-http",
"url": "https://mcp.fxsocket.com/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
TRUST AND VERIFICATION EVIDENCE
Loading Trust v2 evidence…
Checking the associated registrable domain. The BuiltWith key remains server-side.
Evidence is source-attributed and does not guarantee that a third-party server is safe. Risk labels are conservative metadata heuristics.