Skip to main content

Plex MCP

io.github.dustinhansen/plex-mcp

v0.10.0Updated Nov 8, 2026stdio · npmstdio · Docker

Full-library Plex access for AI agents: watched state, all-user watch history, safe curation writes.

Install

Needs 1 secret. Replace 2 placeholders with your own values.

Run in your terminal. Replace 2 placeholders.

claude mcp add plex-mcp -e 'PLEX_URL=<your-plex-url>' -e 'PLEX_TOKEN=<your-plex-token>' -- npx -y @dustinhansen/[email protected]

Configuration

8 settings, 2 required secrets. Snippets use placeholders; keep real values out of shared config.

  • PLEX_TOKEN
    Env var· required· secret
    Owner/admin X-Plex-Token (run `npx @dustinhansen/plex-mcp login`)
  • MCP_PATH_SECRET
    Env var· required· secret
    The endpoint's only credential: a long random string in the URL path, e.g. from `openssl rand -hex 32`
  • PLEX_URL
    Env var· required
    Plex server base URL, e.g. http://<plex-host>:32400
  • TAUTULLI_API_KEY
    Env var· optional· secret
    Optional Tautulli API key
  • PLEX_ALLOW_PLAYBACK
    Env var· optional
    Set to 1 to enable play-to-client tools
  • PLEX_READ_ONLY
    Env var· optional
    Set to 1 to register no write or playback tools
Show 2 more
  • TAUTULLI_URL
    Env var· optional
    Optional Tautulli base URL
  • --publish
    Argument· optional
    Publish the MCP port on loopback only

Listed in the official MCP Registry since Nov 8, 2026. Mirrored daily; last checked Nov 26, 2026.