Hosted MT5 REST API and remote MCP server Prop-firm drawdown guard, broker-candle backtests, and live MT5 over MCP and REST.
No Windows PC or VPS. Link once, then Claude, ChatGPT, Cursor or your own code can read live MT5 data, journal trades, run bar-based backtests on your broker's candles and place orders within per-symbol maxVolume caps, with a prop-firm order guard that refuses trades that would breach daily loss or max drawdown. Unlike MetaTrader 5's built-in MCP, nothing stays open on your side.
7 days or 100 calls free, no card required. Upgrade anytime from $9.99/mo, cancel anytime.
Prop firm drawdownBacktests on broker dataTrade journalFree tools
Try the buttons in the chat. Your own assistant connects to your live account.
No Windows. No VPS. Nothing to babysit.
The usual way to automate MT5 is a Windows machine that never sleeps: a terminal that must stay open, a bridge script beside it, and a VPS you remote into when something stops. FiveSocket replaces all of it with one hosted runtime you reach over HTTPS.
Live in about a minute
Link an MT5 login, paste one address or create an API key, and ask your first question.
Mac, Linux, phone or cloud
It is plain HTTPS, so anything that can reach the web can reach your account.
Zero Windows, zero VPS
FiveSocket runs the MT5 terminal. Yours can stay closed, with your computer off.
MT5 without Windows or a VPSHosted or self-hosted, compared honestlyForex VPS vs cloud calculator
Your prop firm's loss limits, checked before every order.
Set your firm, program and account size once. Every order your assistant or your code sends through FiveSocket is checked against the daily loss and maximum loss limits first, and refused before it reaches your broker if its stop could breach them.
- Every order needs a stop loss
- An order without one is refused, and so is any new order while an open position or pending order has no stop, because its risk has no limit.
- Open risk is counted
- The check adds the loss at the stops of your open positions and pending orders, so a run of small orders can't add up past the limit.
- A refusal tells you what fits
- It names the rule and the room left, and usually gives a stop-loss price that keeps the worst case inside the limit.
- A breach stops new risk
- Once the account touches a floor, new orders and changes that add risk are refused until the next reset, or for the maximum loss until you set the program again. Closing and cancelling are never blocked.
Rules are built in for FTMO 2-Step, FTMO 1-Step, FundedNext Stellar 2-Step, FundedNext Stellar 1-Step and The5ers High Stakes. Ask your assistant how much room is left today, how far equity is from the maximum loss and how close you are to the profit target.
Trades placed directly in MT5 are counted at the next check but can't be blocked, and a gap or slippage can still take an account past a limit. Your firm's own dashboard is the final word.
How the MT5 prop firm risk guard worksFTMO APIProp plan: $19.99 a month for 3 MT5 accounts
Not sent to your broker
- Room left today
- 1,840.00 USD
- Already at risk at open stops
- 620.00 USD
- This order at its stop
- 1,320.00 USD
- Suggested stop loss
- 1.08174
FiveSocket did not send this order: it could lose about 1320.00 USD at its stop loss, and only 1220.00 USD is left before the daily loss limit once the 620.00 USD at the stops of open positions and pending orders is counted, so reduce the volume or tighten the stop to 1.08174 or inside. The estimate leaves out commission, swap, spread widening and gaps.
Backtest a rule on your own broker's candles.
Describe a rule in plain words. Your assistant replays it over up to 50,000 bars of your broker's MT5 history, with that broker's spread, swap and contract sizes, and tells you what it would have done.
- Rules from common indicators
- Price, SMA, EMA, RSI, ATR, and the highest or lowest value over a period, compared with above, below or a cross. A stop by ATR, percent or price distance, a target as a multiple of the risk, and risk as a percent of balance.
- Costs inside the result
- Trades, win rate, net result, maximum drawdown and profit factor, with the spread, swap and commission paid, and every assumption the run made written out.
- Checked against your prop rules
- On an account with a prop-firm program set, the result estimates whether the run would have touched the daily or maximum loss floor, or reached the first profit target.
- Read-only
- A backtest only reads history. It never places a trade, and it works on an account linked with the investor password.
Historical spread is approximated from one value per bar, today's swap rates apply to the whole period, and there are no ticks inside a bar. A backtest describes the past, not what a rule will do next.
Backtest this on my EURUSD H1 from May to the end of October. Buy when the 20 EMA crosses above the 50 EMA and RSI 14 is under 70. Stop at 2 ATR, target twice the risk, risk 1 percent a trade on 100,000. My broker charges 7 dollars a lot round trip.
The rule your assistant builds from it
- Market
- EURUSD H1
- Stop
- 2 x ATR 14
- Target
- 2 x risk
- Risk a trade
- 1% of balance
- Commission
- $7 a lot, round trip
What comes back
- Trades and win rate
- Net result
- Maximum drawdown
- Profit factor
- Spread, swap and commission
- Equity curve
- Assumptions
- Prop rule estimate
Ask it, or build on it.
Ask in your own words
Connect an assistant that supports remote MCP, and it reads your live account each time you ask.
Which position has no stop loss?
Which symbols did I trade most this month?
Export last quarter's closed trades.
What's the contract size on XAUUSD?
How the MT5 MCP server connects an assistantMT5 trade journal with AI
Or call it from your own code
Any language that can make a web request can read balances, positions and history, or place, change and close orders.
- Pythonrequests and pandas
- Node.jsfetch and TypeScript
- n8nno-code workflows
- TradingViewalerts to orders
- Google SheetsApps Script
- Anything elseone HTTPS request
- Balance and equity
- Open positions
- Deals and history
- Broker candles
- Prop status
- Backtests
- Orders within caps
There is nothing to install.
Try it free
Create an account and link MT5. Your first 7 days or 100 calls, whichever comes first are free with no card, then a 0-day free trial with a card.
Link your MT5 account
Enter your login, password and server name in FiveSocket. Type the server name exactly as MT5 shows it. Every MT5 broker works.
Connect your assistant or your code
Paste one address into your assistant, or create an API key for your code.
After that you can close MT5 and turn off your computer. FiveSocket runs the terminal.
Using an AI assistant? Our MT5 MCP server works with Claude, ChatGPT, Cursor and other MCP clients. Guides: connect MT5 to Claude, connect MT5 to ChatGPT and connect MT5 to Cursor.
Your password never enters the chat.
You type your MT5 password into FiveSocket, in your browser. FiveSocket encrypts it and keeps the keys in a separate store. Your assistant signs in with its own permission, and it never sees the password or your API keys.
- Trading starts off
- Every account links with trading off. To turn it on, you approve the trading:execute permission and set an execution policy with exact symbols and a maxVolume cap for each. Your assistant is told to confirm that policy with you first.
- Read-only is an option
- Link with your MT5 investor password, and MT5 itself refuses any trade. Investor-password links stay read-only even if an assistant asks to trade.
- You can cut access
- Remove an assistant or delete an API key in your control panel, and its next request fails.
Questions, answered.
The six things people ask before they link an account.
Do I need Windows or a VPS?
No. FiveSocket runs the MT5 terminal for your account in the cloud. You connect from macOS, Linux, a phone or a browser, and your own MetaTrader can stay closed with your computer off.
Does my broker work?
Every MT5 broker works, live or demo, with nothing for the broker to set up. You link an account with its login, password and the exact server name your terminal shows, and you can check that server name for free before you pick a plan. MetaTrader 4 is not supported.
Is my MT5 password safe?
You type it into FiveSocket in your browser, never into a chat. It is stored encrypted with the keys in a separate store, and your assistant never sees it or your API keys. Link with your MT5 investor password and MT5 itself refuses every order.
How does the prop-firm guard work?
Set your firm, program and account size once. Every order placed or changed through FiveSocket is checked against the daily loss and maximum loss limits first, and refused before it reaches your broker if its stop could breach them. Rules are built in for FTMO, FundedNext and The5ers. Trades placed directly in MT5 are not blocked, and your firm's own dashboard is the final word.
Can an assistant place trades?
Only if you allow it. Every account links with trading off. An assistant can place orders only after you approve the trading permission and set a policy with the exact symbols allowed and a maximum order size for each. Orders outside that policy are refused. Choose read only if you want to place every trade yourself.
How do free usage and pricing work?
7 days or 100 calls free, no card required. Upgrade anytime from $9.99/mo, cancel anytime. Free usage covers one connected MT5 account, with the full MCP server and REST API. Paid plans are priced by linked MT5 accounts, up to $79.99 a month for 20 accounts, and every plan includes the prop-firm guard and backtests.
Link your account today.
7 days or 100 calls free, no card required. Upgrade anytime from $9.99/mo, cancel anytime. Free usage covers one connected MT5 account, plus both the assistant connection and the API.
Starter
$9.99
a month, for 1 MT5 account
Trial includes one connected MT5 account
One live MT5 account for personal tools and automations.
Includes prop-firm order guard, bar-based backtests, MCP, REST and per-symbol maxVolume caps.
Prop
$19.99
a month, for 3 MT5 accounts
Trial includes one connected MT5 account
Three MT5 accounts for a prop-firm challenge, a funded account and a personal account, with the prop guard and backtests.
Includes prop-firm order guard, bar-based backtests, MCP, REST and per-symbol maxVolume caps.
Plus
$29.99
a month, for 5 MT5 accounts
Trial includes one connected MT5 account
Five live MT5 accounts for production applications.
Includes prop-firm order guard, bar-based backtests, MCP, REST and per-symbol maxVolume caps.
Scale
$79.99
a month, for 20 MT5 accounts
Trial includes one connected MT5 account
Twenty live MT5 accounts with higher request throughput.
Includes prop-firm order guard, bar-based backtests, MCP, REST and per-symbol maxVolume caps.