L'Agora
MCPRépond

FxSocket

com.fxsocket/mcp

Read-only MetaTrader 4 and 5 accounts: balances, positions, trade history, quotes and candles.

Description fournie par l’auteur dans le registre officiel MCP (en anglais).

Dépôt
github.com/fxsocket-com/FxSocket-MCP
Site
fxsocket.com/docs/mcp
Adresse du serveur
https://mcp.fxsocket.com/mcp (streamable-http)
Version
1.0.1
Auteur
fxsocket.com (espace de noms vérifié par le registre)
Source
Registre officiel MCP (mis à jour le 18 oct. 2026)

Comment l’installer

Le serveur accepte et demande un en-tête : X-API-Key. Remplacez VOTRE_CLE par votre clé.

Variables à renseigner : FXSOCKET_API_KEY.

Serveur distant (rien à installer)

Claude Code

Dans un terminal :

claude mcp add --transport http mcp https://mcp.fxsocket.com/mcp \
  --header "X-API-Key: VOTRE_CLE"
Claude (application et claude.ai)

Ouvrez Réglages, puis Connecteurs, et ajoutez un connecteur personnalisé avec cette adresse. Si le serveur demande une connexion, Claude vous la proposera.

https://mcp.fxsocket.com/mcp
ChatGPT

Dans Réglages, partie Applications et connecteurs, activez le mode développeur, puis créez un connecteur avec cette adresse.

https://mcp.fxsocket.com/mcp
Cursor ~/.cursor/mcp.json

Ajoutez ceci au fichier ~/.cursor/mcp.json (ou .cursor/mcp.json dans le projet) :

{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.fxsocket.com/mcp",
      "headers": {
        "X-API-Key": "VOTRE_CLE"
      }
    }
  }
}
VS Code .vscode/mcp.json

Ajoutez ceci au fichier .vscode/mcp.json de votre projet :

{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.fxsocket.com/mcp",
      "headers": {
        "X-API-Key": "VOTRE_CLE"
      }
    }
  }
}

Sur votre machine

Claude Code

Le serveur tourne sur votre machine (paquet oci). Dans un terminal :

claude mcp add mcp -e FXSOCKET_API_KEY=VOTRE_FXSOCKET_API_KEY -- docker run -i --rm -e FXSOCKET_API_KEY docker.io/fxsocket/mcp:1.0.1
Claude Desktop claude_desktop_config.json

Réglages, Développeur, Modifier la configuration, puis ajoutez :

{
  "mcpServers": {
    "mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "FXSOCKET_API_KEY",
        "docker.io/fxsocket/mcp:1.0.1"
      ],
      "env": {
        "FXSOCKET_API_KEY": "VOTRE_FXSOCKET_API_KEY"
      }
    }
  }
}
Cursor ~/.cursor/mcp.json

Dans ~/.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": "VOTRE_FXSOCKET_API_KEY"
      }
    }
  }
}
VS Code .vscode/mcp.json

Dans .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": "VOTRE_FXSOCKET_API_KEY"
      }
    }
  }
}
ChatGPT

ChatGPT se connecte seulement à des serveurs distants (une adresse https). Ce paquet tourne en local : utilisez l’une des applications ci-dessus.

Ces configurations sont construites à partir des informations publiées par l’auteur. Vérifiez le dépôt avant d’installer un serveur local.

Notre test

Répond Le serveur répond au protocole MCP et liste ses outils.

Date
28 nov. 2026, 11:09 (test fait par L’Atlas)
Temps de réponse
755 ms (test complet)
Outils trouvés
9
Nom annoncé
fxsocket 1.0.0
Protocole
MCP 2025-11-25
Prochain test
5 déc. 2026
Voir les outils (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. Set
  • get_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 co
  • get_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. Na
  • get_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 d
  • search_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_pric
  • get_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 fails
  • get_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 larg
  • get_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,
Tests précédents
28 nov. 2026Répond755 ms9 outils
28 nov. 2026Clé requise

Ce que fait le test : il ouvre une session MCP (initialize) et demande la liste des outils (tools/list), sans clé ni compte. Aucun outil n’est appelé. En savoir plus

Avis

Pas encore d’avis.

Connectez-vous pour donner votre avis. Il suffit de votre e-mail.

Commentaires

Pas encore de commentaire. Une question, une astuce ? Lancez la discussion.

Connectez-vous pour commenter.

C’est votre projet ? Connectez-vous pour revendiquer la fiche.

Badge pour votre README

com.fxsocket/mcp sur L’Agora

Montrez que votre projet est référencé (et testé, s’il répond) : collez ce code dans votre README. Le badge suit le dernier test et renvoie vers cette fiche.

Markdown (GitHub)

[![com.fxsocket/mcp sur L’Agora](https://lagora.dev/badge/com.fxsocket/mcp.svg)](https://lagora.dev/fiche/com.fxsocket/mcp)

HTML

<a href="https://lagora.dev/fiche/com.fxsocket/mcp"><img src="https://lagora.dev/badge/com.fxsocket/mcp.svg" alt="com.fxsocket/mcp sur L’Agora" height="20"></a>

Mettre en avant

Réservé à l’auteur de la fiche : connectez-vous pour continuer.

Signaler cette fiche