Skip to main content
Glama
discord-mcp

discord-mcp

discord-mcp

Discord's REST API as an MCP server, generated from Discord's OpenAPI spec.

Surface

/channels and /users only: 62 tools. Everything else — guilds, applications, webhooks, invites — stays out. Change the families with DISCORD_FAMILIES, comma separated; the first segment of a route is its family.

Related MCP server: discord-bot-mcp

Run

cp .env.example .env     # set DISCORD_BOT_TOKEN
uv sync
uv run --env-file .env fastmcp run fastmcp.json --transport http

Deploy

server.py exports app = mcp.http_app(), and the transport answers at /mcp, so any ASGI host serves it. On Vercel, leave Build Command and Install Command empty.

Point FastMCP Gateway at this repository and set DISCORD_BOT_TOKEN as a secret. The Gateway serves it over HTTPS behind OAuth, so a client connects by URL and signs in with the Gateway account. The bot token stays in the environment.

The bot needs View Channels, Send Messages and Read Message History. It reaches every channel those permissions allow.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      MCP server for interacting with Discord via REST API, enabling guild, channel, and message operations using a bot token.
      7
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      A local MCP server that lets AI clients control a Discord bot via Discord's REST API, offering messaging, administration, and moderation tools. Includes safety features such as guild scoping, allowlists, and opt-in write permissions.
      20
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      MCP server for Discord bot API that exposes five tools to search, inspect, and call stable Discord HTTP endpoints using bot-token authentication, with automatic schema refresh and strict safety filtering.
      5
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      MCP server that exposes Discord API as tools, enabling users to manage servers, channels, messages, and roles through natural language.
      -