
niavasha/plex-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
niavasha/plex-mcp-server は [https://github.com/niavasha/plex-mcp-server.] からインポートされた MCP サーバー候補です
概要
niavasha/plex-mcp-server は [https://github.com/niavasha/plex-mcp-server.] からインポートされた MCP サーバー候補です
概要(AI 翻訳)
Plex Media Server、Sonarr、Rarr、Trackkt.tvの包括的なアクセスでAIアシスタントを提供する**Model Context Protocol(MCP)**サーバー。
これは何ですか?
このMCPサーバーは、Plex Media ServerをAI対応データベースに変換します。 以下のようなAIアシスタントの質問をしてください。
- 「最近見ている映画とは?」
- 「過去の月の私の表示統計を表示」
- 「サーバ上で一番人気のコンテンツとは?」
- 「私のライブラリでアクション映画を隠す」
- 「続きを見る」とは?
- 「ソンラーに新しいショーを追加」
- 「ダウンロードキューには何がありますか?」
- 「時計の歴史をトランクへ」
- 「見ていない映画をおすすめ」
##特徴
** 54 ツール** 箱から (書き込み操作が有効になっている66)
- Plex Library Management — ライブラリ、検索メディアをブラウズし、詳細なメタデータ、リストのプレイリスト、および watchlist を取得します。 -Tautulli-Style Analytics — 統計、ユーザーアクティビティ、人気のあるコンテンツ、時計の歴史
- パーソナライズされた推奨事項 — 時計の歴史、ジャンル、監督、俳優に基づいてAIを搭載した映画の提案.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Plex MCP Server
A Model Context Protocol (MCP) server that provides AI assistants with comprehensive access to your Plex Media Server, Sonarr, Radarr, and Trakt.tv — all from a single unified server.
What is this?
This MCP server transforms your Plex Media Server into an AI-queryable database. Ask your AI assistant questions like:
- “What movies have I watched recently?”
- “Show me my viewing statistics for the past month”
- “What’s the most popular content on my server?”
- “Find action movies in my library”
- “What’s on my continue watching list?”
- “Add that new show to Sonarr”
- “What’s in my download queue?”
- “Sync my watch history to Trakt”
- “Recommend me some movies I haven’t seen”
Features
54 tools out of the box (66 with write operations enabled):
- Plex Library Management — Browse libraries, search media, get detailed metadata, list playlists and watchlist
- Tautulli-Style Analytics — Viewing statistics, user activity, popular content, watch history
- Personalized Recommendations — AI-powered movie suggestions based on your watch history, genres, directors, and actors. Supports per-user profiles for multi-user Plex servers.
- Sonarr/Radarr Integration — Browse, search, add series/movies, view queues, trigger downloads
- Trakt.tv Sync — OAuth authentication, watch history sync, enhanced statistics, scrobbling. When configured, Trakt data enriches recommendations by catching movies watched outside Plex.
- Write Operations (opt-in) — Create/edit playlists, update metadata, manage watchlist, rate media, and mark media watched or unwatched
One server, all tools. Trakt and Sonarr/Radarr credentials are optional — tools that need them return a helpful setup message if the key is missing. You don’t need to configure everything upfront.
Quick Start
Prerequisites
- Node.js 20+
- Plex Media Server (any recent version)
- Plex Token (How to get your token)
- MCP-compatible client (Claude Desktop, etc.)
Installation
# Clone the repository
git clone https://github.com/niavasha/plex-mcp-server.git
cd plex-mcp-server
# Install dependencies
npm install
# Build the project
npm run build
Or install directly from npm:
npx plex-mcp-server
インストール
npx plex-mcp-server設定
{
"mcpServers": {
"plex": {
"command": "node",
"args": ["/path/to/plex-mcp-server/build/plex-mcp-server.js"],
"env": {
"PLEX_URL": "http://localhost:32400",
"PLEX_TOKEN": "your_plex_token_here",
"SONARR_URL": "http://localhost:8989",
"SONARR_API_KEY": "optional_sonarr_api_key",
"RADARR_URL": "http://localhost:7878",
"RADARR_API_KEY": "optional_radarr_api_key",
"TRAKT_CLIENT_ID": "optional_trakt_client_id",
"TRAKT_CLIENT_SECRET": "optional_trakt_client_secret"
}
}
}
}