MCP, MCP server
Mcp Discord
A Discord MCP (Model Context Protocol) server that enables AI assistants to interact with the Discord platform.
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/schemas.ts, line 116
limit: z.number({ description: "How many recent messages to fetch (1-100)." }).min(1).max(100).optional().default(50), - SECRETS_PATH_DOTENV Low
Mentions a .env file.
src/app.ts, line 15
// Load environment variables from .env file if exists - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
src/app.ts, line 178
return process.env.DISCORD_TOKEN; - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
package-lock.json, line 1
{
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/schemas.ts, line 116
limit: z.number({ description: "How many recent messages to fetch (1-100)." }).min(1).max(100).optional().default(50),
src/toolList.ts, line 114
limit: { type: "number", description: "Maximum number of archived threads to fetch (default: 100, max: 100)", minimum: 1, maximum: 100, default: 100 }
src/tools/channel.ts, line 33
const guild = await context.client.guilds.fetch(guildId);
Show more
src/tools/channel.ts, line 65
const category = await context.client.channels.fetch(categoryId);
src/tools/channel.ts, line 98
const category = await context.client.channels.fetch(categoryId);
src/tools/channel.ts, line 128
const guild = await context.client.guilds.fetch(guildId);
src/tools/channel.ts, line 171
const guild = await context.client.guilds.fetch(guildId);
src/tools/channel.ts, line 213
const channel = await context.client.channels.fetch(channelId);
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
src/app.ts, line 15
// Load environment variables from .env file if exists
src/app.ts, line 178
return process.env.DISCORD_TOKEN;
src/index.test.ts, line 141
process.env.DISCORD_TOKEN = '
Show more
src/index.test.ts, line 144
const tokenFromEnv = process.env.DISCORD_TOKEN;
src/index.ts, line 8
// Load environment variables from .env file if exists
src/index.ts, line 31
return process.env.DISCORD_TOKEN;
.gitignore, line 16
# Environment Variables
.gitignore, line 17
.env
.gitignore, line 18
.env.local
.gitignore, line 19
.env.development.local
.gitignore, line 20
.env.test.local
Makefile, line 4
# initialise .env file for all targets if it exists
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
package-lock.json, line 1
{
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 48f2147f0bbf. 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: 48f2147f0bbf78640904375119754b8fa8fad62b
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.