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 requirements.txt and pyproject.toml

MetaTrader 5

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

Installation of Repository Code

Clone

git clone https://github.com/TradeSystemsNique/AiDataTaskRunerMcp.git
cd AiDataTaskRunerMcp

Install for Development

pip install -e .

Run Locally

aidatataskrunner-mcp

Contact me

Contact me privately on MQL5 chats (user: nique_372) to be added as a collaborator with your MQL5 nickname (read-only access), which will make the repository automatically appear in your Shared Projects folder.

Fork

Fork the repository.


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:


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.7.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.7-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aidatataskrunner_mcp-1.0.7.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.7.tar.gz
Algorithm Hash digest
SHA256 abb16f620d0cf172b664eabfd537182514d8325a9627ab0660b6d92c17e93f38
MD5 c511cb73f9c6c7282b3e5f58e2f22832
BLAKE2b-256 5cce01c9a1780248a5c9e46855c8c8b2fe1ae9c0db05628eef8a253cbcc6a23b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aidatataskrunner_mcp-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 468ac86132adc0538592e554c9b4395dcce5ad970545ea3696cfa53d23a666fe
MD5 76011215948c7391d111da745e45f9aa
BLAKE2b-256 673875a65820a64697e425cc09a19cd7e8140966b62a2d1814e2e2c1b0876a91

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