Skip to main content
Glama

Ryot MCP Starter

A local/private MCP server for a self-hosted Ryot instance, focused on workouts/routines, body measurements, movies, shows, and games.

Project layout

src/
  index.ts              # MCP bootstrap only
  ryot.ts               # GraphQL client + live schema helpers
  schemas.ts            # Shared zod schemas/enums
  common.ts             # Shared helpers
  discovery-tools.ts    # Schema/debug/discovery tools
  workout-tools.ts      # Fitness, measurements, routine tools
  media-tools.ts        # Movies, shows, games, collections, progress tools
  media-convenience-tools.ts # Search-and-act, next-episode, collections, raw review helpers

Related MCP server: ai-journal

Configure Cursor/Claude

{
  "mcpServers": {
    "ryot": {
      "command": "node",
      "args": ["/absolute/path/to/ryot-mcp-starter/dist/index.js"],
      "env": {
        "RYOT_BASE_URL": "https://ryot.shivansh.top",
        "RYOT_AUTH_HEADER": "Bearer YOUR_RYOT_API_TOKEN",
        "RYOT_COOKIE": "",
        "RYOT_USER_ID": "",
        "RYOT_MOVIE_WATCHLIST_COLLECTION": "Movie Watchlist",
        "RYOT_SHOW_WATCHLIST_COLLECTION": "Show Watchlist",
        "RYOT_GAME_BACKLOG_COLLECTION": "Game Backlog",
        "RYOT_WALKING_EXERCISE_ID": "",
        "RYOT_SIT_TO_STAND_EXERCISE_ID": "",
        "RYOT_WALL_PUSHUP_EXERCISE_ID": ""
      }
    }
  }
}

RYOT_AUTH_HEADER should contain the exact working Authorization value. For Ryot integration tokens this is usually Bearer <token>.

RYOT_USER_ID is only needed for collection tools such as adding a movie to watchlist or a game to backlog.

Build

npm install
npm run build

Restart Cursor/Claude after every rebuild.

Tools

Core/debug

  • ryot_health_check

  • ryot_graphql

  • ryot_schema_search

  • ryot_find_candidate_operations

  • ryot_workout_discovery

  • ryot_media_discovery

  • ryot_game_discovery

Fitness/routines

  • ryot_search_exercises

  • ryot_list_recent_workouts

  • ryot_list_workout_templates

  • ryot_get_workout_details

  • ryot_get_workout_template_details

  • ryot_log_workout

  • ryot_create_workout_template

  • ryot_log_body_measurement

  • ryot_log_walk

  • ryot_log_bodyweight_set

  • ryot_log_minimum_workout

  • ryot_create_minimum_routine_template

  • ryot_start_today_routine

  • ryot_log_weight

  • ryot_log_waist

  • ryot_list_measurements

  • ryot_log_minimum_day

  • ryot_log_recovery_day

  • ryot_get_weekly_workout_summary

General media

  • ryot_search_media

  • ryot_get_metadata_details

  • ryot_get_user_metadata_details

  • ryot_mark_media_progress

  • ryot_create_collection

  • ryot_add_to_collection

  • ryot_list_collections

  • ryot_collection_contents

  • ryot_user_metadata_list

  • ryot_create_default_collections

  • ryot_create_or_update_review

  • ryot_delete_review

Movies

  • ryot_search_movie

  • ryot_get_movie_status

  • ryot_mark_movie_in_progress

  • ryot_mark_movie_watched

  • ryot_add_movie_to_watchlist

  • ryot_search_and_mark_movie_watched

  • ryot_search_and_add_movie_to_watchlist

Shows

  • ryot_search_show

  • ryot_get_show_status

  • ryot_mark_show_in_progress

  • ryot_mark_show_episode_started

  • ryot_mark_show_episode_watched

  • ryot_add_show_to_watchlist

  • ryot_search_and_add_show_to_watchlist

  • ryot_search_and_mark_show_episode_watched

  • ryot_get_next_show_episode

  • ryot_mark_next_show_episode_watched

