MCP, MCP server
io.github.Oratorian/discord-node-mcp
An MCP (Model Context Protocol) server that enables LLMs to control Discord servers via a bot token.
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.
Rescanned at commit 06847bb1f192, unchanged since the check below.
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/tools/emoji.ts, line 229
const stickers = await guild.stickers.fetch(); - SECRETS_PATH_DOTENV Low
Mentions a .env file.
.gitignore, line 8
.env - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
src/services/discord.ts, line 35
const token = process.env.DISCORD_BOT_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/tools/emoji.ts, line 229
const stickers = await guild.stickers.fetch();
src/tools/emoji.ts, line 290
const sticker = await guild.stickers.fetch(params.sticker_id).catch(() => null);
src/tools/event.ts, line 50
const events = await guild.scheduledEvents.fetch();
Show more
src/tools/event.ts, line 195
const event = await guild.scheduledEvents.fetch(params.event_id).catch(() => null);
src/tools/invite.ts, line 50
const invites = await guild.invites.fetch();
src/tools/member.ts, line 61
const membersResult = (await guild.members.fetch(options)) as unknown as Collection<string, GuildMember>;
src/tools/member.ts, line 118
const member = await guild.members.fetch(params.user_id);
src/tools/member.ts, line 169
const member = await guild.members.fetch(params.user_id);
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
src/services/discord.ts, line 35
const token = process.env.DISCORD_BOT_TOKEN;
.gitignore, line 7
# Environment variables
.gitignore, line 8
.env
Show more
.npmignore, line 32
# Misc
.npmignore, line 33
.env
CHANGELOG.md, line 64
- `.env` file support via dotenv
CONTRIBUTING.md, line 34
1. Create a `.env` file with your test bot token:
README.md, line 209
The server supports loading environment variables from a `.env` file in the current directory:
README.md, line 244
**Or use a `.env` file** (works on all platforms):
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).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 06847bb1f192. 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: 06847bb1f192cc6e8fe898f1a6852df9738932a8
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.