Skip to main content

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

Project description

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

Quick Start (With claude ai)

1. Install MCP Server

# Install from PyPI
pip install aidatataskrunner-mcp

# Or install in development mode
pip install -e .

2. Configure in Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "aidatataskrunner": {
      "command": "python",
      "args": ["-m", "aidatataskrunner_mcp", "--host", "127.0.0.1", "--port", "9999"]
    }
  }
}

3. Configure your MT5

Navigate to the "Tools" section >> "Options" >> "Allowed URLs for WebRequest", add a new field with the host/address you will be using (in this case "127.0.0.1"), and click Accept.

4. Connect with AiDataTaskRunner Panel

Start your AiDataTaskRunner Panel in MT5 with the AI tab enabled:

  • The panel will connect to the MCP server on port 9999
  • Claude will automatically detect available tools

5. Use in Claude

Add a new EURUSD backtest from 2023.01.01 to 2024.01.01 on H1 timeframe

Claude will automatically translate this to the appropriate MCP call.


Repository Structure

AiDataTaskRunerMcp/
└── aidatataskrunner_mcp/                      # Python MCP server source code
    └── __init__.py
 

Requirements

Python

  • Python >= 3.10
  • Dependencies listed in dependencies.json (or sub-dependencies of this repo)

MetaTrader 5

  • AiDataTaskRunner Panel installed and configured
  • MCP connection enabled in the AI tab
  • Network connectivity between Claude and MT5 (default: localhost:9999)

Installation

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

Available Tools

Task Management

  • aidatataskrunner_add_task — Add a new backtest task
  • aidatataskrunner_get_task_total — Get total task count
  • aidatataskrunner_get_task_by_index — Get task details by index
  • aidatataskrunner_get_task_status — Get task execution status
  • aidatataskrunner_execute_all_tasks — Execute all pending tasks
  • aidatataskrunner_clean_all_tasks — Clean completed tasks

File Operations

  • aidatataskrunner_save_tasks_to_file — Export tasks to CSV
  • aidatataskrunner_load_tasks_from_file — Import tasks from CSV
  • aidatataskrunner_save_config — Save panel configuration
  • aidatataskrunner_load_config — Load panel configuration

Information Queries

  • aidatataskrunner_get_main_folder — Get main data folder path
  • aidatataskrunner_get_task_folder — Get tasks folder path
  • aidatataskrunner_is_in_commonfolder — Check if using common MT5 folder

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aidatataskrunner_mcp-1.0.8.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aidatataskrunner_mcp-1.0.8-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file aidatataskrunner_mcp-1.0.8.tar.gz.

File metadata

  • Download URL: aidatataskrunner_mcp-1.0.8.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.9

File hashes

Hashes for aidatataskrunner_mcp-1.0.8.tar.gz
Algorithm Hash digest
SHA256 cbdccd52e336a31d3c72a47be97f40ce72d18deb8e72fde981a92f4ed843ec38
MD5 b129d2ccf38331ac7c84d126d263d6fc
BLAKE2b-256 3fb2f96fcab941066e8952c46d60d8a5f8b9de01609e6a259da8b277dc2017c0

See more details on using hashes here.

File details

Details for the file aidatataskrunner_mcp-1.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for aidatataskrunner_mcp-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 7b85cf7c7adb00bdc290a0304d624d155c058598db8f9800e7ba6c1573d4ab50
MD5 9ce2c35f1224516944194421a2c7471a
BLAKE2b-256 efb028b74829835f7b4dc0142bc8917e2b03e75afea037736472b222d574243e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page