alpha-forge-mcp
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ALPHA_FORGE_BIN | No | Path to the alpha-forge binary. If not set, the binary is searched on PATH or in default install locations. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_strategiesA | List all registered AlphaForge strategies (strategy_id, name, version, timeframe). |
| get_strategyA | Get the full JSON definition of a registered strategy by its strategy_id. |
| list_resultsA | List saved backtest results, optionally filtered by strategy_id. |
| get_resultA | Get metrics and trades for a saved backtest result (result_id = strategy_id or run_id). |
| run_backtestA | Run a backtest for |
| run_optimizeA | Optimize strategy parameters with Optuna for |
| generate_pinescriptB | Generate TradingView Pine Script v6 for a strategy. Returns {strategy_id, pinescript}. |
| run_walk_forwardA | Run walk-forward optimization for |
| run_monte_carloA | Run a Monte Carlo simulation from a saved backtest result (resamples its trades). |
| fetch_dataA | Fetch & cache historical OHLCV for |
| save_strategyA | Register a strategy from its JSON body (not a file path; agent-friendly). |
| forge_statusA | Report alpha-forge capabilities/prerequisites before use (doctor + version). |
| apply_optimizationA | Apply an optimization result file to a strategy, saving |
| list_journalsA | List strategies that have a journal (history of snapshots and runs). |
| get_journalA | Get the full journal (snapshots, runs, tags, notes) for a strategy_id. |
| exploration_statusA | Show the strategy-exploration coverage map (explored vs. untried combos). |
| get_indicatorA | Get metadata for a technical indicator (description, parameters, output, example). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| backtest_and_review | Guide: run a backtest for a strategy/symbol, then review the metrics. |
| optimize_and_verify | Guide: optimize a strategy with Optuna, then check it is not overfit. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| resource_strategies | All registered strategies (same payload as the list_strategies tool). |
| resource_results | All saved backtest results (same payload as the list_results tool). |
TDQS
Scored across 17 tools
Most tools have distinct purposes. run_optimize and run_walk_forward both optimize but are differentiated by description (single vs. walk-forward). get_result, get_strategy, and get_journal serve different retrieval needs. Minor overlap but clear descriptions guide selection.
Tools predominantly follow verb_noun pattern with underscores (e.g., run_backtest, get_strategy). One tool, exploration_status, uses noun_noun, breaking the pattern slightly. Overall consistent and readable.
17 tools are well-scoped for a quantitative backtesting platform, covering data fetching, strategy management, backtesting, optimization, Monte Carlo, walk-forward, and results. Each tool has a clear role without bloat.
The tool surface covers the full lifecycle from data fetch to strategy registration, backtesting, optimization, and result analysis. Minor gaps like missing delete/update tools for strategies or results, but core workflows are intact.