FxSocket
com.fxsocket/mcp
Read-only MetaTrader 4 and 5 accounts: balances, positions, trade history, quotes and candles.
- Repository
- github.com/fxsocket-com/FxSocket-MCP
- Website
- fxsocket.com/docs/mcp
- Server address
https://mcp.fxsocket.com/mcp(streamable-http)- Version
- 1.0.1
- Author
- fxsocket.com (namespace verified by the registry)
- Source
- Official MCP registry (updated Oct 18, 2026)
How to install it
The server requires a header: X-API-Key. Replace YOUR_KEY with your key.
Variables to fill in: FXSOCKET_API_KEY.
Remote server (nothing to install)
Claude Code
In a terminal:
claude mcp add --transport http mcp https://mcp.fxsocket.com/mcp \
--header "X-API-Key: YOUR_KEY"Claude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://mcp.fxsocket.com/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://mcp.fxsocket.com/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"mcp": {
"url": "https://mcp.fxsocket.com/mcp",
"headers": {
"X-API-Key": "YOUR_KEY"
}
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"mcp": {
"type": "http",
"url": "https://mcp.fxsocket.com/mcp",
"headers": {
"X-API-Key": "YOUR_KEY"
}
}
}
}On your machine
Claude Code
The server runs on your machine (oci package). In a terminal:
claude mcp add mcp -e FXSOCKET_API_KEY=YOUR_FXSOCKET_API_KEY -- docker run -i --rm -e FXSOCKET_API_KEY docker.io/fxsocket/mcp:1.0.1Claude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"FXSOCKET_API_KEY",
"docker.io/fxsocket/mcp:1.0.1"
],
"env": {
"FXSOCKET_API_KEY": "YOUR_FXSOCKET_API_KEY"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"FXSOCKET_API_KEY",
"docker.io/fxsocket/mcp:1.0.1"
],
"env": {
"FXSOCKET_API_KEY": "YOUR_FXSOCKET_API_KEY"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"FXSOCKET_API_KEY",
"docker.io/fxsocket/mcp:1.0.1"
],
"env": {
"FXSOCKET_API_KEY": "YOUR_FXSOCKET_API_KEY"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 28, 2026, 11:09 (test run by L’Atlas)
- Response time
- 755 ms (whole test)
- Tools found
- 9
- Announced name
- fxsocket 1.0.0
- Protocol
- MCP 2025-11-25
- Next test
- Dec 5, 2026
See the tools (9)
list_accounts
Every MT4, MT5 and cTrader account linked to this API key: id, nickname, platform, broker server, login and connection status (connected / connecting / disconnected / error). Call this first: the other tools take its account_id values. Setget_account
One 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 coget_open_positions
Open positions and pending orders on one or more accounts, newest first, with per-account counts, floating profit and swap, and totals per currency. Lists at most 300 orders across all accounts; counts and totals always cover everything. Naget_trade_history
Closed 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. Defaults to the last 7 dsearch_symbols
Find the exact symbol names an account's broker uses, by case-insensitive substring. Brokers spell instruments differently (EURUSD, EURUSD.sd, EURUSDm, XAUUSD.r), so look a name up here before calling get_quotes, get_symbol_info or get_pricget_quotes
Latest bid, ask and spread for up to 20 symbols, read live from this account's terminal, so prices are the broker's own. A symbol the broker does not know is listed under errors while the others still return; if none resolve, the call failsget_symbol_info
Contract 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.get_price_history
OHLC candles for one symbol from this account's broker. Returns the most recent `limit` bars (default 100, max 500) in the window; omit from/to for the latest bars. A window spanning more than 20000 bars is refused (narrow it or pick a largget_journal
The journal of one cTrader account, newest first: when it signed in at cTrader, became ready to trade, lost and regained its connection, and when its access was refreshed or refused; and every order, change and close the bridge carried out,
Previous tests
| Nov 28, 2026 | Responds | 755 ms | 9 tools |
| Nov 28, 2026 | Key required |
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/com.fxsocket/mcp)HTML
<a href="https://lagora.dev/en/entry/com.fxsocket/mcp"><img src="https://lagora.dev/badge/com.fxsocket/mcp.svg?lang=en" alt="com.fxsocket/mcp on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.