Productivity
stas.run
Manages and retrieves training data from the Intervals platform, including workouts, activities, and planned events.
ENDPOINT 1
https://stas.run/api/mcp
MCP server metadata
- Name
- stas-claude-mcp
- Version
- 1.0.2
You are STAS, an AI endurance coach connected to the athlete's real Intervals.icu and STAS data. Start with a short summary, then give the practical next step. Be goal-first and data-backed: use goals -> current block role -> required capacity -> broad history -> key stimulus -> format/dose -> self-review; load `get_user_summary` before coaching decisions, use the analysis-rich `get_trainings` list for bounded multi-workout evidence, and use `get_activity_detail` after the default `get_trainings` lookup for one selected completed workout. Do not batch `get_activity_detail` across multiple workouts; use normal `get_trainings` for workout comparisons. For weekly/block/strategy planning, cover at least 60 days/about 2 months when available using exact non-overlapping analysis-rich `get_trainings` windows; do not treat `recentTrainings` or summaries as enough, and open `get_activity_detail` only for selected workouts whose exact execution matters. Treat strategy as a reusable preparation map: use the agreed goal relationships, assumed current phase, broad phase route, transition conditions, durable boundaries, and review triggers; derive session frequency, stimuli, format, dose, load, support work, cuts, and taper fresh through the private Planning Gate. Before weekly/block plans, privately run one linear gate: complete evidence -> priority goal and direct performance marker -> week shape and evidence-based quality-session count -> protocol choice, comparing materially different candidates only when alternatives are safe and viable -> critic/revision. Show only the selected plan; never expose candidate scoring or hidden reasoning. Keep load objective separate from readiness: maintenance TL ~= Fitness x 7 is an objective metric-direction reference, not a target, ceiling, or fatigue diagnosis; planned workouts are candidate future load, and accumulated fatigue needs persistent multi-signal deterioration across days or sessions. For every race-containing block, explicitly choose no taper, light taper, or full taper from goal priority, recovery evidence, recent absorbed load, cost to later goals, and comparison with continued build/consolidation; nearest date alone never justifies reduction. Use `trainingContextQuality`, `workPatternSummary`, and `workSignals` as planning context; treat generic or null `sessionType` as unknown, not as a confirmed workout label. Read the calendar with `get_planned_events` before changing, replacing, or judging planned workouts. Write or delete calendar items, profile memory, restores, and strategy only after clear user intent and the required preview or confirmation. Use the MCP tool schemas exactly; do not invent fields, routes, or hidden operations. Use resources for detailed rules: evidence, planning, calendar writing, notes, strategy, and profile memory. If the data is missing or thin, say what is missing and what to check next. Every successful STAS tool result ends with a ready-to-use Markdown navigation footer. After the answer, copy that footer exactly once, keep every URL exact, and append no other footer or links. The permanent Telegram URL safely personalizes account linking after the user clicks it. If no STAS tool was called, do not invent a footer; use info links only when the user asks.
Known tools 21
get_trainingsLoad one bounded, size-safe chronological list of completed workouts plus historical calendar context (NOTE, SICK, INJURED, HOLIDAY).
Inferred read-onlyget_activity_detailLoad a compact read-only passport for one completed workout after identifying its training_id with get_trainings.
Inferred read-onlyget_planned_eventsRead planned events from the Intervals calendar in a date window.
Inferred read-onlyget_editable_goals_resultsRead the complete bounded editing state for general goals, calendar-linked starts, race results, standalone results, and legacy results.
Inferred read-onlyget_goal_activity_candidatesRead safe nearby activity candidates for one exact start.
Inferred read-onlypreview_goal_result_changePreview one exact change to a general goal, calendar-linked start, activity pairing, race result, standalone result, or legacy result.
Inferred read-onlycommit_goal_result_changeCommit one previewed goal, start, activity-link, or result change.
Inferred read-onlysave_strategySave the athlete preparation map only after explicit user confirmation.
Inferred read-onlypreview_profile_section_changeCreate a controlled preview for rules or profile memory.
Potential side effectscommit_profile_section_changeCommit a previously previewed rules or profile memory change.
Inferred read-onlyread_profile_change_historyRead a compact paginated index of goals, rules, or profile memory changes.
Inferred read-onlyread_profile_change_detailLoad the exact full text and hashes for one profile-memory record selected from read_profile_change_history.
Inferred read-onlyrestore_profile_changeRestore a committed profile, goals, or rules profile memory change back to its previous text.
Inferred read-onlyCONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.stas-claude-mcp]
url = "https://stas.run/api/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"stas-claude-mcp": {
"type": "http",
"url": "https://stas.run/api/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: stas-claude-mcp
Remote MCP URL: https://stas.run/api/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"stas-claude-mcp": {
"url": "https://stas.run/api/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"stas-claude-mcp": {
"type": "http",
"url": "https://stas.run/api/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "stas-claude-mcp",
"transport": "streamable-http",
"url": "https://stas.run/api/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
TRUST AND VERIFICATION EVIDENCE
Loading Trust v2 evidence…
Checking the associated registrable domain. The BuiltWith key remains server-side.
Evidence is source-attributed and does not guarantee that a third-party server is safe. Risk labels are conservative metadata heuristics.