MCP, MCP server
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.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
src/arr/client.ts, line 132
const { data } = await this.http.get("/series", { - SECRETS_PATH_DOTENV Low
Mentions a .env file.
src/trakt/mcp-functions.ts, line 133
'Add the above TRAKT_ACCESS_TOKEN and TRAKT_REFRESH_TOKEN to your MCP client env config or .env file', - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
src/plex-mcp-server.ts, line 48
const plexToken = process.env.PLEX_TOKEN;
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Pass
No shell or command execution found, and no extra permission was declared.
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
src/arr/client.ts, line 132
const { data } = await this.http.get("/series", {
src/arr/client.ts, line 144
const { data } = await this.http.get("/series/lookup", {
src/arr/client.ts, line 165
const { data } = await this.http.get("/calendar", {
Show more
src/arr/client.ts, line 193
const { data } = await this.http.get("/movie", {
src/arr/client.ts, line 205
const { data } = await this.http.get("/movie/lookup", {
src/arr/client.ts, line 226
const { data } = await this.http.get("/calendar", {
src/trakt/client.ts, line 93
return this.http.request(error.config!);
src/trakt/client.ts, line 105
return this.http.request(error.config);
Dockerfile, line 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))"]
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
src/plex-mcp-server.ts, line 48
const plexToken = process.env.PLEX_TOKEN;
src/arr/mcp-functions.ts, line 32
const apiKey = process.env.SONARR_API_KEY;
src/trakt/mcp-functions.ts, line 133
'Add the above TRAKT_ACCESS_TOKEN and TRAKT_REFRESH_TOKEN to your MCP client env config or .env file',
Show more
src/arr/mcp-functions.ts, line 51
const apiKey = process.env.RADARR_API_KEY;
src/plex/tool-registry.ts, line 161
if (options.traktFunctions && process.env.TRAKT_ACCESS_TOKEN) {
src/trakt/mcp-functions.ts, line 56
clientSecret: process.env.TRAKT_CLIENT_SECRET || '',
src/trakt/mcp-functions.ts, line 58
accessToken: process.env.TRAKT_ACCESS_TOKEN,
src/trakt/mcp-functions.ts, line 59
refreshToken: process.env.TRAKT_REFRESH_TOKEN
.dockerignore, line 4
.github
.dockerignore, line 5
.env
.github/workflows/security-compliance.yml, line 60
if grep -r -E "PLEX_TOKEN.*=" .env.example; then
.github/workflows/security-compliance.yml, line 61
if grep -r -E "process\.env\.PLEX_TOKEN" src/; then
.github/workflows/security-compliance.yml, line 151
# Plex tokens (should only be in .env, never committed)
.gitignore, line 68
# dotenv environment variable files
.gitignore, line 69
.env
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Pass
A licence file is present (LICENSE.md).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 12d9214109c5. can reach a host that is not written as a fixed address. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: 12d9214109c5797888ab599b8668fc761d4fd23b
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.