Skip to main content
Glama

Plex MCP Server

by niavasha

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PLEX_URLYesThe URL of your Plex Media Serverhttp://localhost:32400
PLEX_TOKENYesYour Plex authentication token for API access

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
get_libraries

Get all Plex libraries

search_media

Search for media in Plex libraries

get_recently_added

Get recently added media

get_on_deck

Get on deck (continue watching) items

get_media_details

Get detailed information about a specific media item

get_recently_watched

Get recently watched movies and shows

get_fully_watched

Get all fully watched movies and shows from a library

get_watch_stats

Get comprehensive watch statistics (Tautulli-style analytics)

get_user_stats

Get user-specific watch statistics

get_library_stats

Get library-specific statistics

get_popular_content

Get most popular content by plays or duration

get_watch_history

Get detailed watch history with session information

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