discord-mcp

discord-mcp is a plugin for Gemini CLI from hypark5540/discord-mcp. Its token cost is not measured, scanned A, original, MIT.

An MCP connection for accessing Discord with configurable safety limits. Discord is a platform for text, media, and group communities called servers and channels.

In plain words
What is it for?
It is for letting an agent read or, when explicitly enabled, write to selected Discord servers and channels.
Why use it?
It can restrict access to approved servers and channels and keep writing or deleting disabled by default. The connection also requires a Discord bot token rather than a personal user token.

Plugin for Gemini CLI

Written for Gemini CLI: a Gemini CLI extension manifest.

Good fit It is for letting an agent read or, when explicitly enabled, write to selected Discord servers and channels.

Compare 6 plugins from other repositories ↓
Install with agentmods
npx agentmods add plugins/hypark5540/discord-mcp/gemini-extension
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/hypark5540/discord-mcp

Made for: Gemini CLI.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for discord-mcp

README.md
[![agentmods](https://agentmods.dev/badge/plugins/hypark5540/discord-mcp/gemini-extension.svg)](https://agentmods.dev/plugins/hypark5540/discord-mcp/gemini-extension)
Your own site
<a href="https://agentmods.dev/plugins/hypark5540/discord-mcp/gemini-extension"><img src="https://agentmods.dev/badge/plugins/hypark5540/discord-mcp/gemini-extension.svg" alt="Measured on agentmods" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured Not applicable: nothing here is loaded into a session.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

discord-mcp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

gemini-extension.json · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

{
  "name": "discord-mcp",
  "version": "0.1.1",
  "description": "Safe, configurable Discord access through the Model Context Protocol",
  "mcpServers": {
    "discord": {
      "command": "npx",
      "args": ["-y", "@hypark5540/[email protected]"],
      "env": {
        "DISCORD_TOKEN": "${DISCORD_TOKEN}",
        "DISCORD_ALLOWED_GUILD_IDS": "${DISCORD_ALLOWED_GUILD_IDS:-}",
        "DISCORD_ALLOWED_CHANNEL_IDS": "${DISCORD_ALLOWED_CHANNEL_IDS:-}",
        "DISCORD_ENABLE_WRITES": "${DISCORD_ENABLE_WRITES:-false}",
        "DISCORD_ENABLE_DELETES": "${DISCORD_ENABLE_DELETES:-false}",
        "DISCORD_ALLOW_UNRESTRICTED_WRITES": "${DISCORD_ALLOW_UNRESTRICTED_WRITES:-false}",
        "DISCORD_MAX_RESPONSE_CHARS": "${DISCORD_MAX_RESPONSE_CHARS:-50000}"
      }
    }
  },
  "settings": [
    {
      "name": "Discord Bot Token",
      "description": "Bot token from the Discord Developer Portal. Never use a user token.",
      "envVar": "DISCORD_TOKEN",
      "sensitive": true
    },
    {
      "name": "Allowed Discord server IDs",
      "description": "Optional comma-separated guild IDs. Leave blank to use every guild visible to the bot.",
      "envVar": "DISCORD_ALLOWED_GUILD_IDS"
    },
    {
      "name": "Allowed Discord channel IDs",
      "description": "Optional comma-separated channel IDs. Leave blank to use every channel in an allowed guild.",
      "envVar": "DISCORD_ALLOWED_CHANNEL_IDS"
    },
    {
      "name": "Enable message writes",
      "description": "Set true to expose send and own-message edit tools. The default is false.",
      "envVar": "DISCORD_ENABLE_WRITES"
    },
    {
      "name": "Enable message deletes",
      "description": "Set true to expose confirmed own-message deletes. Writes must also be enabled.",
      "envVar": "DISCORD_ENABLE_DELETES"
    },
    {
      "name": "Allow writes without an allowlist",
      "description": "Set true only to deliberately permit writes in every visible guild channel.",
      "envVar": "DISCORD_A

Read the full file on GitHub · 59 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 59 lines scan A 4907d4b0fb1b

Subscribe to this mod's changes

discord-mcp is a plugin published in the GitHub repository hypark5540/discord-mcp (0 stars, last pushed today), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-07.