MCP, MCP server
Discord Mcp Server
Discord Mcp Server, an MCP server listed in the PlugVet directory.
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 OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
src/client.ts, line 140
const channel = await discord.channels.fetch(channelId); - SECRETS_PATH_DOTENV Low
Mentions a .env file.
scripts/mcpb-inspect.mjs, line 47
if (/^\.env(\..+)?$/.test(bn)) add(`env file present: ${rel}`); - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
src/client.ts, line 18
const DISCORD_TOKEN = process.env.DISCORD_TOKEN; - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
artifacts/Discord-MCP-Server-2.1.0.mcpb, line 1
PK ��\�z_� 0 LICENSE]R͎�0��)F9�Jh[����
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/client.ts, line 140
const channel = await discord.channels.fetch(channelId);
src/analytics/discordSource.ts, line 69
const page = await channel.messages.fetch({ limit, before, cache: false });
src/analytics/discordSource.ts, line 81
const guild = await client.guilds.fetch(guildId).catch(() => null);
Show more
src/analytics/discordSource.ts, line 96
const channels = await guild.channels.fetch();
src/cli/commands/doctor.ts, line 356
const guild = await discord.guilds.fetch(guildId).catch(() => null);
src/tools/channels.ts, line 35
const guild = await discord.guilds.fetch(guild_id);
src/tools/discovery.ts, line 82
const guild = await discord.guilds.fetch(guild_id);
src/tools/discovery.ts, line 107
const guild = await discord.guilds.fetch(guild_id);
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
scripts/mcpb-inspect.mjs, line 47
if (/^\.env(\..+)?$/.test(bn)) add(`env file present: ${rel}`);
src/client.ts, line 18
const DISCORD_TOKEN = process.env.DISCORD_TOKEN;
src/client.ts, line 77
throw new Error("DISCORD_TOKEN is required. Set it in your MCP client config or a .env file.");
Show more
src/analytics/reporting/config.ts, line 148
const kwRaw = process.env.DISCORD_ANALYTICS_TRAINING_KEYWORDS?.trim();
src/cli/index.ts, line 5
* Loads `.env` (via dotenv) but does NOT construct the Discord client - commands
src/cli/index.ts, line 24
summary: "Create a safe first-run .env scaffold (never overwrites without --force).",
src/cli/commands/doctor.ts, line 110
existsSync(".env") ? "PASS" : "WARNING",
src/cli/commands/doctor.ts, line 111
existsSync(".env") ? "found" : "no .env (run `init-config`)",
src/cli/commands/doctor.ts, line 113
const hasToken = (process.env.DISCORD_TOKEN?.trim().length ?? 0) > 0;
src/cli/commands/doctor.ts, line 220
const envTracked = gitTracked(".env");
src/cli/commands/initConfig.ts, line 2
* `init-config` - creates a first-run `.env` scaffold with safe defaults. It never
src/operations/logger.ts, line 25
const token = process.env.DISCORD_TOKEN?.trim();
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
artifacts/Discord-MCP-Server-2.1.0.mcpb, line 1
PK ��\�z_� 0 LICENSE]R͎�0��)F9�Jh[����
artifacts/Discord-MCP-Server-2.2.0.mcpb, line 1
PK 0�]�z_� 0 LICENSE]R͎�0��)F9�Jh[����
artifacts/Discord-MCP-Server-2.2.1.mcpb, line 1
PK `�]�z_� 0 LICENSE]R͎�0��)F9�Jh[����
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 997f2b80a53f. can reach a host that is not written as a fixed address. reads a credential or environment file. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: 997f2b80a53f737a80af2202c7f04ae2ea6fd7f1
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.