Plex MCP Server
MCP server by niavasha Verified · npm:plex-mcp-server
Plex MCP Server gives AI assistants access to Plex Media Server, Sonarr, Radarr and Trakt.tv through one server. It is aimed at people who manage a media library and want to browse, analyze and get recommendations from their AI assistant.
Install Plex MCP Server
Built from the published package, never by AI.
claude mcp add plex-mcp-server -- npx -y plex-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"plex-mcp-server": {
"args": [
"-y",
"plex-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"plex-mcp-server": {
"args": [
"-y",
"plex-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"plex-mcp-server": {
"args": [
"-y",
"plex-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add plex-mcp-server -- npx -y plex-mcp-server{
"mcpServers": {
"plex-mcp-server": {
"args": [
"-y",
"plex-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add plex-mcp-server npx -y plex-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the plex-mcp-server block.
About
Plex MCP Server is a Model Context Protocol server that gives AI assistants access to a Plex Media Server, Sonarr, Radarr and Trakt.tv from one unified server. It exposes tools for browsing libraries, searching media, reading viewing statistics and listing watchlists and playlists. Write operations such as editing metadata, managing playlists and marking items watched are opt-in.
Sonarr and Radarr tools cover searching, adding series and movies, and viewing download queues. Trakt support adds OAuth authentication, watch history sync and scrobbling. The recommendation engine scores unwatched movies from your watch history. It suits people who run Plex libraries and want an AI assistant to query and manage them. Only the Plex token is required; other services are optional.
Written from the project's README and checked against it.
Tools it gives your assistant
get_librariesLists all Plex libraries on the server.search_mediaSearches media globally or within one library.get_on_deckReturns the Plex continue watching list.get_watch_statsProvides comprehensive viewing statistics.get_recommendationsGives personalized movie recommendations based on watch history.get_active_sessionsShows currently active Plex streams and who is watching what.sonarr_get_queueShows the Sonarr download queue.sonarr_add_seriesAdds a series to Sonarr by TVDB ID, optionally with tags.add_to_playlistAdds a media item to a playlist (write operation, opt-in).mark_watchedMarks a media item as watched (write operation, opt-in).
What you need
- Node.js 20 or later, or Docker
- Plex Media Server
- Plex token
- MCP-compatible client such as Claude Desktop
- Optional Trakt OAuth application
- Optional Sonarr and Radarr API keys
Try asking
- What movies did I watch last week?
- Recommend me some movies from my library
- What's in my Sonarr download queue?
Good to know
- Write operations are off unless PLEX_ENABLE_MUTATIVE_OPS=true is set.
- The source states there are no guarantees for the write tools while they are tested.
- The HTTP endpoint has no authentication of its own.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Plex MCP Server
All alternatives →HyperFrames is HeyGen's open-source AI video editor for people and agents. It turns HTML, CSS, JavaScript and seekable animations into MP4 videos, and can be used from a desktop app, coding agents or chat.
Remocn is a hosted MCP server that helps AI assistants make Remotion videos from 935 MIT-licensed components. It searches components, reads their docs, plans a storyboard and previews results. It is for developers building videos with Remotion.
Agent-Native Assets is the Assets agent from the Agent-Native framework, which creates and organizes on-brand media. It is for developers building agents that pair autonomous work with a purpose-built UI.
Runs an open source engine for a news site that finds hot AI events and writes daily, weekly and monthly briefs. Built for people who want an industry hot-news site in their own field, with MCP access for AI agents.
Turns long videos into captioned 9:16 shorts and can publish them to TikTok, Instagram, YouTube and other networks. It suits creators, marketing agencies and developers who want a self-hosted or hosted option.
Remove AI Watermarks removes AI provenance marks from images, video, audio, and text that you generated yourself. It is aimed at developers and researchers working on AI provenance signals.
Compare with HyperFrames by HeyGen, Remocn: Remotion MCP server or Agent-Native Assets
Plex MCP Server: common questions
Do I need Sonarr, Radarr or Trakt to use it?
No. Only PLEX_TOKEN is required. Tools for unconfigured services return a setup message instead of crashing the server.
Can the assistant change my Plex server?
Only if PLEX_ENABLE_MUTATIVE_OPS=true is set. The source advises reviewing proposed changes before confirming them.
Is the HTTP transport secured?
The source says the HTTP endpoint has no authentication of its own, so it should stay bound to 127.0.0.1 or sit behind a service that authenticates.
How do I install Plex MCP Server?
In Claude Code run claude mcp add plex-mcp-server -- npx -y plex-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Plex MCP Server the official server?
Plex MCP Server is published by npm:plex-mcp-server from its verified domain in the official MCP Registry.
Is Plex MCP Server free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Plex MCP Server safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Plex MCP Server?
Similar MCP servers: HyperFrames by HeyGen, Remocn: Remotion MCP server, Agent-Native Assets, AIHOT.
Does Plex MCP Server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
