plex-claude-plugin
Provides tools for Plex Media Server administration including library management, media file identification and renaming to Plex-compliant naming conventions, batch processing of media directories, folder watching for automatic ingestion, and triggering library scans.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Plex Claude Plugin
A Claude MCP plugin for Plex Media Server administration. Provides automated library updates, intelligent media file naming, and automatic ingestion with folder watching.
Features
Library Management: List, search, and trigger scans on Plex libraries
Media Identification: Parse filenames with guessit, verify against TMDb, construct Plex-compliant names
Batch Processing: Identify and rename entire directories of media files in one operation
Auto-Ingestion: Watch a folder for new media files, automatically identify, rename, copy to libraries, and trigger scans
Safety Model: Three-tier tool classification (read/write/blocked) prevents accidental damage
Related MCP server: Plex Assistant MCP
Architecture
Built as a Python MCP server using FastMCP, following the same patterns as the TrueNAS Claude Plugin.
Claude Desktop / Claude Code
| stdio (MCP)
v
MCP Server (FastMCP)
+-- PlexClient (python-plexapi)
+-- MediaMatcher (guessit + TMDb)
+-- FileManager (copy/rename/move)
+-- IngestWatcher (watchdog)
+-- IngestHistory (SQLite audit log)Requirements
Python 3.11+
Plex Media Server with API access
TMDb API key (free at https://www.themoviedb.org/settings/api)
uv package manager
Quick Start
π See QUICKSTART.md for detailed setup instructions!
1. Interactive Configuration (Recommended)
cd videodrome-plugin/montreal-v1
./setup-config.shThis wizard will:
β Guide you through all settings
β Test Plex and TMDb connections
β Save configuration to
.envfile
2. Test the Server
uv run --env-file .env videodromeYou should see: Plex MCP Server started successfully!
3. Connect to Claude
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"plex": {
"command": "uv",
"args": [
"--directory", "/FULL/PATH/TO/videodrome-plugin/montreal-v1",
"run", "--env-file", ".env", "videodrome"
]
}
}
}Important: Use absolute path and restart Claude Desktop!
Installation
Claude Desktop (.mcpb)
Download the latest .mcpb file from Releases and open it with Claude Desktop.
Claude Code (Plugin)
claude plugin install /path/to/videodrome-pluginManual Configuration
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"plex": {
"command": "uv",
"args": ["--directory", "/path/to/videodrome-plugin", "run", "videodrome"],
"env": {
"PLEX_URL": "http://192.168.1.100:32400",
"PLEX_TOKEN": "your-plex-token",
"TMDB_API_KEY": "your-tmdb-api-key",
"PLEX_MEDIA_ROOT": "/data/media",
"PLEX_INGEST_DIR": "/data/ingest"
}
}
}
}Configuration
Variable | Required | Default | Description |
| Yes | - | Plex server URL |
| Yes | - | X-Plex-Token |
| Yes | - | TMDb API key |
| Yes | - | Root path for media libraries |
| No | - | Folder to watch for new files |
| No |
| Auto-process high-confidence matches |
| No |
| Minimum confidence for auto-processing |
| No |
| Start watcher on server launch |
MCP Tools
Read-only (auto-approved)
list_libraries- List Plex library sectionslist_recent- Recently added itemssearch_library- Search by titleget_server_info- Server statuslist_directory- List local filesparse_filename- Parse with guessitsearch_tmdb- Search TMDbget_tmdb_details/get_tmdb_episode- TMDb metadatapreview_rename- Preview Plex-compliant namebatch_identify- Identify all files in a directoryget_watcher_status- Watcher stateget_ingest_queue- Pending review itemsget_ingest_history- Past operations
Write (require confirmation)
scan_library- Trigger library scanrename_file/copy_file/move_file- File operationscreate_directory- Create folder structureexecute_naming_plan- Batch rename/copyexecute_ingest- Full ingest pipelinestart_watcher/stop_watcher- Control watcherapprove_ingest/reject_ingest- Handle queued items
Claude Code Commands
Command | Description |
| Trigger a library scan |
| Identify a media file |
| Rename files to Plex format |
| Process a folder of media |
| Show server status |
| Preview a naming plan |
| Control the file watcher |
| Review pending ingest items |
Development
# Clone and setup
git clone https://github.com/nickperrott/videodrome-plugin.git
cd videodrome-plugin
uv sync --extra dev
# Run tests
pytest tests/ -v
# Run server locally
uv run videodromePlex Naming Conventions
Movies
/Movies/Movie Name (Year) {tmdb-ID}/Movie Name (Year) {tmdb-ID}.mkvTV Shows
/TV Shows/Show Name (Year)/Season 01/Show Name (Year) - s01e01 - Episode Title.mkvLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Admin tools for managing the AI SVG Generator site. Requires a scoped admin bearer token.
Linux server administration over OAuth MCP: shell, Docker, systemd, files and monitoring.
Control Unreal Engine to browse assets, import content, and manage levels and sequences. Automateβ¦
Manage videos and live streams, inspect captions, players and webhooks, and read play analytics.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables search, browsing, and management of Plex media libraries including movies, TV shows, and music, with support for playlists, watch history, natural language music discovery, and detailed media information retrieval.2245 npm5ISC
- 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
- FlicenseNot gradedqualityDmaintenanceEnables full management of a Plex Media Server via Claude, including browsing libraries, fixing metadata, managing collections, and more.-
- AlicenseNot gradedqualityBmaintenanceEnables interaction with Plex Media Server via the MCP protocol, allowing AI agents to manage libraries, media, playlists, collections, users, sessions, and server administration.300 PyPI162MIT