Capacity Forecasting Engine MCP
Name: cross.capacity_forecasting_engine
Problem: Reactive scaling decisions waste budget or cause brownouts.
Inputs:
{
"metric": "rate(process_cpu_seconds_total[5m])",
"lookback_hours": 72,
"forecast_hours": 24,
"method": "holtwinters"
}
Algorithm:
- Retrieve time-series
- Fit selected model (fallback to linear)
- Forecast + confidence interval
- Compare forecast vs threshold (e.g., 75% CPU)
Output:
{
"current_value": 0.62,
"forecast_peak": 0.78,
"ci90": [0.71,0.82],
"threshold_risk":"moderate",
"recommendations":["Plan +1 replica before peak window"]
}
Extensions:
- Add capacity per shard aggregation