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. |
Capabilities
Features and capabilities supported by this server
| 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). |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/alforge-labs/alpha-forge-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server