Plex MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PLEX_URL | Yes | The URL of your Plex Media Server (e.g., http://localhost:32400) | http://localhost:32400 |
| PLEX_TOKEN | Yes | Your Plex authentication token | |
| RADARR_URL | No | The URL of your Radarr instance (e.g., http://localhost:7878) | http://localhost:7878 |
| SONARR_URL | No | The URL of your Sonarr instance (e.g., http://localhost:8989) | http://localhost:8989 |
| RADARR_API_KEY | No | API Key for Radarr (optional at startup, required for Radarr tools) | |
| SONARR_API_KEY | No | API Key for Sonarr (optional at startup, required for Sonarr tools) | |
| TRAKT_CLIENT_ID | No | Your Trakt.tv API Client ID | |
| TRAKT_CLIENT_SECRET | No | Your Trakt.tv API Client Secret |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_librariesB | Get all Plex libraries |
| search_mediaC | Search for media in Plex libraries |
| get_recently_addedC | Get recently added media |
| get_on_deckC | Get on deck (continue watching) items |
| get_media_detailsC | Get detailed information about a specific media item |
| get_recently_watchedC | Get recently watched movies and shows |
| get_fully_watchedC | Get all fully watched movies and shows from a library |
| get_watch_statsC | Get comprehensive watch statistics (Tautulli-style analytics) |
| get_user_statsC | Get user-specific watch statistics |
| get_library_statsC | Get library-specific statistics |
| get_popular_contentC | Get most popular content by plays or duration |
| get_watch_historyC | Get detailed watch history with session information |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/niavasha/plex-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server