MCP server · Audited from source
Plex MCP server
by niavasha/plex-mcp-serverMIT licenceAudited 8 Oct 2026 · source ab3fb262fb94
Is it safe? With care — CAUTION, grade B (89/100). It exposes 61 tools: 39 read, 17 write and 5 destructive. The audit recorded 10 findings (0 critical, 0 high, 2 medium, 8 low). Maintainer's description: Plex MCP Server
Cite
Cite this page
ModelsAtlas. “Plex MCP server (niavasha/plex-mcp-server)”. Retrieved 8 Oct 2026. https://modelsatlas.com/mcp/niavasha/plex-2
2 MCP servers are called Plex. This is the one we pick. Compare all 2 →
- niavasha/plex-mcp-server★ 54!CAUTION
- vladimir-tutin/plex-mcp-server★ 150✕BLOCK
Trust audit
Audit 0.4.1 · full source read 8 Oct 2026
10 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared1 observation
- NetworkDeclared2 observations
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 1 finding |
L1 Static source | Secrets, path traversal, supply chain | WARN 5 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 3 findings |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
niavashaUser accountAccount type recorded when we read the repository. - PackagePublished on npm
plex-mcp-serverat version 1.6.0 - LicenceMITFrom the repository, as read at the audited commit.
- Last push2 days agoActivity of the repository when we read it.
- Source commit readab3fb262fb94The audit covers exactly this commit, read on 8 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory61 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (10)
Sorted by severity
MEDIUMNetwork egressnet.raw_ip · Dockerfile:35
CMD ["node", "-e", "fetch('http://127.0.0.1:'+(process.env.MCP_PORT||3000)+'/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"]- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
clear_playlist, delete_all_libraries, delete_playlist, remove_from_playlist, remove_from_watchlist
- Why
- 5 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWFilesystem / pathfs.traversal · src/__tests__/docs-consistency.test.ts:14
const readme = readFileSync(new URL("../../README.md", import.meta.url), "utf8");- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · .github/workflows/ci.yml:38
if curl -fsS --max-time 2 http://127.0.0.1:3000/health -o /tmp/health.json; then
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · src/__tests__/transport-sessions.test.ts:273
baseUrl = `http://127.0.0.1:${port}`;- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/sdk, @toon-format/toon, axios, dotenv, @types/node, tsx, typescript, vitest
- Why
- 8 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWPrompt injectionprompt.credential_read · CHANGELOG.md:174
- Server entrypoints load `.env` automatically via `dotenv/config`.
- Why
- asks the agent to read credentials
- Fix
- —
LOWPrompt injectionprompt.credential_read · SECURITY.md:20
- API tokens (Plex, Sonarr, Radarr, Trakt) are read from environment variables and never logged
- Why
- asks the agent to read credentials
- Fix
- —
LOWPrompt injectionprompt.transfer_instruction · CHANGELOG.md:97
* **transport:** bound sessions and request bodies, and repair idle expiry. An unauthenticated `POST /mcp` could previously exhaust memory, and every session was torn down 300s after creation regardle
- Why
- an instruction to move sensitive data to an outside destination
- Fix
- remove; a skill never needs the user's secrets off the machine
Tools it exposes
61 declared in source · 5 destructive
5 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
clear_playlist | destructive | Clear all items from a playlist (preview unless confirm=true; requires PLEX_ENABLE_MUTATIVE_OPS=true) |
delete_all_libraries | destructive | x |
delete_playlist | destructive | Delete a Plex playlist without deleting the underlying media (requires PLEX_ENABLE_MUTATIVE_OPS=true) |
remove_from_playlist | destructive | Remove an item from a playlist (requires PLEX_ENABLE_MUTATIVE_OPS=true) |
remove_from_watchlist | destructive | Remove a movie or show from the account watchlist by global Plex GUID or local rating key (requires PLEX_ENABLE_MUTATIVE_OPS=true) |
add_to_playlist | write | Add a media item to a playlist (requires PLEX_ENABLE_MUTATIVE_OPS=true) |
add_to_watchlist | write | Add a local Plex movie or show to the account watchlist (requires PLEX_ENABLE_MUTATIVE_OPS=true) |
create_playlist | write | Create a new Plex playlist (requires PLEX_ENABLE_MUTATIVE_OPS=true). |
radarr_add_movie | write | Add a new movie to Radarr by TMDB ID |
radarr_search | write | Search TMDB for new movies to add to Radarr |
radarr_trigger_search | write | Trigger a search for missing movies, optionally for a specific movie |
rate_media | write | Set the user |
sonarr_add_series | write | Add a new series to Sonarr by TVDB ID |
sonarr_search | write | Search TheTVDB for new series to add to Sonarr |
sonarr_trigger_search | write | Trigger a search for missing episodes, optionally for a specific series |
trakt_authenticate | write | Start Trakt.tv OAuth authentication process |
trakt_get_sync_status | write | Check status of ongoing sync operations |
trakt_start_scrobbling | write | Enable real-time scrobbling to Trakt.tv |
trakt_sync_from_trakt | write | Get watch history from Trakt.tv for comparison |
trakt_sync_to_trakt | write | Sync Plex watch history to Trakt.tv |
update_metadata | write | Update metadata fields for a media item (requires PLEX_ENABLE_MUTATIVE_OPS=true) |
update_metadata_from_json | write | Update metadata from a JSON payload (requires PLEX_ENABLE_MUTATIVE_OPS=true) |
arr_get_status | read | Check connection status of Sonarr and Radarr services |
export_library | read | Export a full library to a JSON file (within ./exports) |
get_active_sessions | read | Get currently active Plex streams — who is watching what right now, |
get_editable_fields | read | Get editable fields and available tags for a media item |
get_fully_watched | read | Get all fully watched movies and shows from a library |
get_libraries | read | x |
get_library_items | read | List items in a library with pagination (useful for large libraries) |
get_library_stats | read | Get library-specific statistics |
get_media_details | read | Get detailed information about a specific media item |
get_on_deck | read | Get on deck (continue watching) items |
get_playlist_items | read | Get items in a Plex playlist |
get_playlists | read | Get all Plex playlists |
get_popular_content | read | Get most popular content by plays or duration |
get_recently_added | read | Get recently added media |
get_recently_watched | read | Get recently watched movies and shows |
get_recommendations | read | Get personalized movie recommendations from your Plex library based on watch history. |
get_user_stats | read | Get user-specific watch statistics |
get_watch_history | read | Get detailed watch history with session information |
get_watch_stats | read | Get comprehensive watch statistics (Tautulli-style analytics) |
get_watchlist | read | Get the user |
mark_unwatched | read | Mark a Plex media item as unwatched (requires PLEX_ENABLE_MUTATIVE_OPS=true) |
mark_watched | read | Mark a Plex media item as watched (requires PLEX_ENABLE_MUTATIVE_OPS=true) |
ping | read | ping |
radarr_get_calendar | read | Get upcoming movies from the Radarr calendar |
radarr_get_missing | read | Get missing/wanted movies from Radarr |
radarr_get_movies | read | List all movies in Radarr with optional title filter |
radarr_get_profiles | read | Get Radarr quality profiles and root folders (needed before adding movies) |
radarr_get_queue | read | Get the current Radarr download queue |
search_media | read | Search for media in Plex libraries |
some_future_tool | read | x |
sonarr_get_calendar | read | Get upcoming episodes from the Sonarr calendar |
sonarr_get_missing | read | Get missing/wanted episodes from Sonarr |
sonarr_get_profiles | read | Get Sonarr quality profiles and root folders (needed before adding series) |
sonarr_get_queue | read | Get the current Sonarr download queue |
sonarr_get_series | read | List all series in Sonarr with optional title filter |
trakt_complete_auth | read | Complete Trakt.tv authentication with authorization code |
trakt_get_auth_status | read | Check Trakt.tv authentication status |
trakt_get_user_stats | read | Get enhanced viewing statistics from Trakt.tv |
trakt_search | read | Search for movies and shows on Trakt.tv |
Install
Package version 1.6.0 · audited commit ab3fb26
Read the findings first. The most severe is Network egress (medium) at Dockerfile.
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 1.6.0. The audit covers commit ab3fb26 only.
claude mcp add plex-mcp-server --env PLEX_TOKEN=${PLEX_TOKEN} --env RADARR_API_KEY=${RADARR_API_KEY} --env SONARR_API_KEY=${SONARR_API_KEY} --env TRAKT_ACCESS_TOKEN=${TRAKT_ACCESS_TOKEN} -- npx -y [email protected]{
"mcpServers": {
"plex-mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"PLEX_TOKEN": "${PLEX_TOKEN}",
"RADARR_API_KEY": "${RADARR_API_KEY}",
"SONARR_API_KEY": "${SONARR_API_KEY}",
"TRAKT_ACCESS_TOKEN": "${TRAKT_ACCESS_TOKEN}"
}
}
}
}The command pins the package version recorded in the source (1.6.0); the audit covers commit ab3fb262fb94. Transport: stdio · streamable-http. Reads these environment variables: PLEX_TOKEN, RADARR_API_KEY, SONARR_API_KEY, TRAKT_ACCESS_TOKEN, TRAKT_CLIENT_SECRET, TRAKT_REFRESH_TOKEN. Give it the narrowest token it needs.
Audit history
- !CAUTION B 89 / 100
First audit ·
ab3fb262fb94
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/niavasha/plex-2/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Plex MCP server
What is the Plex MCP server?
What tools does Plex expose?
Is Plex safe to connect to an agent?
What credentials does Plex need?
How does Plex run?
How current is this page?
Which Plex MCP server is the right one?
Sources
- niavasha/plex-mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 8 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit ab3fb262fb94Observed · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Plex MCP server?
- What tools does Plex expose?
- Is Plex safe to connect to an agent?