MetaQuotes has released MetaTrader 5 Beta Build 6030, adding native support for the Model Context Protocol and AI agents, passkey authentication, new account access levels and major MetaEditor and MQL5 enhancements.
MetaTrader 5 Releases Beta Build 6030: Native Integration of MCP and AI Agents
MetaQuotes released a new beta version of the MetaTrader 5 platform, Build 6030, on Thursday 2026-07-16. The core new feature of this version is built-in support for the Model Context Protocol (MCP) and artificial intelligence (AI) agents. The terminal and MetaEditor now integrate an AI assistant that can help analyse markets and trading activity, develop MQL5 applications, explain code, identify errors and automate complex tasks.(Source: official MQL5.community announcement, published: 2026-07-16.)
In addition to the built-in assistant, the platform also supports external MCP-compatible AI agents, including OpenAI Codex, Claude Code and other solutions. This version uses MCP as a universal interface, allowing MetaTrader to connect to external AI agents without tying the platform to a single provider. Once this testing phase concludes, the final version of MetaTrader 5 will be released.
MCP Support: AI Agents Connect to the Trading Platform
MCP is an open standard that enables applications to communicate with AI agents. Unlike traditional chatbots, AI agents can break complex tasks down into a series of operations and complete them independently by making use of the capabilities of the connected application. With built-in MCP support, MetaTrader 5 can act as a source of market data and trading functionality for AI agents, which can access market information, analyse charts, operate the trading environment and execute operations through the standard MCP interface.
No additional setup is required to enable the AI features; users simply log in to the platform with an MQL5.community account, and all users automatically receive a free MQL5 Lite plan. The default AI provider is MQL5.community, with the requiredAPIkeys configured automatically; users may also use their own keys. Supported providers include:
OpenAI
Anthropic
Gemini
DeepSeek
Ollama
The company explicitly notes that AI-generated responses are for reference only and do not constitute investment advice. AI operations are governed by configurable security settings; users can allow or prohibit AI-initiated trading operations, or require manual confirmation.(Source: official MQL5.community announcement, published: 2026-07-16.)
Passkey Authentication: Defending Against Phishing and Credential Theft
Build 6030 adds passkey support, a modern technology for protecting trading accounts. A passkey provides an additional authentication factor at login, so that even if an attacker obtains an account's login and password, they still cannot access the account without verification from the user's registered device or hardware security key. Passkeys can be stored on a mobile device or a hardware security key. They are enabled and used as follows:
Passkey support is enabled on the broker's side; if the account supports it, the terminal will prompt the user to create a passkey after they first enter their login and password.
When saving on a mobile device, use a smartphone to scan the QR code displayed by the terminal and select save on the mobile device.
When using a hardware security key, connect a compatibleFIDO2security key to the computer and follow the on-screen instructions.
When using a passkey stored on a mobile device, the computer must support Bluetooth, which is used to verify that the mobile device is within physical proximity, in order to prevent remote authentication attacks.
Basic login and password verification remains available, with the passkey serving as an additional authentication factor. Users can remove a registered passkey via the Passkey Manager in the account context menu of the Navigator window. In addition, the terminal introduces two new account access levels: Trader (permits trading, prohibits changing the password and deposits/withdrawals) and Funds Management (permits deposits, withdrawals and transfers between accounts, prohibits trading and changing the password); accessing these modes requires a separate password.
MetaEditor and MQL5: Significantly Enhanced Development Features
For developers, MetaEditor has been substantially enhanced. The AI assistant in MetaEditor has become a fully featured development assistant that can generate new MQL5 programs, analyse existing code, detect errors and suggest fixes, explain complex algorithms, and assist with refactoring and project improvements. Users can launch the assistant from the File menu, the toolbar or the Navigator context menu and describe their task in natural language. The main development-side improvements in this version include:
A new code-folding feature that can collapse and expand code blocks such as functions, classes, loops and conditional statements.
A new feature that highlights all matches when a word is selected, making it easier to quickly locate related code segments.
Expanded MQL5 mathematical functionality, introducing new linear algebra and matrix methods based on LAPACK and OpenBLAS.
Performance optimisation of the MQL5 text output function TextOut, which is up to three times faster than previous versions in some scenarios.
A new SymbolInfoCommissions function for retrieving commission information for trading symbols.
*.mq5 and *.mqh files are now saved in UTF-8 encoding without a BOM, and *.mqproj projects now support UTF-8.
Key New Features of Build 6030 at a Glance
| Category | Feature | Description | Date |
|---|---|---|---|
| Core AI | Native support for MCP and AI agents | AI assistant integrated into the terminal and MetaEditor, with support for external agents | 2026-07-16 |
| Account security | Passkey authentication | Additional authentication factor, storable on a mobile device or hardware key | 2026-07-16 |
| Account modes | Trader / Funds Management access levels | Separately restrict trading and funds operations, each requiring a separate password | 2026-07-16 |
| Development tools | Code folding, match highlighting, matrix methods | MetaEditor enhancements, with expanded LAPACK/OpenBLAS support | 2026-07-16 |
How to Update to the Beta Version
MetaQuotes invites all traders to take part in testing, evaluate the new features and help fix bugs. To update to the latest MetaTrader 5 beta, go to "Help" → "Check for Desktop Updates" → "Latest Beta". This version also includes a number of fixes to the terminal, the MQL5 language, the strategy tester and the help system, such as an initialisation issue with the trading dialog for instant-execution symbols, calculation of the regression channel graphical object, and the addition of keyboard shortcut support such as Ctrl+Tab in the help system.(Source: official MQL5.community announcement, published: 2026-07-16.)
Questions Relating to MetaTrader 5 Build 6030
When was MetaTrader 5 Beta Build 6030 released?
MetaQuotes released this beta version on Thursday 2026-07-16. Its core new feature is native support for the Model Context Protocol (MCP) and AI agents, with an AI assistant integrated into both the terminal and MetaEditor.
What is MCP, and what role does it play in the platform?
MCP is an open standard that enables applications to communicate with AI agents. With built-in MCP support, MetaTrader 5 can act as a source of market data and trading functionality for AI agents, which can access market information, analyse charts and operate the trading environment through a standard interface.
Which external AI agents can be connected?
In addition to the built-in AI assistant, the platform supports external MCP-compatible AI agents, including OpenAI Codex and Claude Code. Users can also use their own API keys from providers such as OpenAI, Anthropic, Gemini, DeepSeek and Ollama.
How do passkeys improve account security?
A passkey provides an additional authentication factor at login. Even if an attacker obtains an account's login and password, they still cannot access the account without verification from the user's registered device or hardware security key, thereby defending against phishing and credential theft. Passkeys can be stored on a mobile device or a hardware security key.
How do I update to the latest beta version?
You can update by going to "Help" → "Check for Desktop Updates" → "Latest Beta". No additional setup is required to enable the AI features; users simply log in with an MQL5.community account and automatically receive a free MQL5 Lite plan.