What you need
- A ChatGPT account where Developer mode is available. OpenAI decides which plans and workspaces can add custom connectors, and a workspace admin may need to allow it.
- An MT5 login, its password, and the exact server name shown in your MT5 terminal. Any broker that offers MT5 works, and demo accounts link the same way.
- A FiveSocket account with the MT5 account linked. Link your MT5 account and try it free, no card: 24 hours or 100 calls, whichever comes first. Then a 7-day free trial, card required. Cancel anytime. The trial includes one connected MT5 account.
Connect it, step by step
https://api.fivesocket.com/mcpLink MT5 in FiveSocket
Start a trial, open Accounts and enter your MT5 login, password and exact server name in your browser. Do not type them into ChatGPT.
Turn on Developer mode
In ChatGPT, open Settings > Apps & Connectors > Advanced and turn on Developer mode.
Create the connector
Back in Apps & Connectors, choose Create. Name it FiveSocket, paste the address above as the MCP server URL, and choose OAuth for authentication.
Sign in and approve
ChatGPT opens FiveSocket in your browser. Sign in and choose read only or read and trade. ChatGPT receives a short-lived token for what you approved, not your password.
Use it in a chat
Start a new chat, enable the FiveSocket connector for that chat, and ask it to list your FiveSocket accounts.
To remove access, delete the connector in ChatGPT or revoke it under MCP connections in FiveSocket.
Prompts to try
- List my FiveSocket accounts and show the balance and equity of each.
- Which open positions on my demo account are losing the most money right now?
- Summarise my closed trades from last week by symbol.
- What margin is in use on my account, and how much is free?
- Show the contract size and minimum volume for EURUSD and XAUUSD.
ChatGPT's answer is its own reading of the data. Check figures in MT5 before you act on them.
Why a local MCP server cannot reach ChatGPT
Many MT5 MCP servers on GitHub, and the one built into the MT5 terminal, run on your own computer. A desktop app starts them as a local process or calls them at a localhost address.
ChatGPT's connectors run on OpenAI's servers. They call an HTTPS address on the public internet and sign in with OAuth. They cannot start a program on your computer or reach localhost. To use a local server with ChatGPT, you would have to publish it over HTTPS and add OAuth sign-in yourself.
FiveSocket is already a remote server with OAuth, so ChatGPT can reach it directly.
If it does not work
- No Create button: Developer mode is off, or your workspace does not allow custom connectors. Ask a workspace admin.
- Sign-in loops or fails: finish the FiveSocket sign-in in the same browser, then return to ChatGPT. Pop-up blockers can stop the window opening.
- ChatGPT says it has no accounts: link the MT5 account in FiveSocket first, under Accounts, then ask again.
- The first answer is slow: the first read after a quiet spell logs in to your broker, which can take several seconds. ChatGPT may retry on its own.
The same server address works in Claude, Cursor and other MCP clients. See the MT5 MCP server and every client setup
Read only or read and trade
https://api.fivesocket.com/mcp offers read tools and, if you approve the trading permission, trading tools. https://api.fivesocket.com/mcp/read offers only the read tools. Use the read-only address if you never want ChatGPT to see a trading tool.
Trading also needs a per-account policy with exact symbols and a maximum order size. If you link with your MT5 investor password, MT5 refuses every trade.
Trading leveraged FX and CFDs carries a high risk of losing money quickly. Try any new setup on a demo account first. FiveSocket connects software to your account, and neither FiveSocket nor an AI assistant's output is investment advice.
Frequently asked questions
- Is FiveSocket an official ChatGPT app?
- No. This guide adds FiveSocket as a custom connector that you create in your own ChatGPT account.
- Will ChatGPT see my MT5 password?
- No. You enter it in FiveSocket in your browser. ChatGPT signs in with its own short-lived token, and no tool accepts a password.
- Can ChatGPT place trades?
- Only on https://api.fivesocket.com/mcp, only after you approve the trading permission, and only within the account's symbol and size policy. Use https://api.fivesocket.com/mcp/read if you want reads only.
- Does it work with my broker?
- Yes, if the account is on MetaTrader 5. Every MT5 broker links the same way, live or demo. MetaTrader 4 accounts are not supported.
- Can I use it from the ChatGPT app on my iPhone or Android phone?
- Create the connector on chatgpt.com in a browser first. Whether developer mode connectors then appear in the ChatGPT phone apps depends on OpenAI and your plan. The Claude apps for iPhone and Android do use the connectors on your Claude account.
- Does it work on a Mac?
- Yes. FiveSocket runs MT5 on its own servers, so ChatGPT on a Mac reaches your account with no Windows virtual machine or VPS.
- Can ChatGPT watch prices or alert me?
- No. FiveSocket has no price stream and no alerts. ChatGPT reads the account when you ask.
- How much does it cost?
- Plans start at $9.99 a month for one MT5 account. Link your MT5 account and try it free, no card: 24 hours or 100 calls, whichever comes first. Then a 7-day free trial, card required. Cancel anytime. The trial includes one connected MT5 account.