A production-ready Model Context Protocol (MCP) server for Trakt.tv API that provides AI assistants with access to TV show tracking, watchlist management, and viewing history queries
This server demonstrates good definition quality with consistent tool naming, comprehensive descriptions, and proper JSON Schema validation. All 10 tools follow verb_noun naming conventions (search_, get_, add_, remove_, mark_). Descriptions are detailed and LLM-optimized, ranging from 150-500 characters with clear usage guidance and workflow examples. Input parameters include proper type definitions, constraints (regex patterns for IDs, min/max for limits), and descriptions. However, there are gaps in output schema documentation, tool descriptions do not explicitly document return value structures, which forces LLMs to infer outputs. Additionally, error handling descriptions are minimal; tools do not guide recovery paths. The server lacks tool annotations (readOnlyHint, destructiveHint, idempotentHint) which would clarify intent to agents.
Add a TV show to the user's Trakt.tv watchlist for later viewing. **What it does:** - Adds a show to the user's personal watchlist - Show will appear in get_watchlist results - Syncs across all Trakt-connected apps and devices **When to use:** - User says 'Add [show] to my list' or 'Save this for later' - User wants to bookmark a recommended show - User asks to 'remember' or 'save' a show **Important:** - Requires authentication (OAuth token) - You must get the show_id first using search_shows - Use the Trakt numeric ID, not slug or IMDb ID **Example workflow:** 1. User: 'Add Breaking Bad to my watchlist' 2. You: Call search_shows with query='Breaking Bad' 3. You: Extract the Trakt ID from results 4. You: Call add_to_watchlist with that show_id Returns confirmation message with number of shows added.
Retrieve complete episodes overview for all seasons of a TV show. **What it does:** - Fetches all seasons with their episodes in a comprehensive overview - Returns season numbers, episode counts, air dates, and Trakt IDs - Shows complete show structure with all seasons and episodes - Provides compact view optimized for browsing entire show catalog **When to use:** - User asks 'What are all the episodes of [show name]?' - User wants to see complete show structure - User requests 'Show me all Breaking Bad episodes' - Looking up complete episode catalog - Need overview before diving into specific season **Example queries:** - 'Show me all episodes of Breaking Bad' - 'Get complete episode list for Game of Thrones' - 'What episodes are available for The Office?' - 'List all Stranger Things episodes' **Input:** - show_id: Trakt show ID (obtained from search_shows) **Output:** Returns formatted overview with all seasons, episode numbers, titles, air dates, and IDs. Includes episode IDs needed for mark_episode_as_watched tool.
Retrieves the watch progress for a specific TV show from Trakt.tv. **What it does:** - Returns detailed progress information for a single show - Shows which episodes have been watched and which are pending - Includes information about the next episode to watch - Provides season-by-season progress breakdown **When to use:** - User asks about their progress on a specific show (e.g., 'Where am I in The Bear?') - User wants to know which episode to watch next - Checking completion status of a particular series - User asks 'What episode am I on?' for a specific show **Example queries:** - 'What episode am I on in Demon Slayer?' - 'How far am I into The Bear?' - 'What's the next episode I need to watch?' - 'Am I caught up with Pluribus?' **Note:** Requires OAuth authentication with user's Trakt account. Returns dictionary with show progress details and episode information.
Output schemas not documented in tool descriptions. Users cannot see what fields are returned (e.g., get_show_all_episodes returns episode IDs, titles, air dates, but the description does not list these fields explicitly). LLMs must infer output structure, risking misuse of return values in downstream tool calls.
Missing tool annotations. Tools lack readOnlyHint, destructiveHint, and idempotentHint markers. 'add_to_watchlist', 'remove_from_watchlist', and 'mark_episode_as_watched' modify user state but carry no destructiveHint. Agents cannot distinguish read-only queries from state-mutating calls without re-reading descriptions.
Error handling lacks recovery guidance. Tool descriptions mention 'Returns confirmation message' but do not describe failure modes or recovery steps. If authentication fails, if a show_id is invalid, or if the Trakt API is unavailable, the LLM receives no actionable error message or guidance.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 58 | <=2025-11-25 | v2 |
| 2026-03-09 | D | 51 | - | v1 |
Retrieve detailed episodes for a specific season of a TV show. **What it does:** - Fetches detailed episode information for a single season - Returns comprehensive episode metadata including ratings - Shows detailed view with full episode descriptions - Optimized for exploring specific season content **When to use:** - User asks 'What episodes are in The Office season 3?' - User wants detailed information about a specific season - User requests 'Show me Breaking Bad S05 episodes' - Looking up specific season details before watching - Need episode information for a particular season **Example queries:** - 'What episodes are in The Office season 3?' → season=3 - 'Show me Breaking Bad season 5 episodes' → season=5 - 'How many episodes in Stranger Things S01?' → season=1 - 'Get Game of Thrones season 8 episode list' → season=8 **Input:** - show_id: Trakt show ID (obtained from search_shows) - season: Season number (0=specials, 1+=regular seasons) **Output:** Returns detailed episode information with titles, air dates, ratings, and IDs. Includes episode IDs needed for mark_episode_as_watched tool.
Get currently trending TV shows on Trakt.tv based on community activity. **What it does:** - Returns shows that are currently popular on Trakt - Based on real-time watchers, ratings, and activity - Updated frequently based on community engagement **When to use:** - User asks 'What's trending?' or 'What are people watching?' - User wants to discover popular current shows - Looking for zeitgeist recommendations **Example queries:** - 'What shows are trending right now?' - 'What's popular on TV?' - 'What is everyone watching?' Returns top trending shows with viewer counts and ratings.
Retrieves the complete watch history of TV shows from Trakt.tv. **What it does:** - Returns all TV shows the user has watched with episode counts - Includes last watched timestamps and total plays - Shows viewing progress for each series **When to use:** - User asks 'What shows have I watched?' or 'What series did I finish?' - Before making recommendations (to avoid suggesting already-watched content) - User asks about their viewing history or statistics - Checking if user has seen a specific show **Example queries:** - 'What shows have I watched recently?' - 'Have I already seen Breaking Bad?' - 'Show me my watch history' Returns JSON array with show titles, years, episode counts, and timestamps.
Fetches the user's personal Trakt.tv watchlist of TV shows saved for later. **What it does:** - Returns all shows the user has bookmarked to watch - Shows are manually curated by the user (their 'to-watch' list) - Includes show metadata (title, year, rating, genres) **When to use:** - User asks 'What should I watch?' or 'Give me recommendations' - ALWAYS check this FIRST before suggesting external recommendations - User mentions 'my list' or 'saved shows' or 'bookmarked series' - User wants to pick from their own curated content **Priority:** This should be your PRIMARY source for recommendations! Always prioritize suggesting shows from the user's own watchlist rather than making external recommendations. The user has already expressed interest in these. **Example queries:** - 'What should I watch tonight?' - 'What's on my watchlist?' - 'Recommend something from my list' Returns JSON array with show titles, years, and when they were added.
Mark a specific TV episode as watched in the user's Trakt.tv history. **What it does:** - Records the episode as watched with current timestamp - Updates user's watch progress for the show - Syncs viewing history across all Trakt-connected apps and devices - May automatically remove show from watchlist if all episodes are watched **When to use:** - User says 'Mark [show] episode as watched' - User confirms they finished watching an episode - User wants to manually update their viewing progress - User asks to 'record' or 'log' episode completion **Important:** - You must get the episode_id first using get_show_episodes - Use the Trakt numeric episode ID (not season/episode number) - Marking episodes updates show progress statistics **Example workflow:** 1. User: 'Mark Breaking Bad S01E01 as watched' 2. You: Call get_show_episodes with show_id and season=1 3. You: Extract the episode ID for episode 1 from results 4. You: Call mark_episode_as_watched with that episode_id Returns confirmation message with number of episodes marked as watched.
Remove a TV show from the user's Trakt.tv watchlist. **What it does:** - Removes a show from the user's watchlist - Does not affect watch history (only the to-watch list) - Syncs across all devices **When to use:** - User says 'Remove [show] from my list' or 'Delete from watchlist' - User wants to clean up their watchlist - User is no longer interested in a saved show Returns confirmation message with number of shows removed.
Search for TV shows in the Trakt.tv database by title or keywords. **What it does:** - Searches Trakt's extensive TV show database - Returns matching shows with IDs, titles, years, and ratings - Useful for finding show IDs needed for other operations **When to use:** - User mentions a show name without specifics - Need to find a show's Trakt ID for watchlist operations - User asks 'Is there a show called...?' - Looking up show information or verifying title **Example queries:** - 'Search for The Office' - 'Find shows about dragons' - 'Is there a show called Dark?' Returns top 10 matching shows with IDs for further operations.
Missing pagination constraints. 'get_watched_shows' and 'get_watchlist' return arrays but lack limit, offset, or cursor parameters. If a user has hundreds of shows in their watchlist, the full response could exhaust the context window. No indication of how many results are returned or how to page through large datasets.
OAuth authentication prerequisites mentioned but not enforced in schema. Tools like 'get_show_progress', 'add_to_watchlist', 'remove_from_watchlist', and 'mark_episode_as_watched' require OAuth but the schema has no way to communicate authentication state or handle missing tokens. LLM may call these without valid credentials and receive unhelpful errors.
'remove_from_watchlist' description is generic. Does not explain whether removing a show also removes it from watch history, whether it is reversible, or what happens if the show is not on the watchlist. Ambiguous behavior could confuse agents about idempotency.