FxSocket
v1.0.1Read-only MetaTrader 4 and 5 accounts: balances, positions, trade history, quotes and candles.
Values you need
| Variable | What it is | |
|---|---|---|
FXSOCKET_API_KEY | required secret | FxSocket API key. A read-only key (fxs_ro_...) is enough: https://app.fxsocket.com/dashboard/api-key |
Docker
Requires Docker
Run in a terminal
claude mcp add mcp -e 'FXSOCKET_API_KEY=<FXSOCKET_API_KEY>' -- docker run -i --rm -e FXSOCKET_API_KEY docker.io/fxsocket/mcp:1.0.1Add to
claude_desktop_config.json{
"mcpServers": {
"mcp": {
"args": [
"run",
"-i",
"--rm",
"-e",
"FXSOCKET_API_KEY",
"docker.io/fxsocket/mcp:1.0.1"
],
"command": "docker",
"env": {
"FXSOCKET_API_KEY": "<FXSOCKET_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp": {
"args": [
"run",
"-i",
"--rm",
"-e",
"FXSOCKET_API_KEY",
"docker.io/fxsocket/mcp:1.0.1"
],
"command": "docker",
"env": {
"FXSOCKET_API_KEY": "<FXSOCKET_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "FXSOCKET_API_KEY",
"id": "fxsocket-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"mcp": {
"args": [
"run",
"-i",
"--rm",
"-e",
"FXSOCKET_API_KEY",
"docker.io/fxsocket/mcp:1.0.1"
],
"command": "docker",
"env": {
"FXSOCKET_API_KEY": "${input:fxsocket-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp]
command = "docker"
args = ["run", "-i", "--rm", "-e", "FXSOCKET_API_KEY", "docker.io/fxsocket/mcp:1.0.1"]
env = { "FXSOCKET_API_KEY" = "<FXSOCKET_API_KEY>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http mcp https://mcp.fxsocket.com/mcp --header 'X-API-Key: <X-API-Key>'Add to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"mcp": {
"args": [
"-y",
"mcp-remote",
"https://mcp.fxsocket.com/mcp",
"--header",
"X-API-Key: <X-API-Key>"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp": {
"headers": {
"X-API-Key": "<X-API-Key>"
},
"url": "https://mcp.fxsocket.com/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mcp": {
"headers": {
"X-API-Key": "<X-API-Key>"
},
"type": "http",
"url": "https://mcp.fxsocket.com/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://mcp.fxsocket.com/mcp", "--header", "X-API-Key: <X-API-Key>"]For AI agents
- Ask the user for: FXSOCKET_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- If it fails, check that the required runtime is installed (Docker) and that the values above are set.
Machine-readable: install.md · manifest.json