1. Conduid
  2. AI
  3. Plex MCP Server
MCP server · AI

Plex MCP Server

MCP Server for Plex to allow LLMs to converse with Plex.

74Good

Scored 8 hours ago · breakdown

About Plex MCP Server

Plex MCP Server is an MCP server published by vladimir-tutin in the AI category: mCP Server for Plex to allow LLMs to converse with Plex. Conduid read 63 tools from its source: client_control_playback, client_get_details, client_get_timelines, client_list, client_navigate, client_set_streams and 57 more. No package is published for it, so it installs from a source checkout.

The repository has 163 stars and 32 forks, is licensed MIT, and its last commit was on 13 Oct 2026. The latest release is v1.5.0 (13 Oct 2026): Add media_set_watched_status(media_id, watched, username) to mark media watched or unwatched for the configured account or a selected accessible user. It follows v1.4.1 (12 Oct 2026), and the 5 most recent releases go back to v1.2.0 (12 Oct 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Its topics include plex, plex-media-server and plex-server.

Install

From source
git clone https://github.com/vladimir-tutin/plex-mcp-server

Tools (63)

client_control_playbackControl playback on a specified client.
ParameterTypeDescription
action *stringAction to perform (play, pause, stop, skipNext, skipPrevious, stepForward, stepBack, seekTo, seekForward, seekBack, mute, unmute, setVolume)
client_name *stringName of the client to control (use machine identifier or title from client_list)
media_typestringType of media being controlled ('video', 'music', or 'photo')
parameterintegerParameter for actions that require it (like setVolume or seekTo)
client_get_detailsGet detailed information about a specific Plex client.
ParameterTypeDescription
client_name *stringName or machineIdentifier of the client to get details for
client_get_timelinesGet the current timeline information for a specific Plex client.
ParameterTypeDescription
client_name *stringName or machineIdentifier of the client to get timeline for
client_listList all available Plex clients including idle players.
ParameterTypeDescription
active_onlybooleanIf True, only return clients that are currently playing or paused
include_detailsbooleanWhether to include detailed information about each client
client_navigateNavigate a Plex client interface.
ParameterTypeDescription
action *stringNavigation action to perform (moveUp, moveDown, moveLeft, moveRight, select, back, home, contextMenu)
client_name *stringName or machineIdentifier of the client to navigate
client_set_streamsSet audio, subtitle, or video streams for current playback on a client.
ParameterTypeDescription
audio_stream_idstringID of the audio stream to switch to
client_name *stringName or machineIdentifier of the client to set streams for
subtitle_stream_idstringID of the subtitle stream to switch to, use '0' to disable
video_stream_idstringID of the video stream to switch to
client_start_playbackStart playback of media on a specified client.
ParameterTypeDescription
client_namestringOptional name of the client to play on (will prompt if not provided)
library_namestringOptional name of the library to search in
media_titlestringTitle of the media to play (optional if rating_key is provided)
offsetintegerOptional time offset in milliseconds to start from
rating_keyintegerOptional specific rating key (ID) of the media to play
use_external_playerbooleanWhether to use the client's external player
collection_add_toAdd items to an existing collection.
ParameterTypeDescription
collection_idintegerID of the collection to add to (optional if collection_title is provided)
collection_titlestringTitle of the collection to add to (optional if collection_id is provided)
item_idsarrayList of media IDs to add to the collection (optional if item_titles is provided)
item_titlesarrayList of media titles to add to the collection (optional if item_ids is provided)
library_namestringName of the library containing the collection (required if using collection_title)
collection_createCreate a new collection with specified items.
ParameterTypeDescription
collection_title *stringTitle for the new collection
item_idsarrayList of media IDs to include in the collection (optional if item_titles is provided)
item_titlesarrayList of media titles to include in the collection (optional if item_ids is provided)
library_name *stringName of the library to create the collection in
collection_deleteDelete a collection.
ParameterTypeDescription
collection_idintegerID of the collection to delete (optional if collection_title is provided)
collection_titlestringTitle of the collection to delete (optional if collection_id is provided)
library_namestringName of the library containing the collection (required if using collection_title)
collection_editComprehensively edit a collection's attributes.
ParameterTypeDescription
add_labelsarrayLabels to add to existing ones
background_pathstringPath to a new background/art image file
background_urlstringURL to a new background/art image
collection_idintegerID of the collection to edit (optional if collection_title is provided)
collection_titlestringTitle of the collection to edit (optional if collection_id is provided)
library_namestringName of the library containing the collection (required if using collection_title)
new_advanced_settingsobjectDictionary of advanced settings to apply
new_content_ratingstringNew content rating (e.g., PG-13, R, etc.)
new_labelsarraySet completely new labels (replaces existing)
new_sort_titlestringNew sort title for the collection
new_summarystringNew summary/description for the collection
new_titlestringNew title for the collection
poster_pathstringPath to a new poster image file
poster_urlstringURL to a new poster image
remove_labelsarrayLabels to remove from existing ones
collection_listList all collections on the Plex server or in a specific library.
ParameterTypeDescription
library_namestringOptional name of the library to list collections from
collection_remove_fromRemove items from a collection.
ParameterTypeDescription
collection_idintegerID of the collection to remove from (optional if collection_title is provided)
collection_titlestringTitle of the collection to remove from (optional if collection_id is provided)
item_titlesarrayList of media titles to remove from the collection
library_namestringName of the library containing the collection (required if using collection_title)
library_get_contentsGet filtered, paginated items from one library or across accessible libraries.
ParameterTypeDescription
actorstringFilter by actor tag
content_ratingstringFilter by content rating (e.g., 'PG-13')
directorstringFilter by director tag
genrestringFilter by genre tag (parent show genre for episodes).
library_namestringOptional library name. Omit to search all accessible libraries; media_type is then required.
limitintegerMaximum number of items to return (default: 50)
media_typestringmovie, show, episode, artist, album, or track. Defaults to the named library type.
networkstringFilter by network tag (primarily for TV)
offsetintegerNumber of items to skip (default: 0)
resolutionstringFilter by resolution (e.g., '4k', '1080')
sortstringSort order (e.g., 'addedAt:desc', 'title:asc')
studiostringFilter by studio (parent show for episodes, parent album for tracks).
titlestringCase-insensitive Plex title search, not exact-only or arbitrary substring matching. Searches names of the selected media_type; TV libraries default to show names. Applied before pagination and combined with the other filters.
unwatchedbooleanOnly unplayed items; for shows, those with unwatched episodes (including partial shows).
usernamestringOptional Plex username or profile title; omit for the configured account. Failed access returns an error.
watchedbooleanOnly return played items; for shows, those with no unwatched episodes. Partially watched shows are excluded; inspect watchStatus and watchedEpisodeCount. Cannot be combined with unwatched. Watch state belongs to the selected user.
writerstringFilter by writer tag
yearanyFilter by release year (parent album year for tracks).
library_get_detailsGet detailed information about a specific library, including folder paths and settings.
ParameterTypeDescription
library_name *stringName of the library to get details for
library_get_recently_addedGet recently added media across all libraries or in a specific library.
ParameterTypeDescription
countintegerNumber of items to return (default: 50)
library_namestringOptional library name to limit results to
library_get_statsGet statistics for a specific library.
ParameterTypeDescription
library_name *stringName of the library to get stats for
library_listList all available libraries on the Plex server.
library_refreshRefresh a specific library or all libraries.
ParameterTypeDescription
library_namestringOptional name of the library to refresh (refreshes all if None)
library_scanScan a specific library or part of a library.
ParameterTypeDescription
library_name *stringName of the library to scan
pathstringOptional specific path to scan within the library
media_deleteDelete a media item from the Plex library.
ParameterTypeDescription
library_namestringOptional library name to limit search to when using media_title
media_idintegerID of the media to delete (optional if media_title is provided)
media_titlestringTitle of the media to delete (optional if media_id is provided)
media_edit_metadataEdit metadata for a specific media item.
ParameterTypeDescription
library_namestringOptional library name to limit search to
media_title *stringTitle of the media to edit
new_directorstringNew director to add (movies only)
new_ratingnumberNew rating (0-10)
new_release_datestringNew release date (YYYY-MM-DD)
new_studiostringNew studio to set
new_summarystringNew summary/description
new_tagsarrayList of tags to add
new_titlestringNew title for the item
remove_genrestringGenre to remove
media_get_artworkGet images for a specific media item.
ParameterTypeDescription
image_typesarrayList of image types to get (poster, art/background, logo, banner, thumb)
library_namestringOptional library name to limit search to when using media_title
media_idintegerID of the media to get images for (optional if media_title is provided)
media_titlestringTitle of the media to get images for (optional if media_id is provided)
output_dirstringDirectory to save images to when using file output format
output_formatstringFormat to return image data in (base64, url, or file_path)
media_get_detailsGet detailed information about a specific media item using PlexAPI's Media and Mixin functions.
ParameterTypeDescription
library_namestringOptional library name to limit search to when using media_title
media_idintegerPlex media ID/rating key to directly fetch the item (optional if media_title is provided)
media_titlestringTitle of the media to get details for (optional if media_id is provided)
usernamestringOptional Plex username or profile title; omit for the configured account. Failed access returns an error.
media_list_available_artworkList all available artwork for a specific media item.
ParameterTypeDescription
art_typestringType of artwork to list (poster, background/art, logo)
library_namestringOptional library name to limit search to when using media_title
media_idintegerID of the media to list artwork for (optional if media_title is provided)
media_titlestringTitle of the media to list artwork for (optional if media_id is provided)
media_searchSearch for media across all libraries.
ParameterTypeDescription
content_typestringOptional content type to limit search to (movie, show, episode, track, album, artist or use comma-separated values for HTTP API like movies,music,tv)
query *stringSearch term to look for
media_set_artworkSet artwork for a specific media item.
ParameterTypeDescription
art_typestringType of artwork to set (poster, background/art, logo)
filepathstringPath to the local image file
library_namestringOptional library name to limit search to
lockbooleanWhether to lock the artwork to prevent Plex from changing it
media_title *stringTitle of the media to set artwork for
urlstringURL to the image file
media_set_watched_statusMark a Plex media item as watched or unwatched.
ParameterTypeDescription
media_id *integerPlex rating key returned by media_search or media_get_details
usernamestringOptional Plex username or profile title; omit for the configured account. Failed access returns an error.
watched *booleanTrue to mark the item watched, False to mark it unwatched
playlist_add_toAdd items to a playlist.
ParameterTypeDescription
item_idsarrayList of media IDs to add to the playlist (optional if item_titles is provided)
item_titlesarrayList of media titles to add to the playlist (optional if item_ids is provided)
playlist_idintegerID of the playlist to add to (optional if playlist_title is provided)
playlist_titlestringTitle of the playlist to add to (optional if playlist_id is provided)
usernamestringOptional Plex username or profile title. Omit for the configured account. Failed access returns an error.
playlist_copy_to_userCopy a playlist to another user account.
ParameterTypeDescription
playlist_idintegerID of the playlist to copy (optional if playlist_title is provided)
playlist_titlestringTitle of the playlist to copy (optional if playlist_id is provided)
source_usernamestringOptional source username or profile title; defaults to the configured account.
usernamestringDestination username or profile title.
playlist_createCreate a new playlist with specified items.
ParameterTypeDescription
item_titles *arrayList of media titles to include in the playlist
library_namestringOptional library name to limit search to
playlist_title *stringTitle for the new playlist
summarystringOptional summary description for the playlist
usernamestringOptional Plex username or profile title. Omit for the configured account. Failed access returns an error.
playlist_create_smartSave `filters`, `sort`, `limit` and `libtype` as a playlist.
ParameterTypeDescription
filtersobjectPlex filters, e.g. {"year>>": 2000}, or {"title": "Band of Brothers"} with libtype show.
library_name *stringLibrary to search.
libtypestringSearch type, defaulting to movie, episode or track. Show/artist searches produce playable episodes/tracks.
limitintegerPositive maximum result count; omit for no limit.
playlist_title *stringNew playlist title.
sortstringSort fields, e.g. year:desc. Discover valid fields with playlist_get_smart_filter_options.
summarystringOptional description.
usernamestringOptional Plex username or profile title; omit for the configured account.
playlist_deleteDelete a playlist.
ParameterTypeDescription
playlist_idintegerID of the playlist to delete (optional if playlist_title is provided)
playlist_titlestringTitle of the playlist to delete (optional if playlist_id is provided)
usernamestringOptional Plex username or profile title. Omit for the configured account. Failed access returns an error.
playlist_editEdit a playlist's details such as title and summary.
ParameterTypeDescription
new_summarystringOptional new summary for the playlist
new_titlestringOptional new title for the playlist
playlist_idintegerID of the playlist to edit (optional if playlist_title is provided)
playlist_titlestringTitle of the playlist to edit (optional if playlist_id is provided)
usernamestringOptional Plex username or profile title. Omit for the configured account. Failed access returns an error.
playlist_edit_smart_filtersUpdate a playlist by ID or title, preserving omitted settings.
ParameterTypeDescription
filtersobjectReplace filters; omit to preserve, or use {} to clear them.
libtypestringChange search type explicitly; omit to preserve show/episode/artist/track matching.
limitintegerReplace result limit; omit to preserve, or use 0 to remove it.
playlist_idintegerID from playlist_list or playlist_create_smart.
playlist_titlestringExisting title, optional when playlist_id is supplied.
sortstringReplace sort order; omit to preserve, or use an empty string to clear it.
usernamestringOptional Plex username or profile title; omit for the configured account.
playlist_get_contentsGet the contents of a playlist.
ParameterTypeDescription
playlist_idintegerID of the playlist to get contents of (optional if playlist_title is provided)
playlist_titlestringTitle of the playlist to get contents of (optional if playlist_id is provided)
usernamestringOptional Plex username or profile title. Omit for the configured account. Failed access returns an error.
playlist_get_smart_filter_optionsDiscover fields, operators, sorting and field values for `library_name` and optional `libtype`.
ParameterTypeDescription
fieldstringOptional field whose available values should be listed, such as genre.
library_name *stringLibrary to search.
libtypestringSearch type; defaults to movie, episode or track for the library. Use show to match show titles, or episode to match episode titles.
usernamestringOptional Plex username or profile title; omit for the configured account.
playlist_listList all playlists on the Plex server.
ParameterTypeDescription
content_typestringOptional content type to filter playlists (audio, video, photo)
library_namestringOptional library name to filter playlists from
usernamestringOptional Plex username or profile title. Omit for the configured account. Failed access returns an error.
playlist_remove_fromRemove items from a playlist.
ParameterTypeDescription
item_titlesarrayList of media titles to remove from the playlist
playlist_idintegerID of the playlist to remove from (optional if playlist_title is provided)
playlist_titlestringTitle of the playlist to remove from (optional if playlist_id is provided)
usernamestringOptional Plex username or profile title. Omit for the configured account. Failed access returns an error.
playlist_upload_posterUpload a poster image for a playlist.
ParameterTypeDescription
playlist_idintegerID of the playlist to set poster for (optional if playlist_title is provided)
playlist_titlestringTitle of the playlist to set poster for (optional if playlist_id is provided)
poster_filepathstringLocal file path to an image to use as poster
poster_urlstringURL to an image to use as poster
usernamestringOptional Plex username or profile title. Omit for the configured account. Failed access returns an error.
server_clean_bundlesClean unused media bundles.
server_empty_trashEmpty trash for a specific library or all libraries.
ParameterTypeDescription
library_namestringOptional name of the library to empty trash for. If not provided, empties trash for all libraries.
server_get_alertsGet real-time alerts from the Plex server by listening on a websocket.
ParameterTypeDescription
timeoutintegerNumber of seconds to listen for alerts (default: 15)
server_get_bandwidthGet bandwidth statistics from the Plex server.
ParameterTypeDescription
lanstringFilter by local network (true/false)
timespanstringTime span for bandwidth data (months, weeks, days, hours, seconds)
server_get_butler_tasksGet information about Plex Butler tasks.
server_get_current_resourcesGet resource usage information from the Plex server.
server_get_infoGet detailed information about the Plex server.
server_get_plex_logsGet Plex server logs.
ParameterTypeDescription
list_filesbooleanIf True, lists all available log files instead of content.
log_typestringType of log to retrieve (server, scanner, transcoder, updater) or specific filename/partial match
num_linesintegerNumber of log lines (or matches) to retrieve (default: 100)
search_termstringText to search for in the logs. If provided, returns matching lines with line numbers.
start_lineintegerStarting line number to retrieve (0-indexed). If None, retrieves last num_lines.
server_optimize_databaseOptimize the Plex database.
server_run_butler_taskManually run a specific Plex Butler task now.
ParameterTypeDescription
task_name *stringName of the butler task to run
sessions_get_activeGet information about current playback sessions, including IP addresses.
ParameterTypeDescription
unusedstringUnused parameter to satisfy the function signature
sessions_get_media_playback_historyGet playback history for a specific media item.
ParameterTypeDescription
library_namestringOptional library name to limit search to
media_idintegerPlex media ID/rating key to directly fetch the item (optional if media_title is provided)
media_titlestringTitle of the media to get history for (optional if media_id is provided)
user_get_continue_watchingGet items the user has partially watched and can continue.
ParameterTypeDescription
limitintegerMaximum number of items to return (default 10)
user_idintegerOptional ID from user_list_all_users; takes precedence over username. Omit both selectors to use the configured account. Requires server-admin access for other users.
usernamestringOptional Home or shared user's exact username or profile title.
user_get_infoGet detailed information about a specific Plex user.
ParameterTypeDescription
usernamestringOptional. Name of the user to get information for. Defaults to the authenticated owner.
user_get_on_deckGet on deck (in progress) media for a specific user.
ParameterTypeDescription
usernamestringName of the user to get on-deck items for
user_get_statisticsGet statistics about user watch activity over different time periods.
ParameterTypeDescription
time_periodstringTime period for statistics - options: "last_24_hours", "last_7_days", "last_30_days", "last_90_days", "last_year", "all_time"
usernamestringOptional. Filter statistics for a specific user. If not provided, returns statistics for all users.
user_get_watch_historyGet recent watch history for a specific user.
ParameterTypeDescription
content_typestringOptional filter for content type (movie, show, episode, etc)
limitintegerMaximum number of recently watched items to show
user_idintegerOptional user ID to filter by (takes precedence over username). Use user_list_all_users to get IDs.
usernamestringName of the user to get watch history for (ignored if user_id is provided)
user_list_all_usersList all users (owner, home users, and shared users) with their IDs and types.
user_search_usersSearch for users with names, usernames, or emails containing the search term, or list all users if no search term is provided.
ParameterTypeDescription
search_termstringOptional term to search for in user information
watchlist_addAdd a movie/show GUID from watchlist_search to the PLEX_TOKEN account's Watchlist.
ParameterTypeDescription
guid *string
home_user_idinteger
pinstring
usernamestring
watchlist_listList the PLEX_TOKEN account's Watchlist, including titles outside the library.
ParameterTypeDescription
home_user_idintegerOptional Plex Home profile ID from user_list_all_users. Omit for the configured account.
include_statebooleanInclude matching local library items and their watched/progress state (default True). Unmatched availability is unknown, not proof that media is absent. Shows report episode counts; individual episode progress is not included.
limitintegerPage size, from 1 to 100.
offsetintegerNumber of items to skip.
pinstringProfile PIN, only if required by Plex.
usernamestringExact Plex username or profile title. Uses the configured admin credentials; returns an error if access fails. home_user_id takes precedence.
watchlist_removeRemove a GUID returned by watchlist_list from the PLEX_TOKEN account's Watchlist.
ParameterTypeDescription
guid *string
home_user_idinteger
pinstring
usernamestring
watchlist_searchSearch Plex Discover for movie/show GUIDs to add to the Watchlist.
ParameterTypeDescription
content_typestringOptional movie or show filter.
home_user_idintegerOptional Plex Home profile ID from user_list_all_users.
limitintegerMaximum results, from 1 to 100.
pinstringProfile PIN, only if required by Plex.
query *stringTitle to search for.
usernamestringExact Plex username or profile title. Uses the configured admin credentials; returns an error if access fails. home_user_id takes precedence.

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 4.4K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
  • ✓No dynamic code executionScanned 14 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdio, Streamable HTTP and HTTP with SSEplex_mcp_server.py:489, plex_mcp_server.py:427, plex_mcp_server.py:11
Starts other programs
2 callswatcher.py:67, watcher.py:74
Outbound network calls
16 callsplex_mcp_server.py:206, plex_mcp_server.py:245, plex_mcp_server.py:265
Writes or deletes files
2 callsmodules/media.py:925, modules/server.py:157
Lockfile
None in the repository

Pattern matches on the source text of 14 files: places to read, not proof of what the code does at run time.

Releases

v1.5.0v1.5.0 · 13 Oct 2026Add `media_set_watched_status(media_id, watched, username)` to mark media watched or unwatched for the configured account or a selected accessible user. Supports movies, episodes, tracks, shows, seasons, albums, and artists. Container…
v1.4.1v1.4.1 · 12 Oct 2026Watchlist listings and search results now include the following fields when Plex supplies them: `release_date`: Plex’s release date; it does not distinguish theatrical, physical, or streaming releases. `duration_ms`: Runtime in…
v1.4.0v1.4.0 · 12 Oct 2026Add playback state to Watchlist listings, broader library filtering, smart playlists, and transport configuration through environment variables. Watchlist listings now include matched library copies and the selected user’s watched/progress…
v1.3.0v1.3.0 · 12 Oct 2026Adds Plex Watchlist tools and username selection for user-specific media and playlists. Search Plex Discover, list Watchlists, and add or remove movies and shows, including titles outside the local library. Select users for Watchlists,…
v1.2.0v1.2.0 · 12 Oct 2026Adds native Streamable HTTP support alongside SSE and stdio, with updated OAuth and client setup instructions. Serve `/mcp` with `--transport streamable-http`, while keeping legacy SSE endpoints available. Based on the contribution in #11…

README

The repository's README runs to about 4.4K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Plex MCP Server

How do I install Plex MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Plex MCP Server safe to use with an AI agent?

Its trust score is 74 out of 100 (good). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Dependencies pinned and Scoped permissions. Conduid's scan of 14 source files found that it serves MCP over stdio, Streamable HTTP and HTTP with SSE, starts other programs (2 calls), makes outbound network calls (16 calls) and writes or deletes files (2 calls). It has no ConduID identity yet, so agent calls to it are not receipted.

Is Plex MCP Server still maintained?

Yes — the latest release is v1.5.0 (13 Oct 2026), and the last commit was a month ago. The repository has 163 stars and 6 open issues.

What tools does Plex MCP Server provide?

Conduid read 63 tools from the source: client_control_playback, client_get_details, client_get_timelines, client_list, client_navigate, client_set_streams, client_start_playback, collection_add_to and 55 more. 56 of them publish their parameters, listed under Tools above.

What license is Plex MCP Server released under?

The repository declares the MIT license. That applies to the latest release, v1.5.0, as well.