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

MCP server · Audited from source

Discord MCP server

by cappyeo/discord-mcpApache-2.0 licenceAudited 7 Oct 2026 · source ba79b17268c8

npm site 0.31.1stdiostreamable-http★ 122
✕BLOCKGrade F · 57/100 · 7 Oct 2026 · ba79b17

Is it safe? No — BLOCK, grade F (57/100). It exposes 45 tools: 36 read, 9 write and 0 destructive. The audit recorded 42 findings (0 critical, 1 high, 6 medium, 30 low). Maintainer's description: Open-source Discord MCP server for Claude, Codex, Cursor and other AI clients: 209 typed tools, caller-owned bots, safety controls and verifiable guild builds.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Discord MCP server (cappyeo/discord-mcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/cappyeo/discord-36

Why this is BLOCK. The audit found 0 critical and 1 high findings; the most severe is Inventory / provenance at packages/mcp-core/src/middleware/payload-confirmation.ts. Each finding is listed below with its file and line.

Why this page is still public. People search for this server by name. Hiding it would leave them with the README's word alone; here they see what the code does. We list it so you can decide, and we do not show connect commands for BLOCK servers.

4 MCP servers are called Discord. You are viewing cappyeo/discord-mcp. Compare all 4 →

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score57/100✕BLOCK F
0 critical1 high6 medium30 low5 info

42 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

  • FilesystemDeclared4 observations
  • NetworkDeclared2 observations
  • ShellDeclared2 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

Findings (42)

Sorted by severity · the 25 most severe of 42 are listed

HIGHInventory / provenanceinv.suspicious_name · packages/mcp-core/src/middleware/payload-confirmation.ts
F-13 Inventory / provenanceCWE-1104Layer L0
payload-confirmation.ts
Why
member named after an attack tool
Fix
remove or justify
MEDIUMHard-coded secretssecret.anthropic · packages/mcp-server/scripts/benchmark/claude-code-driver.test.mjs:29
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · packages/mcp-core/src/gateway/client.test.ts:75
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · packages/mcp-core/src/gateway/client.test.ts:88
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · packages/mcp-core/src/gateway/client.test.ts:109
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · packages/mcp-core/src/gateway/client.test.ts:127
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · packages/mcp-core/src/gateway/client.test.ts:145
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
LOWInventory / provenanceinv.suspicious_name · packages/mcp-core/src/middleware/payload-confirmation.composer.test.ts
F-13 Inventory / provenanceCWE-1104Layer L0
payload-confirmation.composer.test.ts
Why
member named after an attack tool
Fix
remove or justify
LOWInventory / provenanceinv.suspicious_name · packages/mcp-core/src/middleware/payload-confirmation.file-ledger.test.ts
F-13 Inventory / provenanceCWE-1104Layer L0
payload-confirmation.file-ledger.test.ts
Why
member named after an attack tool
Fix
remove or justify
LOWInventory / provenanceinv.suspicious_name · packages/mcp-core/src/middleware/payload-confirmation.test.ts
F-13 Inventory / provenanceCWE-1104Layer L0
payload-confirmation.test.ts
Why
member named after an attack tool
Fix
remove or justify
LOWInventory / provenanceinv.suspicious_name · packages/mcp-core/src/server.payload-approval.integration.test.ts
F-13 Inventory / provenanceCWE-1104Layer L0
server.payload-approval.integration.test.ts
Why
member named after an attack tool
Fix
remove or justify
LOWFilesystem / pathfs.system_paths · packages/mcp-server/src/lib/client-snippets/claude-desktop.test.ts:6
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
serverPath: '/usr/local/bin/node',
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.system_paths · packages/mcp-server/src/lib/client-snippets/claude-desktop.test.ts:46
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
expect(parsed.mcpServers['discord-mcp'].command).toBe('/usr/local/bin/node');
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.system_paths · packages/mcp-server/src/lib/client-snippets/cursor.test.ts:6
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
serverPath: '/usr/local/bin/discord-mcp',
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.system_paths · packages/mcp-server/src/lib/client-snippets/cursor.test.ts:44
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
expect(parsed.mcpServers['discord-mcp'].command).toBe('/usr/local/bin/discord-mcp');
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · packages/mcp-core/src/resources/built-artifact.test.ts:27
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
const DIST = fileURLToPath(new URL('../../dist/index.js', import.meta.url));
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · packages/mcp-core/src/telemetry/conventions.ts:12
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import packageJson from '../../package.json' with { type: 'json' };
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · packages/mcp-core/src/tools/_lib/defineTool.ts:2
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import type { DiscordAccessRequirement } from '../../access/requirements.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · packages/mcp-core/src/tools/_lib/defineTool.ts:8
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
} from '../../pieces/Tool.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · packages/mcp-core/src/tools/_lib/forum-tags.ts:3
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { ValidationError } from '../../errors/client.js';
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · .github/scripts/assert-packaged-cli.mjs:647
F-04 Network egressCWE-200 · CWE-319Layer L1
OTEL_EXPORTER_OTLP_ENDPOINT: `http://127.0.0.1:${otelPort}`,
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · .github/scripts/assert-packaged-cli.mjs:676
F-04 Network egressCWE-200 · CWE-319Layer L1
const httpEndpoint = new URL(`http://127.0.0.1:${httpPort}/mcp`);
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · packages/mcp-core/src/rest/resilience-429.integration.test.ts:81
F-04 Network egressCWE-200 · CWE-319Layer L1
baseUrl = `http://127.0.0.1:${addr.port}`;
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · packages/mcp-core/src/rest/resilience-circuit.integration.test.ts:79
F-04 Network egressCWE-200 · CWE-319Layer L1
baseUrl = `http://127.0.0.1:${addr.port}`;
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · packages/mcp-core/src/rest/resilience-retry.integration.test.ts:80
F-04 Network egressCWE-200 · CWE-319Layer L1
baseUrl = `http://127.0.0.1:${addr.port}`;
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

