Skip to main content
Glama

Plex MCP Server

get_watch_history

Retrieve detailed watch history and session data from Plex Media Server, enabling filtering by user, media type, and session count for precise insights.

Instructions

Get detailed watch history with session information

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of sessions to return (default: 50)
mediaTypeNoFilter by media typeall
userIdNoFilter by specific user ID (optional)

Input Schema (JSON Schema)

{ "properties": { "limit": { "default": 50, "description": "Number of sessions to return (default: 50)", "type": "number" }, "mediaType": { "default": "all", "description": "Filter by media type", "enum": [ "movie", "show", "episode", "all" ], "type": "string" }, "userId": { "description": "Filter by specific user ID (optional)", "type": "string" } }, "type": "object" }

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