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

Repository Structure

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

Requirements

  • For repo code
  • For user use:

Installation

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. Install MCP Server

# Install from PyPI
pip install aidatataskrunner-mcp

2. Create a config json

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

{
    "general_config": {
        "port": 9999,
        "host": "localhost",
        "mode": "fast_mcp"
    },
    "fast_mcp": {
        "name": "FastMcpServer"
    },
    "http": {
        "http_port": 8000,
        "name": "HTTP Server",
        "tools_namespace": "tools"
    }
}

3. Configure in Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "aidatataskrunner": {
      "command": "python",
      "args": ["-m", 
      "aidatataskrunner_mcp", 
      "--config", 
      "PATH_TO_FILE", 
      "--config_encodig", 
      "utf-8"
      ]
    }
  }
}
  • PATH_TO_FILE: Path to json config file

4. 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.

5. 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

6. Use in Claude

- 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.


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.9.tar.gz (6.6 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.9-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aidatataskrunner_mcp-1.0.9.tar.gz
  • Upload date:
  • Size: 6.6 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.9.tar.gz
Algorithm Hash digest
SHA256 cf9ba98585a3272a97a7aeec8ce34e55ab8067bc170fb4c6f57c3b662b8b9c75
MD5 a0cdfb18c3a26c75b9b3dbdfb1fd4954
BLAKE2b-256 bd794b9f87eca3c85109a1ebf082a5e7a31ad67c58e6446e71d29964d743e29f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidatataskrunner_mcp-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 489bd73cd2922f4bbecdd5e04d0d49db7f8d6e54119bd8de75d49d78bec14b82
MD5 c44c5d2d449a3cf6a5b370540e30474a
BLAKE2b-256 e485e4a45d13b2ca36d60cbc8397e01ae33bd80ecd62f449de52519d9adec700

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