# FiveSocket MT5 [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/fivesocket/mt5-mcp-server  
**GitHub Stars:** 0  
**npm Downloads (last month):** 804  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/fivesocket-mt5

## Description
Works without a Windows PC, VPS or open MT5 terminal: hosted MetaTrader 5 MCP server for balances, positions, trade history, candles, prop-firm limits and backtests, with opt-in trading.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "fivesocket-mt5": {
    "url": "https://api.fivesocket.com/mcp"
  }
}
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/fivesocket-mt5/readme_

