Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Plex MCP server

by niavasha/plex-mcp-serverMIT licenceAudited 8 Oct 2026 · source ab3fb262fb94

npm plex-mcp-server 1.6.0stdiostreamable-http★ 54
!CAUTIONGrade B · 89/100 · 8 Oct 2026 · ab3fb26
54GitHub stars

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

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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 →

Trust audit

Audit 0.4.1 · full source read 8 Oct 2026

Trust score89/100!CAUTION B
0 critical0 high2 medium8 low0 info

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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 1 finding
L1 Static sourceSecrets, path traversal, supply chainWARN 5 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 3 findings
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

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 npmplex-mcp-server at 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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
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
LOWInventory / provenanceinv.hidden_file · .release-please-manifest.json
F-13 Inventory / provenanceCWE-1104Layer L0
.release-please-manifest.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · src/__tests__/docs-consistency.test.ts:14
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
baseUrl = `http://127.0.0.1:${port}`;
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- Server entrypoints load `.env` automatically via `dotenv/config`.
Why
asks the agent to read credentials
Fix
—
LOWPrompt injectionprompt.credential_read · SECURITY.md:20
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- 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
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
* **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

39 read17 write5 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.

ToolRiskWhat it does
clear_playlistdestructiveClear all items from a playlist (preview unless confirm=true; requires PLEX_ENABLE_MUTATIVE_OPS=true)
delete_all_librariesdestructivex
delete_playlistdestructiveDelete a Plex playlist without deleting the underlying media (requires PLEX_ENABLE_MUTATIVE_OPS=true)
remove_from_playlistdestructiveRemove an item from a playlist (requires PLEX_ENABLE_MUTATIVE_OPS=true)
remove_from_watchlistdestructiveRemove a movie or show from the account watchlist by global Plex GUID or local rating key (requires PLEX_ENABLE_MUTATIVE_OPS=true)
add_to_playlistwriteAdd a media item to a playlist (requires PLEX_ENABLE_MUTATIVE_OPS=true)
add_to_watchlistwriteAdd a local Plex movie or show to the account watchlist (requires PLEX_ENABLE_MUTATIVE_OPS=true)
create_playlistwriteCreate a new Plex playlist (requires PLEX_ENABLE_MUTATIVE_OPS=true).
radarr_add_moviewriteAdd a new movie to Radarr by TMDB ID
radarr_searchwriteSearch TMDB for new movies to add to Radarr
radarr_trigger_searchwriteTrigger a search for missing movies, optionally for a specific movie
rate_mediawriteSet the user
sonarr_add_serieswriteAdd a new series to Sonarr by TVDB ID
sonarr_searchwriteSearch TheTVDB for new series to add to Sonarr
sonarr_trigger_searchwriteTrigger a search for missing episodes, optionally for a specific series
trakt_authenticatewriteStart Trakt.tv OAuth authentication process
trakt_get_sync_statuswriteCheck status of ongoing sync operations
trakt_start_scrobblingwriteEnable real-time scrobbling to Trakt.tv
trakt_sync_from_traktwriteGet watch history from Trakt.tv for comparison
trakt_sync_to_traktwriteSync Plex watch history to Trakt.tv
update_metadatawriteUpdate metadata fields for a media item (requires PLEX_ENABLE_MUTATIVE_OPS=true)
update_metadata_from_jsonwriteUpdate metadata from a JSON payload (requires PLEX_ENABLE_MUTATIVE_OPS=true)
arr_get_statusreadCheck connection status of Sonarr and Radarr services
export_libraryreadExport a full library to a JSON file (within ./exports)
get_active_sessionsreadGet currently active Plex streams — who is watching what right now,
get_editable_fieldsreadGet editable fields and available tags for a media item
get_fully_watchedreadGet all fully watched movies and shows from a library
get_librariesreadx
get_library_itemsreadList items in a library with pagination (useful for large libraries)
get_library_statsreadGet library-specific statistics
get_media_detailsreadGet detailed information about a specific media item
get_on_deckreadGet on deck (continue watching) items
get_playlist_itemsreadGet items in a Plex playlist
get_playlistsreadGet all Plex playlists
get_popular_contentreadGet most popular content by plays or duration
get_recently_addedreadGet recently added media
get_recently_watchedreadGet recently watched movies and shows
get_recommendationsreadGet personalized movie recommendations from your Plex library based on watch history.
get_user_statsreadGet user-specific watch statistics
get_watch_historyreadGet detailed watch history with session information
get_watch_statsreadGet comprehensive watch statistics (Tautulli-style analytics)
get_watchlistreadGet the user
mark_unwatchedreadMark a Plex media item as unwatched (requires PLEX_ENABLE_MUTATIVE_OPS=true)
mark_watchedreadMark a Plex media item as watched (requires PLEX_ENABLE_MUTATIVE_OPS=true)
pingreadping
radarr_get_calendarreadGet upcoming movies from the Radarr calendar
radarr_get_missingreadGet missing/wanted movies from Radarr
radarr_get_moviesreadList all movies in Radarr with optional title filter
radarr_get_profilesreadGet Radarr quality profiles and root folders (needed before adding movies)
radarr_get_queuereadGet the current Radarr download queue
search_mediareadSearch for media in Plex libraries
some_future_toolreadx
sonarr_get_calendarreadGet upcoming episodes from the Sonarr calendar
sonarr_get_missingreadGet missing/wanted episodes from Sonarr
sonarr_get_profilesreadGet Sonarr quality profiles and root folders (needed before adding series)
sonarr_get_queuereadGet the current Sonarr download queue
sonarr_get_seriesreadList all series in Sonarr with optional title filter
trakt_complete_authreadComplete Trakt.tv authentication with authorization code
trakt_get_auth_statusreadCheck Trakt.tv authentication status
trakt_get_user_statsreadGet enhanced viewing statistics from Trakt.tv
trakt_searchreadSearch 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]

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

  1. !CAUTION B 89 / 100

    First audit · ab3fb262fb94

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/niavasha/plex-2/badge.svg)](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?
Plex MCP Server
What tools does Plex expose?
61 in total: 39 read-only, 17 that write, and 5 that can delete or overwrite (clear_playlist, delete_all_libraries, delete_playlist, remove_from_playlist, remove_from_watchlist). Every one is listed on this page with its risk.
Is Plex safe to connect to an agent?
With care. The audit graded it B (89/100) and found 10 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 5 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Plex need?
It reads PLEX_TOKEN, RADARR_API_KEY, SONARR_API_KEY, TRAKT_ACCESS_TOKEN, TRAKT_CLIENT_SECRET and TRAKT_REFRESH_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Plex run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as plex-mcp-server at 1.6.0.
How current is this page?
The grade is for one exact copy of the source (ab3fb262fb94), read on 2026-10-08. The repository is watched and re-audited when it changes.
Which Plex MCP server is the right one?
niavasha/plex-mcp-server (this page). 2 servers share the name; see the side-by-side comparison.

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.