FiveSocket MT5 logo

FiveSocket MT5

Hosted MT5 access for account data, market candles, backtests, prop-firm limits, and opt-in trading through MCP.

Install FiveSocket MT5

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "fivesocket-mt5": {
      "command": "npx",
      "args": [
        "-y",
        "fivesocket-mt5-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio fivesocket-mt5 -- npx -y fivesocket-mt5-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Hosted endpointLive · 3d agoLive Remote EndpointOur automated health check connected to this remote MCP endpoint successfully.Last checked 3d ago · Dec 2, 2026, 18:30 UTC

Clients with native remote MCP support can connect directly to this URL.

Remote endpoint
https://api.fivesocket.com/mcp
We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y fivesocket-mt5-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

FiveSocket MT5 is a hosted MCP server that connects AI assistants to MetaTrader 5 accounts without a Windows PC, VPS, or open MT5 terminal. Through Streamable HTTP and OAuth, it provides balances, positions, trade history, candles, backtests, and prop-firm loss-limit checks, with trading available only when approved. Use the read-only endpoint for account analysis, or the full endpoint when an assistant also needs to place orders. It fits developers who want remote MT5 access from supported MCP clients rather than maintaining a local terminal-based connector.

Use cases

  • Monitor MT5 balances and open positions from an AI assistant
  • Summarize closed trades by symbol and time period
  • Backtest strategies against a broker's candle data
  • Check prop-firm loss limits before placing orders
  • Place approved MT5 trades through an OAuth-authorized assistant

Key features

  • Hosted MetaTrader 5 connectivity
  • Read-only and trading-enabled MCP endpoints
  • Balances, positions, history, candles, and symbols
  • Broker-candle backtesting
  • FTMO, FundedNext, and The5ers order-limit checks
  • OAuth authorization for remote MCP clients

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev · fivesocket-mt5-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads804Package downloads in the last 30 days.
Last commit5d agoMost recent push to the default branch.
MaintenanceActively maintainedStatus declared by the project or listing owner.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.

How FiveSocket MT5 works

What FiveSocket MT5 does

FiveSocket MT5 connects MCP-compatible assistants to MetaTrader 5 accounts through a hosted service. After linking an account in the browser, an assistant can retrieve balances, free margin, open positions, floating profit, closed trade history, symbols, charts, and broker-provided candle data.

The server also supports backtests using the broker's own candles. For FTMO, FundedNext, and The5ers accounts, orders submitted through FiveSocket are checked against daily-loss and maximum-loss limits. Trading is optional and requires permission during authorization; the service can otherwise be used for read-only account and market data.

A read-only endpoint is available at https://api.fivesocket.com/mcp/read. The full endpoint is https://api.fivesocket.com/mcp, which supports the broader permission set.

How it works

FiveSocket hosts the MT5 connection remotely, so the MetaTrader 5 desktop terminal does not need to remain open. It also avoids putting a broker password in an MCP configuration file. Account credentials are entered in the FiveSocket browser flow, and the password is sent over HTTPS rather than shown to the assistant.

Clients connect using Streamable HTTP and authenticate with OAuth. During sign-in, the user approves access to accounts, account data, and, when desired, trading. A compatible client must support OAuth for remote MCP servers. The service uses OAuth 2.1 with S256 PKCE and dynamic client registration during the discovery flow.

The repository includes client configurations and examples that call the hosted service. It also contains REST API examples for reading an account and placing an order, although the MCP connection itself requires no local build.

Setup and configuration

Create a FiveSocket account and link an MT5 account in the browser using its login, password, and server name. Then add the hosted URL to an MCP client:

  • Full access: https://api.fivesocket.com/mcp
  • Read-only access: https://api.fivesocket.com/mcp/read

Claude Code can add the remote server with claude mcp add --transport http. Cursor and VS Code use their MCP JSON configuration files with the hosted URL. Claude clients and ChatGPT provide connector interfaces for remote MCP servers, while the Kiro configuration can specify OAuth scopes for account and data access. Local-only clients can use the npm package through npx or the Python package through uvx; the Python route requires Node.js 20 or newer.

For a first test, the service provides a demo account with the identifier demo. It exposes read-only balances, positions, history, candles, symbols, and backtests, and rejects trading requests.

Tools and capabilities

  • Read balances, equity, margin, and related account data.
  • Inspect open positions and floating profit.
  • Review closed trade history by period or symbol.
  • Retrieve symbols and broker candle data for charting and analysis.
  • Run backtests against broker-provided candles.
  • Check orders against supported prop-firm loss limits.
  • Place trades when trading permission is granted.
  • Use OAuth scopes and a separate read-only endpoint to restrict access.

Limitations and notes

Trading is not enabled by default; it depends on the permissions granted during OAuth authorization. The demo account is read-only and refuses orders. ChatGPT custom connectors require Developer mode, and availability can depend on the ChatGPT plan or workspace administrator. Claude custom connectors similarly depend on the applicable Claude plan.

The hosted service requires an MCP client that supports OAuth sign-in for remote servers. The repository's local connector packages do not turn MT5 into an independent local trading engine; they start a connector that communicates with the hosted service. FiveSocket also offers paid plans after its trial terms, with account limits varying by plan.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about FiveSocket MT5

FiveSocket MT5 is an MCP server that connects AI assistants to hosted MetaTrader 5 accounts. Its main tools provide balances, positions, trade history, candles, symbols, backtests, prop-firm limit checks, and optional order placement. It works through OAuth and does not require a Windows PC, VPS, or open MT5 terminal.

You do not need to build or install the hosted server; add https://api.fivesocket.com/mcp to an OAuth-capable MCP client. For local-only clients, use the npm package with npx or the Python package with uvx, then sign in through the browser.

Add the Streamable HTTP URL https://api.fivesocket.com/mcp to the client's MCP JSON configuration. Cursor uses ~/.cursor/mcp.json, while VS Code uses .vscode/mcp.json. Replace the URL with https://api.fivesocket.com/mcp/read when only account and market data should be available.

Yes, use https://api.fivesocket.com/mcp/read for read-only access. This endpoint is intended for account and data permissions without trading approval, and the demo account also supports read-only balances, positions, history, candles, symbols, and backtests.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewFiveSocket MT5 AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/fivesocket-mt5?style=directory)](https://allmcps.com/mcp/fivesocket-mt5)
HTML Embed
<a href="https://allmcps.com/mcp/fivesocket-mt5"><img src="https://allmcps.com/api/badge/fivesocket-mt5?style=directory" alt="FiveSocket MT5 on AllMCPs" /></a>