Games

  • ryot_search_game

  • ryot_get_game_status

  • ryot_mark_game_started

  • ryot_mark_game_completed

  • ryot_mark_game_dropped

  • ryot_mark_game_on_hold

  • ryot_update_game_progress_percent

  • ryot_add_game_to_backlog

  • ryot_search_and_start_game

  • ryot_search_and_update_game_progress

  • ryot_search_and_mark_game_completed

  • ryot_search_and_add_game_to_backlog

Notes

Ryot list/search endpoints often return a cached response object rather than full objects directly. This MCP uses live schema introspection to build valid GraphQL selections for object return types, so it should return whatever scalar/cached fields your Ryot version exposes without hard-coding wrapper field names.

For workout logging/templates, Ryot requires internal exerciseId values. Use ryot_search_exercises first, then pass those IDs to ryot_log_workout or set default exercise IDs in env vars.

Duration units (important for agents)

Ryot uses different units on different fields. Getting this wrong makes a 5-minute walk show as 300 minutes.

Field

Unit

Example

exercises[].sets[].statistic.duration

minutes

5-min walk → 5 (not 300)

workout.duration

seconds

7-min workout → 420

exercises[].sets[].restTime

seconds

90-sec rest → 90

walkingMinutes / minutes tool args

minutes

Human input; helpers convert internally

Run ryot_workout_discovery to see durationUnits in the response. Never multiply set duration by 60.

The high-level routine shortcuts can read default exercise IDs from env vars:

  • RYOT_WALKING_EXERCISE_ID

  • RYOT_SIT_TO_STAND_EXERCISE_ID

  • RYOT_WALL_PUSHUP_EXERCISE_ID

The collection shortcut tools can read default collection names from env vars:

  • RYOT_MOVIE_WATCHLIST_COLLECTION

  • RYOT_SHOW_WATCHLIST_COLLECTION

  • RYOT_GAME_BACKLOG_COLLECTION

The ryot_search_and_* tools are best-effort wrappers: if Ryot returns only a cached search ID and no metadata ID, they return the search response so you can pick the result and call the ID-based tool.

Review tools are intentionally raw until the exact CreateOrUpdateReviewInput for your Ryot version is confirmed with schema discovery.

Keep this MCP private/local. The generic ryot_graphql tool can run arbitrary queries/mutations against your Ryot account.

Available Tools

45 tools
ryot_add_game_to_backlogAdd game to backlogC

Add a video game metadata item to your game backlog collection. Defaults to RYOT_GAME_BACKLOG_COLLECTION or 'Game Backlog'.

Inputs: metadataId (required), information, creatorUserId, collectionName.

ryot_add_movie_to_watchlistAdd movie to watchlistB

Add a movie metadata item to your movie watchlist collection. Defaults to RYOT_MOVIE_WATCHLIST_COLLECTION or 'Movie Watchlist'.

Inputs: metadataId (required), information, creatorUserId, collectionName.

ryot_add_show_to_watchlistAdd show to watchlistC

Add a TV show metadata item to your show watchlist collection. Defaults to RYOT_SHOW_WATCHLIST_COLLECTION or 'Show Watchlist'.

Inputs: metadataId (required), information, creatorUserId, collectionName.

ryot_add_to_collectionAdd entities to collectionC

Add metadata, games, exercises, workouts, templates, or measurements to a Ryot collection. creatorUserId is required by Ryot; can be set via RYOT_USER_ID.

Inputs: entities (required), collectionName (required), creatorUserId.

ryot_create_collectionCreate collectionC

Create or update a Ryot collection such as Watchlist, Game backlog, Wishlist, or Fitness references.

Inputs: name (required), updateId, description, collaborators.

ryot_create_minimum_routine_templateCreate minimum routine templateB

Create a reusable Minimum Day routine/template in Ryot. Exercise IDs can be passed or set via env vars.

Inputs: templateName, sitToStandReps, walkingMinutes, wallPushupReps, +3 more.

ryot_create_workout_templateCreate workout templateC

Create or update a Ryot workout template/routine. Requires Ryot exercise IDs.

Inputs: template (required).

