plex-mcp
plex-mcp
Plex Media Server用のMCPサーバーで、Dockerコンテナとしてパッケージ化されています。MCPクライアント(Claude Desktopなど)からPlexライブラリを閲覧・検索できるようにします。
ツール
ツール | 説明 |
| サーバー上のすべてのライブラリ(セクション)を一覧表示 |
| すべてのライブラリを横断検索 |
| 最近追加されたアイテム(セクションごとの指定も可能) |
| 「オンデッキ」アイテム(視聴途中 / 次に再生するもの) |
| レーティングキーによるアイテムの完全なメタデータを取得 |
Related MCP server: Plex Assistant MCP
設定
以下の2つの環境変数が必要です:
変数 | 例 | 備考 |
|
| PlexサーバーのベースURL |
| (下記参照) | 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-mcpClaude 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
This server cannot be installed
Maintenance
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
- FlicenseAqualityDmaintenanceA Python-based MCP server that integrates with Plex Media Server API to search for movies and manage playlists in your Plex media library.96
- AlicenseNot gradedqualityDmaintenanceEnables 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
- AlicenseNot gradedqualityBmaintenanceMCP server for reelgrep - browse and search your local video library from any MCP client.12MIT
- AlicenseAqualityCmaintenanceMCP server for Plex Media Server, focused on media discovery, search, library management, and playback control.25MIT
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)
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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