fix: update server.json with real SHA256 and shorten description

- Description: 96 chars (was >100)
- SHA256: calculated from local MCP package build
This commit is contained in:
Devid HW
2026-04-20 02:54:28 +07:00
parent a1434914e9
commit 63c0470c6b
18 changed files with 3891 additions and 2 deletions
+27
View File
@@ -0,0 +1,27 @@
; MT5 optimization .set file — example
; Format: param=current_value||start||step||stop||Y (Y=sweep this param)
; param=current_value||N (N=fixed, no sweep)
;
; MT5-Quant handles encoding automatically:
; - Converts to UTF-16LE (MT5 strips ||Y flags from UTF-8 files)
; - Sets read-only flag after writing
; - Resets OptMode in terminal.ini before launch
;
; Copy to your project dir and point --set to it.
; ── Entry parameters (sweep) ─────────────────────────────────────────────────
Min_Entry_Confidence=0.610||0.580||0.010||0.650||Y
Max_Entry_Spread=30||10||5||50||Y
; ── Take-profit and stop-loss (sweep) ────────────────────────────────────────
TP_Pips=400||300||50||600||Y
SL_Pips=800||600||100||1200||Y
; ── Grid / martingale settings (fixed) ───────────────────────────────────────
MaxLayers=6||N
LotMultiplier=1.5||N
GridStep_Pips=150||N
; ── Risk management (fixed) ──────────────────────────────────────────────────
Max_DD_Percent=15.0||N
CutLoss_Percent=25.0||N
+45
View File
@@ -0,0 +1,45 @@
# mt5-quant configuration (flat key format — no YAML nesting)
# Copy this file to config/mt5-quant.yaml and fill in your paths.
# ── MT5 / Wine paths ──────────────────────────────────────────────────────────
# macOS (CrossOver / MetaTrader 5.app)
wine_executable: "/Applications/MetaTrader 5.app/Contents/SharedSupport/wine/bin/wine64"
terminal_dir: "$HOME/Library/Application Support/net.metaquotes.wine.metatrader5/drive_c/Program Files/MetaTrader 5"
experts_dir: "$HOME/Library/Application Support/net.metaquotes.wine.metatrader5/drive_c/Program Files/MetaTrader 5/MQL5/Experts"
tester_profiles_dir: "$HOME/Library/Application Support/net.metaquotes.wine.metatrader5/drive_c/Program Files/MetaTrader 5/MQL5/Profiles/Tester"
tester_cache_dir: "$HOME/Library/Application Support/net.metaquotes.wine.metatrader5/drive_c/Program Files/MetaTrader 5/Tester"
# Linux (Wine)
# wine_executable: "/usr/bin/wine64"
# terminal_dir: "$HOME/.wine/drive_c/Program Files/MetaTrader 5"
# experts_dir: "$HOME/.wine/drive_c/Program Files/MetaTrader 5/MQL5/Experts"
# tester_profiles_dir: "$HOME/.wine/drive_c/Program Files/MetaTrader 5/MQL5/Profiles/Tester"
# tester_cache_dir: "$HOME/.wine/drive_c/Program Files/MetaTrader 5/Tester"
# ── Display ───────────────────────────────────────────────────────────────────
# auto: GUI on macOS CrossOver, Xvfb on Linux without $DISPLAY
# gui: always use display (requires active session)
# headless: always use Xvfb (requires xvfb-run)
display_mode: auto
# ── Project ───────────────────────────────────────────────────────────────────
# Root directory of your EA project (where .mq5 and .set files live)
project_dir: "/path/to/your/ea/project"
# ── Backtest defaults ─────────────────────────────────────────────────────────
# These are fallbacks when not passed as MCP tool arguments
backtest_symbol: "EURUSD"
backtest_deposit: 10000
backtest_currency: USD
backtest_leverage: 100
backtest_model: 0
backtest_timeframe: H1
backtest_timeout: 900
# ── Optimization ──────────────────────────────────────────────────────────────
opt_log_dir: /tmp
opt_min_agents: 1
# ── Reports output ────────────────────────────────────────────────────────────
reports_dir: "/path/to/your/ea/project/reports"
+45
View File
@@ -0,0 +1,45 @@
# mt5-quant configuration — generated by scripts/setup.sh
# Re-run scripts/setup.sh to regenerate, or edit manually.
mt5:
# Path to Wine / CrossOver wine64 binary
wine_executable: "/Applications/MetaTrader 5.app/Contents/SharedSupport/wine/bin/wine64"
# MT5 installation directory (inside the Wine prefix)
terminal_dir: "/Users/masdevid/Library/Application Support/net.metaquotes.wine.metatrader5/drive_c/Program Files/MetaTrader 5"
# Where MT5 looks for Expert Advisor binaries (.ex5)
experts_dir: "/Users/masdevid/Library/Application Support/net.metaquotes.wine.metatrader5/drive_c/Program Files/MetaTrader 5/MQL5/Experts"
# Where MT5 reads/writes .set files during backtests
tester_profiles_dir: "/Users/masdevid/Library/Application Support/net.metaquotes.wine.metatrader5/drive_c/Program Files/MetaTrader 5/MQL5/Profiles/Tester"
# MT5 tester cache directory (cleared before each run)
tester_cache_dir: "/Users/masdevid/Library/Application Support/net.metaquotes.wine.metatrader5/drive_c/Program Files/MetaTrader 5/Tester"
display:
# headless: true → Xvfb (Linux only)
# headless: false → GUI visible
# headless: auto → macOS=GUI, Linux with $DISPLAY=GUI, Linux without=Xvfb
mode: auto
# Virtual display for Xvfb (Linux headless only)
xvfb_display: ":99"
xvfb_screen: "1024x768x16"
backtest:
symbol: "XAUUSD"
deposit: 10000
currency: "USD"
leverage: 500
model: 0 # 0=every tick (required for martingale/grid EAs)
timeframe: "M5"
timeout: 900 # seconds per backtest run
optimization:
log_dir: "/tmp"
min_agents: 1
reports:
output_dir: "./reports"
keep_last: 20