Aidatataskrunner Mcp

io.github.TradeSystemsNique由 GitHub 账号 TradeSystemsNique 发布v1.0.0更新于 Oct 25, 2026

MCP server for AiDataTaskRunner Panel (MT5) - Control data generation and ML model training via MCP

概览

AI 生成的概览

本地 MCP 服务器,让助手在 MetaTrader 5 的 AiDataTaskRunner 面板中排队、监控并运行回测任务。

可以做什么
添加带自定义品种、日期和周期的回测任务,并查询任务数量和详情。监控任务状态(处理中、排队、待处理、就绪、失败),并在对话中接收异步状态更新。运行所有待处理任务、清理已完成任务,并以非阻塞的即发即忘方式执行任务。从 CSV 文件保存和加载任务配置,从文本文件保存和加载面板设置。查询数据生成和任务存储文件夹,读取 MT5 日志和系统时间。
适用场景
当你在 MetaTrader 5 中运行 AiDataTaskRunner 面板,并希望用自然语言在 Claude Desktop 中驱动其回测队列和数据生成设置,而不是手动操作面板时使用。
运行要求
Windows 桌面环境,安装 MetaTrader 5 并可正常运行的 AiDataTaskRunner 面板。需从 TheBotPlace 购买许可证(MCP 服务器的 EX5 库和 EXE)。需 tsndep 包从 MQL5 共享项目文件夹安装。需 JSON 配置文件、工具 JSON 路径,并以参数传入 The Bot Place 用户 ID 和 MT5 账户登录 ID。MT5 需允许对配置主机的 WebRequest,并启用自动交易和 DLL 导入。
安装前请注意
需要付费许可证,并以命令行参数传入 The Bot Place 用户 ID 和 MT5 账户登录 ID。它可以添加、运行和清理回测任务并更改面板设置,因此操作会影响你正在使用的 MT5 环境。它依赖在 MT5 中启用 DLL 导入和自动交易,以及与面板的本地 HTTP 连接,这会扩大助手在你机器上可触发的范围。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Aidatataskrunner Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[图片] [图片] [图片] [图片] [图片]

Control AiDataTaskRunner Panel directly via MCP


Main features

Task Management

Control your backtesting queue directly from Claude:

  • Add Tasks: Queue new backtests with custom symbols, dates, and timeframes
  • Monitor Status: Track task progress (Processing, Queued, Pending, Ready, Failed)
  • Batch Operations: Execute all pending tasks or clean completed ones
  • File Management: Save/load task configurations from CSV files

Configuration Control

Manage panel settings via Claude:

  • Load/Save Configurations: Save and load panel settings from text files
  • Query Folders: Check data generation and task storage locations
  • System Information: Access MT5 logs and system time

Natural Language Integration

Use Claude to automate your trading data pipeline:

  • Query task counts and details
  • Add multiple backtests in batch
  • Organize and manage task configurations
  • Monitor real-time execution status

Real-Time Updates

  • Asynchronous operations delivered directly to chat
  • Non-blocking task execution (fire-and-forget support)
  • Instant status feedback from the panel

Repository Structure

AiDataTaskRunerMcp/└── aidatataskrunner_mcp/                      # JSON Tools definition 

Requirements

  • AiDataTaskRunner panel functional.
  • License for McpServer requerid a EX5 Library, and EXE for McpServer, pucharse in: TheBotPlace - McpServerByLeo

Installation

bash
cd "C:\Users\YOUR USER\AppData\Roaming\MetaQuotes\Terminal\YOUR ID\MQL5\Shared Projects"tsndep install "https://forge.mql5.io/nique_372/AiDataTaskRunerMcp.git"
  • For use tsndep command requerid tsndep pacakage (avaible in pypi).. This command automatically downloads all dependencies and installs all requirements from the repositories.

Quick Start (With claude ai) for final users

1. Create a config json

Open Common\Files And create a json file with this structure:

json
{  "general": {    "type_reg": "stdio_stdin",    "json_tools_fpath": "JSON_TOOL_PATH"  },  "mt5_conn": {    "host": "127.0.0.1",    "port": 9999  },  "http_lib": {    "name": "McpMt5Server",    "version": "1.0.0",    "host": "127.0.0.1",    "port": 8080,    "endpoint": "/"  },  "stdio_stdin": {    "name": "MT5 MCP Server",    "version": "1.0.0"  }}
  • JSON_TOOL_PATH: Path to the tools configuration json (you can download the json from the aidatataskrunner_mcp folder and place it in documents for example and put the path to said file here...) Or if you have the repository cloned, you can use the path to tools.json

2. Configure in Claude Desktop

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "aidatataskrunner_mcp": {      "command": "PATH_TO_EXE",      "args": ["PATH_TO_FILE", "YOUR_TBP_ID", "YOUR_MT5_ACCOUNT_LOGIN_ID"       ]    }  }}
  • PATH_TO_EXE: Path to exe McpServer file
  • PATH_TO_FILE: Path to json config file
  • YOUR_TBP_ID: Your The Bot Place user ID
  • YOUR_MT5_ACCOUNT_LOGIN_ID: ACCOUNT_LOGGIN of your mt5 account where AiDataTaskRunner Panel EA is running

3. Configure your MT5

In MT5: Tools → Options → Allowed URLs for WebRequest

  • Add 127.0.0.1 or host you configured.
  • Click Accept
  • Enable AutoTrading and DLL imports

4. Open claude desktop

Open Claude Desktop. At that moment, a Python script is running in the background until it establishes a connection with the EA McpServer.ex5.

5. Connect with AiDataTaskRunner Panel

Start your AiDataTaskRunner Panel in MT5, then go to the Ai tab and then to Mcp, finally configure the server and launch it. A new chart will open with a new EA.

6. Use in Claude

md
- Add a new EURUSD task from 2023.01.01 to 2024.01.01 on H1 timeframe, and Symbol Folder = XAUUSD, Label id = 0- Give me the total number of tasks I have- Clean all task- Run all task

Claude will automatically translate this to the appropriate MCP call.

Note:

You can also use HTTP Remote with the help of "mcp-remote" (see: https://forge.mql5.io/nique_372/McpServer/wiki/Running-HTTP)


Available Tools

Check: Tools definition.


License

Read Full License By downloading or using this repository, you accept the license terms.


Documentation

Full documentation is available in the main repository:


Contact


Copyright © 2026 Nique-Leo.

来源:README.md,提交 ad373b2

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。