ryot_find_candidate_operationsFind candidate Ryot operationsB

Find likely root GraphQL queries/mutations for the requested domain.

Inputs: keywords (required), limit.

ryot_game_discoveryDiscover game APIB

Find Ryot schema operations and fields related to video games, gaming progress, reviews, and collections.

Inputs: limit.

ryot_get_game_statusGet game statusC

Get your Ryot playing status/history/collections/reviews for a video game by metadataId.

Inputs: metadataId (required).

ryot_get_metadata_detailsGet metadata detailsC

Get Ryot metadata details for a movie/show/book/game/etc by metadataId.

Inputs: metadataId (required).

ryot_get_movie_statusGet movie statusB

Get your Ryot status/history/collections for a movie by metadataId.

Inputs: metadataId (required).

ryot_get_show_statusGet show statusA

Get your Ryot status, episode history, show progress, next entry, and collections for a show by metadataId.

Inputs: metadataId (required).

ryot_get_user_metadata_detailsGet user metadata detailsA

Get user-specific Ryot state for a metadata item: in-progress state, history, collections, reviews, and next episode/chapter when available.

Inputs: metadataId (required).

ryot_get_workout_detailsGet workout detailsB

Get full details for a logged workout by workoutId.

Inputs: workoutId (required).

ryot_get_workout_template_detailsGet workout template detailsA

Get full details for a workout template/routine by workoutTemplateId.

Inputs: workoutTemplateId (required).

ryot_graphqlRun Ryot GraphQLA

Run a GraphQL query or mutation against Ryot. Use after discovering the schema.

Inputs: query (required), variables.

ryot_health_checkRyot health checkA

Check whether the MCP can reach Ryot's GraphQL endpoint.

Inputs: no named parameters.

ryot_list_recent_workoutsList recent workoutsB

List/search the user's logged workouts. Returns Ryot's cached workout ID response.

Inputs: page, take, order, query, +1 more.

ryot_list_workout_templatesList workout templatesC

List/search Ryot workout templates/routines. Returns Ryot's cached template ID response.

Inputs: page, take, order, query, +1 more.

ryot_log_body_measurementLog body measurementC

Log weight/body measurements in Ryot. Use statistic names like weight, waist, body_fat, chest, etc.

Inputs: timestamp (required), statistics (required), name, comment.

ryot_log_bodyweight_setLog bodyweight setB

Log a simple bodyweight exercise workout, such as wall push-ups, squats, or chair sit-to-stands. Requires a Ryot exercise ID.

Inputs: exerciseId (required), reps, comment, setCount, +2 more.

ryot_log_minimum_workoutLog minimum workoutA

Log the default minimum workout: walking + chair sit-to-stand + wall push-up. Exercise IDs can be passed or set via env vars.

Inputs: comment, startTime, sitToStandReps, walkingMinutes, +4 more.

ryot_log_walkLog walkB

Log a simple walking workout. Uses walkingExerciseId or RYOT_WALKING_EXERCISE_ID. Duration is stored as seconds.

Inputs: comment, minutes, startTime, walkingExerciseId.

ryot_log_workoutLog workoutA

Create or update a completed Ryot workout. Requires Ryot exercise IDs, not exercise names.

Inputs: workout (required).

ryot_mark_game_completedMark game completedC

Mark a game as completed in Ryot.

Inputs: metadataId (required), startedOn, timestamp, manualTimeSpent.

ryot_mark_game_droppedMark game droppedC

Mark the latest game progress entry as dropped.

Inputs: metadataId (required).

ryot_mark_game_on_holdMark game on holdC

Mark the latest game progress entry as on hold.

Inputs: metadataId (required).

ryot_mark_game_startedMark game startedC

Start playing a game in Ryot.

Inputs: metadataId (required), startedOn, manualTimeSpent.

ryot_mark_media_progressMark media/game progressB

Generic progress tool: start, complete, drop, hold, or update progress percent for any Ryot metadata item.

Inputs: action (required), metadataId (required), state, percent, +9 more.

ryot_mark_movie_in_progressMark movie in progressC