45 declared in source · 0 destructive

36 read9 write0 destructive
ToolWhat it doesRisk
channels_editEdit one channel.write
create_text_channelCreate a new text channelwrite
discord_create_channelCreate a new channel in a guildwrite
discord_edit_messageEdit a previously sent messagewrite
discord_send_messageSend a message to a Discord channelwrite
edit_messageEdit a previously sent message.write
send_messageSend a message to a Discord channel (synthetic fixture).write
set_bot_statusSet the bot presence (gateway only, no REST equivalent)write
set_slowmodeSet rate-limit-per-user on a channel.write
BadNameNo description in the sourceread
LevelXP levelread
WaveHelloa friendly waveread
WaveHiNo description in the sourceread
aaread
argargread
bbread
channels_getRead one channel.read
channels_listList channels.read
discord_audit_alertPaSympa-specific audit alert (no discord-mcp equivalent)read
discord_list_channelsList all channels in a guildread
discord_read_messagesRead recent messages from a channelread
get_bot_infoGet the running bot user info (gateway only)read
get_messagesFetch recent messages from a Discord channel.read
greetsay hiread
group1groupread
guide.txtGuide attachmentread
guildpingguild pingread
health_checkReport runtime health (no discord-mcp equivalent - gateway client).read
helpShow helpread
invalid_outputExercise the output contract guardread
list_channelsList all channels in a guild (synthetic fixture).read
list_projectsList configured projects (no discord-mcp equivalent).read
list_templatesList server templatesread
messages_liteProfile-variant: lite messaging (synthetic fixture).read
meta_defaultsdread
meta_introspectIntrospect meread
pingPing the botread
pongpongread
poster.pngPosterread
probeA credential-free stdio protocol probe (factory ${factoryCalls}).read
rules.txtExisting rulesread
sub1subread
test_echoEcho back inputread
with_metametaread
xyread

Safer alternatives

We could not match this server to a job, so we cannot suggest a like-for-like alternative. Read-only servers are the least-privilege place to start.

Audit history

  1. ✕BLOCK F 57 / 100

    First audit · ba79b17268c8

README badge

Badges show the current verdict, BLOCK included

ModelsAtlas: BLOCK FMODELSATLASBLOCK · F

A badge cannot be hidden by the maintainer while the verdict is BLOCK. Fix the findings, push, and the re-audit updates it.

Questions about Discord MCP server

What is the Discord MCP server?
Open-source Discord MCP server for Claude, Codex, Cursor and other AI clients: 209 typed tools, caller-owned bots, safety controls and verifiable guild builds.
What tools does Discord expose?
45 in total: 36 read-only, 9 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Discord safe to connect to an agent?
No — not without reading the findings first. The audit graded it F (57/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.
What credentials does Discord need?
It reads ANTHROPIC_API_KEY, DISCORD_MCP_ACCESS_TOKEN, DISCORD_TOKEN, GITHUB_TOKEN and MCP_APPROVAL_HMAC_KEY 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 Discord run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as site at 0.31.1.
How current is this page?
The grade is for one exact copy of the source (ba79b17268c8), read on 2026-10-07. The repository is watched and re-audited when it changes.
Which Discord MCP server is the right one?
v-3/discordmcp. 4 servers share the name; see the side-by-side comparison.
I already installed Discord. What should I do?
Remove it from your client's MCP configuration, then rotate any API keys and tokens that were in your environment while it ran.
Can the verdict change?
Yes. The repository is watched and re-audited when its source changes. If the findings are removed the verdict updates, and the history on this page shows it.

Sources

  • cappyeo/discord-mcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — BLOCK verdict for commit ba79b17268c8Observed · 7 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.