3f827fd168
**README.md:** - Updated tool count: 28 → 43 - Added granular analytics tools section (8 tools) - Added list_indicators, list_scripts, healthcheck to Core workflow - Added get_latest_report, search_reports to Reports section **docs/ARCHITECTURE.md:** - Updated file structure from monolithic (definitions.rs, handlers.rs) to modular (definitions/, handlers/ with 9 domain submodules) - Updated tool count: 27 → 43 **WINDSURF_SETUP.md:** - Cleaned up mixed Indonesian/English text - 'Deployment ke' → 'Deployment to', 'di' → 'at', 'atau' → 'or' **CLAUDE.md:** (gitignored template, updated but not committed) - Updated file structure documentation - Updated tool count: 27 → 43 - Updated tool development workflow for modular architecture
2.0 KiB
2.0 KiB
Windsurf MCP Integration Setup
Quick Setup
Option 1: Download Prebuilt Binary (Recommended)
# macOS (Apple Silicon)
curl -L -o mt5-quant.tar.gz https://github.com/masdevid/mt5-mcp/releases/latest/download/mt5-quant-macos-arm64.tar.gz
tar -xzf mt5-quant.tar.gz
# Linux (x64)
curl -L -o mt5-quant.tar.gz https://github.com/masdevid/mt5-mcp/releases/latest/download/mt5-quant-linux-x64.tar.gz
tar -xzf mt5-quant.tar.gz
Option 2: Build from Source
bash scripts/build-rust.sh
2. Configure Windsurf
Edit ~/.windsurf/config.yaml:
mcpServers:
mt5-quant:
command: /Users/masdevid/jobs/mt5-quant/target/release/mt5-quant
env:
MT5_MCP_HOME: /Users/masdevid/jobs/mt5-quant
3. Restart Windsurf
Close and reopen Windsurf to load the MCP server.
4. Verify
In Windsurf chat, test with:
Run verify_setup
Deployment to Multiple Machines
Build for Distribution
# Build release binary
cargo build --release
# Create tarball
tar -czf mt5-quant-macos-arm64.tar.gz -C target/release mt5-quant
# Deploy to remote server
scp mt5-quant-macos-arm64.tar.gz user@server:~/
ssh user@server "tar -xzf mt5-quant-macos-arm64.tar.gz -C /opt/"
ssh user@server "ln -s /opt/mt5-quant /usr/local/bin/"
# Copy config
scp -r config/mt5-quant.yaml user@server:~/.config/mt5-quant/config/
Target Machine Requirements
- MetaTrader 5 installed (via Wine/CrossOver)
- Config file at
~/.config/mt5-quant/config/mt5-quant.yaml - NO Python required!
Windsurf Config on Target Machine
mcpServers:
mt5-quant:
command: /usr/local/bin/mt5-quant
Troubleshooting
MCP server not appearing
- Check Windsurf logs:
~/.windsurf/logs/ - Verify executable path is absolute
- Test executable manually:
./target/release/mt5-quant --help
Config not found
Set MT5_MCP_HOME environment variable or ensure config is at default location:
- macOS:
~/.config/mt5-quant/config/mt5-quant.yaml
Permission denied
chmod +x /path/to/mt5-quant