drio
Open app

Discord MCP Server

Source

Discord MCP Server for Claude Integration

Catalog onlyCatalog onlySTDIO

Overview

Discord MCP Server is a Model Context Protocol (MCP) server that allows large language models (LLMs) like Claude to interact with Discord channels, enabling them to send and read messages through Discord's API while ensuring user control and security.

To use the Discord MCP Server, clone the repository, install the dependencies, set up your Discord bot token in a .env file, and configure it in your Claude for Desktop application.

  • Send messages to Discord channels - Read recent messages from channels - Automatic server and channel discovery - Support for both channel names and IDs - Proper error handling and validation
  1. Enabling LLMs to read and respond to messages in Discord channels.
  2. Automating message sending for reminders or announcements.
  3. Facilitating interactive conversations between users and LLMs in Discord.

Add to your AI client

Use these steps to connect Discord MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "discordmcp-v-3": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-discordmcp-v-3"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "discordmcp-v-3": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-discordmcp-v-3"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "discordmcp-v-3": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-discordmcp-v-3"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "discordmcp-v-3": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-discordmcp-v-3"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "discordmcp-v-3": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-discordmcp-v-3"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "discordmcp-v-3": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-discordmcp-v-3"
      ]
    }
  }
}

FAQ

What are the prerequisites for using the Discord MCP Server?

You need Node.js 16.x or higher and a Discord bot token with the necessary permissions.

Can I use this server with any LLM?

Yes, as long as the LLM can be configured to interact with the MCP server.

Is there a limit to the number of messages I can read?

Yes, the default limit is 50 messages, with a maximum of 100.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":944,"uuid":"d3eca435-58e6-48df-a36f-a62692ab1f37","name":"discordmcp","title":"Discord MCP Server","description":"Discord MCP Server for Claude Integration","avatar_url":"https://avatars.githubusercontent.com/u/10964218?v=4","created_at":"2025-01-28T02:19:21.854Z","updated_at":"2025-02-23T07:12:22.227Z","status":"created","author_name":"v-3","author_avatar_url":"https://avatars.githubusercontent.com/u/10964218?v=4","tags":"discordmcp,discord-integration,llm-assistant","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/v-3/discordmcp","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]