Start a new in-progress entry for a movie.

Inputs: metadataId (required), startedOn, manualTimeSpent.

ryot_mark_movie_watchedMark movie watchedB

Log a movie as completed/watched, optionally with startedOn and manualTimeSpent.

Inputs: metadataId (required), startedOn, timestamp, manualTimeSpent.

ryot_mark_show_episode_startedMark show episode startedC

Start an in-progress entry for a specific TV episode.

Inputs: metadataId (required), seasonNumber (required), episodeNumber (required), startedOn, +1 more.

ryot_mark_show_episode_watchedMark show episode watchedC

Log one TV show episode as watched/completed, for example S01E05.

Inputs: metadataId (required), seasonNumber (required), episodeNumber (required), startedOn, +2 more.

ryot_mark_show_in_progressMark show in progressB

Mark a show's latest entry as in progress, or create a new in-progress entry if no episode is supplied.

Inputs: metadataId (required), startedOn, seasonNumber, episodeNumber.

ryot_media_discoveryDiscover media APIC

Find Ryot schema operations and fields related to movies, shows, books, podcasts, music, watchlists, and collections.

Inputs: limit.

ryot_search_exercisesSearch exercisesA

Search Ryot exercises. Returns Ryot's cached exercise ID response; use exercise IDs for workout logging/templates.

Inputs: page, take, query, filter, +1 more.

ryot_search_gameSearch video gamesC

Search video games in Ryot using IGDB by default.

Inputs: query (required), page, source, allowGamesWithParent.

ryot_search_mediaSearch mediaA

Search Ryot metadata for movies, shows, books, anime, manga, music, podcasts, games, etc. Returns Ryot's cached search response.

Inputs: lot (required), query (required), source (required), page.

ryot_search_movieSearch moviesC

Search movies in Ryot. Defaults to TMDB.

Inputs: query (required), page, source.

ryot_search_showSearch TV showsC

Search TV shows in Ryot. Defaults to TMDB; TVDB is also supported.

Inputs: query (required), page, source.

ryot_start_today_routineStart today's routineC

Practical start/log shortcut for today. Since Ryot stores completed workout logs, this logs the minimum routine for today, optionally linked to a templateId.

Inputs: comment, templateId, sitToStandReps, walkingMinutes, +4 more.

ryot_update_game_progress_percentUpdate game progress percentC

Set progress percentage for the latest in-progress game entry.

Inputs: percent (required), metadataId (required).

ryot_workout_discoveryDiscover workout and routine APIC

Find Ryot schema operations and fields related to workouts, routines, exercises, sets, measurements, and fitness progress.

Inputs: limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 45 tools

    Disambiguation4/5

    Tools are mostly distinct due to specific naming and detailed descriptions, but there is overlap between generic tools like ryot_mark_media_progress and type-specific ones (e.g., ryot_mark_movie_watched), and many similar add-to-collection tools could confuse agents.

    Naming Consistency5/5

    All tools follow a consistent 'ryot_verb_noun' pattern with clear prefixes and underscores, making names predictable and easy to navigate.

    Tool Count2/5

    45 tools is excessive for a 'starter' server, with many redundant tools for different media types that could be consolidated (e.g., separate mark progress tools per type vs generic). This overloads the tool surface.

    Completeness3/5

    Core operations for media tracking and fitness logging are present, but missing update/delete operations (e.g., no tool to delete a workout or update a collection). Schema discovery tools help but don't cover all user-facing gaps.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      MCP server for managing a media server stack (Plex, Radarr, Overseerr, Bazarr, Prowlarr, Trakt.tv) using natural language to browse, request, and discover content.
      12
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      A local MCP server for journaling, organizing, and recalling your work. It captures entries as plain markdown files, indexes them for full-text and structured search, and enables querying via natural language.
      32 PyPI
      1
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      Personal workout coach MCP server that logs exercises in natural language, tracks progress with SQLite, and provides coaching signals like estimated 1RM and volume trends.
      6
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for the Hevy workout tracker that enables users to query training history, log workouts, and manage routines via natural language.
      MIT