Skip to main content
Glama
CarlDog
by CarlDog

plex-mcp

Ein MCP-Server für den Plex Media Server, verpackt als Docker-Container. Ermöglicht es einem MCP-Client (Claude Desktop usw.), Ihre Plex-Bibliotheken zu durchsuchen und zu durchsuchen.

Tools

Tool

Beschreibung

plex_list_libraries

Alle Bibliotheken (Sektionen) auf dem Server auflisten

plex_search

Über alle Bibliotheken hinweg suchen

plex_recently_added

Kürzlich hinzugefügte Elemente, optional pro Sektion

plex_on_deck

Elemente "on deck" (teilweise angesehen / als Nächstes)

plex_get_item

Vollständige Metadaten für ein Element anhand des Rating-Keys

Related MCP server: Plex Assistant MCP

Konfiguration

Zwei Umgebungsvariablen, beide erforderlich:

Var

Beispiel

Hinweise

PLEX_URL

http://192.168.1.50:32400

Basis-URL Ihres Plex-Servers

PLEX_TOKEN

(siehe unten)

Plex-Authentifizierungs-Token

Um Ihr Plex-Token zu finden, lesen Sie den Leitfaden von Plex zum Finden eines Authentifizierungs-Tokens.

Ausführen mit Docker

docker build -t plex-mcp .
docker run -i --rm \
  -e PLEX_URL=http://192.168.1.50:32400 \
  -e PLEX_TOKEN=your-token \
  plex-mcp

Verwendung mit Claude Desktop

Fügen Sie dies zu Ihrer claude_desktop_config.json hinzu:

{
  "mcpServers": {
    "plex": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "PLEX_URL",
        "-e", "PLEX_TOKEN",
        "plex-mcp"
      ],
      "env": {
        "PLEX_URL": "http://192.168.1.50:32400",
        "PLEX_TOKEN": "your-token"
      }
    }
  }
}

Lokale Entwicklung

npm install
cp .env.example .env  # then edit
PLEX_URL=... PLEX_TOKEN=... npm run dev

Sicherheit

  • Der Container läuft als Nicht-Root-Benutzer (plexmcp).

  • Das Plex-Token wird über eine Umgebungsvariable übergeben – binden Sie es niemals fest in das Image ein.

  • Ein .githooks/pre-commit führt bei jedem Commit gitleaks aus. Aktivieren Sie es einmal pro Klon: git config core.hooksPath .githooks

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
3dResponse time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables users to manage and control their Plex media library through natural language commands in MCP-compatible AI clients. It supports searching content, managing playlists, tracking library statistics, and monitoring live viewing sessions.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    MCP server for reelgrep - browse and search your local video library from any MCP client.
    12
    MIT

View all related MCP servers

Related MCP Connectors

  • Search and browse every MCP server in the Model Context Protocol registry.

  • Remote MCP server for full read/write access to a Zotero library

  • OMDb MCP — IMDB-derived movie / TV / episode data (BYO key)

View all MCP Connectors

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/CarlDog/plex-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server