XTester MCP usage scenarios
Below are conceptual capability-level scenarios. Exact tool calls will be added after the release catalog is verified; the status of these examples is conceptual, not verified. The approvals mentioned are the expected workflow, not proof of technical enforcement.
Scenario 1. Verify an existing strategy
- discover environment capabilities;
- confirm the workspace;
- inspect the project and spec;
- validate data coverage;
- compile;
- run a backtest;
- inspect the summary, trades and equity curve;
- report assumptions and limitations.
Scenario 2. Build a strategy from a brief
- read the environment and API docs;
- create strategy files through MCP, not the OS filesystem;
- validate and format;
- compile;
- download a bounded history range;
- backtest;
- present the first result without claiming profitability.
Scenario 3. Compare parameters
- freeze the source and data range;
- run controlled variants;
- compare metrics, trade count, drawdown and turnover;
- state what was held constant;
- avoid cherry-picking a best run after the fact.
Scenario 4. Walk-forward / research
- define training and test windows;
- set token and compute budgets;
- launch a long-running job;
- poll status;
- preserve the holdout;
- report dependent tests and limitations.
Scenario 5. Porting a strategy from another platform (conversion)
Conceptual sequence (exact names and order are reconciled with the release's machine catalog):
- import the source and confirm the right to use it (
confirm_rights); - begin the conversion run and read the source;
- get the XTester context — API and environment limits;
- record the behaviour model and the decisions for incompatibilities;
- hand the port files to the project and compile;
- pass the semantic audit and, when a reference report exists, the diff-test;
- finalise with an honest status and a final report.
Core pipeline tools: convert_import_source, convert_begin, convert_read_source, convert_get_xtester_context, convert_submit_behavior_model, convert_submit_decisions, convert_submit_files, convert_compile, convert_submit_semantic_audit, convert_finalize; service tools — list_conversion_runs, convert_get_manifest, convert_status, get_conversion_report, convert_cancel.
Only source is accepted (.ex4/.ex5/.dll — no). A successful compile does not confirm behavioural correctness. Without a reference report the result is "not confirmed"; identity with the original's results is not claimed.
Each scenario implies a user prompt, a recommended capability sequence, approvals, expected artifacts, failure paths and result interpretation.