{
  "serverInfo": {
    "name": "icusync-mcp-remote",
    "title": "IcuSync",
    "version": "1.0.0",
    "description": "Remote MCP server that connects Claude to your intervals.icu training data — read activities, fitness metrics, wellness, and push structured workouts to your calendar.",
    "websiteUrl": "https://icusync.icu",
    "icons": [
      { "src": "https://icusync.icu/icon-192.png", "mimeType": "image/png", "sizes": ["192x192"] }
    ]
  },
  "transport": {
    "type": "http",
    "authentication": {
      "type": "bearer",
      "description": "IcuSync API token — obtain from your IcuSync account dashboard."
    }
  },
  "capabilities": {
    "tools": [
      {
        "name": "get_athlete_profile",
        "description": "Retrieve athlete profile including FTP, training zones, threshold values, and sport settings.",
        "readOnly": true
      },
      {
        "name": "get_training_history",
        "description": "Retrieve recent training activities and fitness data (CTL, ATL, TSB) from intervals.icu.",
        "readOnly": true
      },
      {
        "name": "get_activity_detail",
        "description": "Retrieve detailed interval-by-interval data for a specific activity including pace, power, HR, and zone distribution.",
        "readOnly": true
      },
      {
        "name": "get_events",
        "description": "Retrieve planned calendar events (workouts, races, notes, holidays) from intervals.icu.",
        "readOnly": true
      },
      {
        "name": "get_fitness",
        "description": "Retrieve CTL, ATL, and TSB across a date range, including future projections for taper planning.",
        "readOnly": true
      },
      {
        "name": "get_wellness",
        "description": "Retrieve daily wellness data: sleep, HRV, resting HR, weight, and subjective scores.",
        "readOnly": true
      },
      {
        "name": "push_wellness",
        "description": "Write wellness data to intervals.icu — nutrition totals, subjective scores (fatigue, soreness, mood, motivation, stress), weight, and daily notes.",
        "readOnly": false
      },
      {
        "name": "get_best_efforts",
        "description": "Retrieve personal records — fastest times and paces for Run/Swim, best mean-maximal power for Ride.",
        "readOnly": true
      },
      {
        "name": "get_power_curves",
        "description": "Get best power output curve across durations for a given period and sport.",
        "readOnly": true
      },
      {
        "name": "get_climb_segments",
        "description": "Detect sustained climb segments in an activity and compute VAM (vertical ascent rate) for each.",
        "readOnly": true
      },
      {
        "name": "push_workout",
        "description": "Push one or more structured workouts to the intervals.icu training calendar.",
        "readOnly": false
      },
      {
        "name": "edit_workout",
        "description": "Update an existing workout on the intervals.icu calendar by event ID.",
        "readOnly": false
      },
      {
        "name": "delete_workout",
        "description": "Delete a workout from the intervals.icu calendar. Irreversible — requires user confirmation.",
        "readOnly": false,
        "destructive": true
      },
      {
        "name": "get_extended_metrics",
        "description": "Retrieve advanced sensor metrics per interval: running dynamics (GCT, vertical oscillation), core temperature, DFA alpha1, W' balance, and blood glucose.",
        "readOnly": true
      },
      {
        "name": "get_training_summary",
        "description": "Aggregate training stats over a date range: total volume, TSS, calories by sport, power/HR/pace zone distribution, and week-by-week breakdown.",
        "readOnly": true
      },
      {
        "name": "update_activity",
        "description": "Update a completed activity in intervals.icu — name, description, feel, perceived exertion, carbs ingested, gear, tags, and custom activity fields.",
        "readOnly": false
      },
      {
        "name": "add_activity_comment",
        "description": "Post a comment on a completed activity's comment thread in intervals.icu: coaching feedback, notes, or replies, separate from the single overwritable description field.",
        "readOnly": false
      },
      {
        "name": "update_sport_settings",
        "description": "Update an athlete's threshold values (FTP, threshold pace, LTHR, max HR, W') in intervals.icu for Run, Ride, or Swim.",
        "readOnly": false
      },
      {
        "name": "get_ride_power_patterns",
        "description": "Analyse a Ride's power stream for coasting time (short vs long coasts) and repeated hard/easy burst patterns.",
        "readOnly": true
      },
      {
        "name": "get_interval_intensity_stats",
        "description": "Robust per-interval power or pace stats (median, IQR, coefficient of variation, ramp-trimmed settled mean) plus optional time in target band.",
        "readOnly": true
      },
      {
        "name": "get_grade_adjusted_pace",
        "description": "Convert a run's actual hilly pace into flat-ground-equivalent effort (grade adjusted pace), using the running-economy-of-grade model behind GAP on Strava, TrainingPeaks and Intervals.icu.",
        "readOnly": true
      },
      {
        "name": "get_pacing_shape",
        "description": "Classify how effort was distributed across a continuous run or ride (negative split, positive split, or even) using grade-adjusted pace or normalized power.",
        "readOnly": true
      },
      {
        "name": "get_comparable_efforts",
        "description": "Find past activities with an interval effort matching a target duration and intensity, e.g. a 5-minute effort around 120% FTP, or pick sessions by name, tag or library workout, and show the trend across them: average power or pace, heart rate and efficiency per session, and the change from first to last.",
        "readOnly": true
      },
      {
        "name": "get_training_plan",
        "description": "Read the periodization structure of the athlete's currently assigned intervals.icu training plan: name, duration in weeks, current week, target hours per week, and starting fitness. Read only.",
        "readOnly": true
      },
      {
        "name": "list_athletes",
        "description": "List all athletes you have coach access to. Coach sessions only.",
        "readOnly": true
      },
      {
        "name": "select_athlete",
        "description": "Select which athlete to work with in this conversation. Coach sessions only.",
        "readOnly": false
      },
      {
        "name": "get_gear",
        "description": "List the athlete's bikes, shoes and other gear in intervals.icu with mounted components, lifetime distance, time and activity count, and maintenance reminder status (ok, due soon, due).",
        "readOnly": true
      },
      {
        "name": "manage_gear",
        "description": "Create, edit, retire, unretire or replace gear and components (chain, cassette, tyres, brake pads, cleats) in intervals.icu, including purchase date and starting distance.",
        "readOnly": false
      },
      {
        "name": "swap_component",
        "description": "Mount, unmount or swap a component on a bike in intervals.icu, e.g. rotating waxed chains, optionally backdated so distance is credited from the actual swap date.",
        "readOnly": false
      },
      {
        "name": "manage_gear_reminder",
        "description": "Create, edit, reset or snooze distance, time, activity-count or day-based maintenance reminders on gear and components in intervals.icu.",
        "readOnly": false
      },
      {
        "name": "list_library_workouts",
        "description": "Search the workout library by sport, folder or keyword, including folders shared by a coach in intervals.icu.",
        "readOnly": true
      },
      {
        "name": "get_library_workout",
        "description": "Get the full steps of one workout from the library in intervals.icu.",
        "readOnly": true
      },
      {
        "name": "schedule_library_workout",
        "description": "Add library workouts to the calendar with their steps, duration and load as saved in intervals.icu.",
        "readOnly": false
      },
      {
        "name": "save_library_workout",
        "description": "Save a structured workout to a named library folder, without overwriting an existing one in intervals.icu.",
        "readOnly": false
      },
      {
        "name": "save_library_plan",
        "description": "Create a multi-week training plan in the intervals.icu library, each workout on its week and day.",
        "readOnly": false
      },
      {
        "name": "get_coaching_file",
        "description": "Read the athlete's coaching file: standing preferences kept as notes in the intervals.icu library folder named Coaching file.",
        "readOnly": true
      },
      {
        "name": "save_coaching_note",
        "description": "Save a note the user approved to the coaching file in intervals.icu.",
        "readOnly": false
      }
    ]
  },
  "installation": {
    "url": "https://icusync.icu/resources",
    "methods": ["desktop-extension", "mcp-url"]
  },
  "links": {
    "homepage": "https://icusync.icu",
    "docs": "https://icusync.icu/resources"
  }
}
