Skip to main content
Glama
CarlDog
by CarlDog

plex-mcp

Plex Media Server用のMCPサーバーで、Dockerコンテナとしてパッケージ化されています。MCPクライアント(Claude Desktopなど)からPlexライブラリを閲覧・検索できるようにします。

ツール

ツール

説明

plex_list_libraries

サーバー上のすべてのライブラリ(セクション)を一覧表示

plex_search

すべてのライブラリを横断検索

plex_recently_added

最近追加されたアイテム(セクションごとの指定も可能)

plex_on_deck

「オンデッキ」アイテム(視聴途中 / 次に再生するもの)

plex_get_item

レーティングキーによるアイテムの完全なメタデータを取得

Related MCP server: Plex Assistant MCP

設定

以下の2つの環境変数が必要です:

変数

備考

PLEX_URL

http://192.168.1.50:32400

PlexサーバーのベースURL

PLEX_TOKEN

(下記参照)

Plex認証トークン

Plexトークンの取得方法については、Plexの認証トークンの検索ガイドを参照してください。

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

Claude Desktopでの使用

claude_desktop_config.jsonに以下を追加してください:

{
  "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"
      }
    }
  }
}

ローカル開発

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

セキュリティ

  • コンテナは非rootユーザー(plexmcp)として実行されます。

  • Plexトークンは環境変数を介して渡されます。イメージに直接埋め込まないでください。

  • .githooks/pre-commitがコミットごとにgitleaksを実行します。クローンごとに一度だけ有効化してください: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