@herjarsa/mt5-mcp-super
v1.4.0
Published
One-command installer for mt5-mcp-super MCP server across Claude Code, OpenCode, Codex, Gemini CLI
Maintainers
Readme
@herjarsa/mt5-mcp-super
One-command installer for the mt5-mcp-super MCP server across all major AI coding harnesses.
What it does
npx @herjarsa/mt5-mcp-superDetects which AI harnesses you have installed (Claude Code, OpenCode, Codex, Gemini CLI, Cursor, Windsurf, Continue), installs the mt5-mcp-super Python package via pip, and writes the correct configuration to each harness's config file.
Zero manual editing of ~/.claude.json, ~/.config/opencode/opencode.json, ~/.codex/config.toml, etc.
Supported Harnesses
| Harness | Config File | Format |
|---------|-------------|--------|
| Claude Code | ~/.claude.json, .mcp.json | JSON |
| OpenCode | ~/.config/opencode/opencode.json | JSON |
| Codex CLI | ~/.codex/config.toml | TOML |
| Gemini CLI | ~/.gemini/settings.json | JSON |
| Cursor | ~/.cursor/mcp.json | JSON |
| Windsurf | ~/.codeium/windsurf/mcp_config.json | JSON |
| Continue | ~/.continue/config.json | JSON |
Usage
# Interactive: detect harnesses, ask which to install
npx @herjarsa/mt5-mcp-super
# Install to a specific harness
mt5-mcp-install --harness claude-code
# Install to all detected harnesses
mt5-mcp-install --harness all
# Install to one harness with MT5 credentials
mt5-mcp-install --harness opencode --login 105993141 --password secret --server MetaQuotes-Demo
# List installed harnesses
mt5-mcp-install --list
# Uninstall from specific harness
mt5-mcp-install --uninstall --harness claude-code
# Specify custom Python
mt5-mcp-install --python 3.13Non-interactive install (CI/scripts)
npx @herjarsa/mt5-mcp-super --harness claude-code --yesWhat gets written
For Claude Code (~/.claude.json):
{
"mcpServers": {
"mt5-mcp-super": {
"command": "C:\\Users\\herna\\AppData\\Local\\Python\\pythoncore-3.14-64\\python.exe",
"args": ["-m", "mt5_mcp"],
"env": {}
}
}
}For OpenCode:
{
"mcp": {
"mt5-mcp-super": {
"type": "local",
"command": ["python", "-m", "mt5_mcp"]
}
}
}For Codex:
[[mcp.servers.mt5-mcp-super]]
command = "python"
args = ["-m", "mt5_mcp"]After installation
Restart your AI harness. The mt5-mcp-super MCP server will appear in your tool list with 134 tools covering:
- Trading execution (51 tools)
- EA development + backtesting (70+ tools)
- ML pipeline with online learning
- Multi-broker support (MT5/IBKR/cTrader)
- Risk management + portfolio analytics
- HMM regime detection, RL agents
- Options pricing + Greeks + exotic strategies
Requirements
- Node.js 18+
- Python 3.10+ on PATH (or
py -3.10+on Windows)
License
MIT — see LICENSE.
