Discord Integration

v1.0.0Communicationstable

Enables interaction with Discord through the Model Context Protocol, providing access to all Discord features like channels, messages, threads, reactions, and roles. Supports secure Discord bot operations with rate limiting, caching, and comprehensiv

aiartificial-intelligenceclaudecollaboratediscord
Share:
200
Stars
0
Downloads
0
Weekly
0/5

What is Discord Integration?

Discord Integration is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables interaction with discord through the model context protocol, providing access to all discord features like channels, messages, threads, reactions, and roles. supports secure discord bot operat...

Enables interaction with Discord through the Model Context Protocol, providing access to all Discord features like channels, messages, threads, reactions, and roles. Supports secure Discord bot operations with rate limiting, caching, and comprehensiv

This server falls under the Communication category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Enables interaction with Discord through the Model Context P

Use Cases

Send and receive Discord messages
Manage channels, threads, and roles
Automate Discord bot operations
v-3

Maintainer

LicenseMIT License
Languagetypescript
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx discord-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Discord Integration

The Discord MCP Server lets AI assistants read and send messages in Discord channels through a Discord bot you control, using the Model Context Protocol over stdio. It connects to your Discord server using a bot token and exposes two focused tools — send-message and read-messages — making it straightforward to have an AI monitor conversations, draft announcements, or respond to channel activity without needing a separate application. The server requires you to create a Discord bot and invite it to your server with message permissions before use.

Prerequisites

  • Node.js 16 or higher and npm installed
  • A Discord account and a server where you have permission to add bots
  • A Discord bot token from the Discord Developer Portal (discord.com/developers/applications)
  • The bot must be invited to your Discord server with Read Messages, Send Messages, and Read Message History permissions
  • An MCP-compatible client (Claude Desktop, Claude Code, or similar)
1

Create a Discord bot and get the token

Go to https://discord.com/developers/applications, create a new application, navigate to the Bot section, and click Reset Token to get your bot token. Save this token securely — it will not be shown again.

2

Invite the bot to your Discord server

In the Discord Developer Portal, go to OAuth2 > URL Generator, select the bot scope, and check the permissions: Read Messages/View Channels, Send Messages, Read Message History. Use the generated URL to invite the bot to your server.

3

Clone and build the server

Clone the discordmcp repository, install dependencies, and build the TypeScript source.

git clone https://github.com/v-3/discordmcp.git
cd discordmcp
npm install
npm run build
4

Add the server to your MCP client configuration

Open your Claude Desktop config file and add the discord server entry. Point args to the built index.js file and set DISCORD_TOKEN to your bot token.

{
  "mcpServers": {
    "discord": {
      "command": "node",
      "args": ["/path/to/discordmcp/build/index.js"],
      "env": {
        "DISCORD_TOKEN": "your_discord_bot_token_here"
      }
    }
  }
}
5

Restart your client and verify the connection

Restart Claude Desktop. The send-message and read-messages tools should now be available. Try reading the last 5 messages from a channel to confirm the bot can access your server.

Discord Integration Examples

Client configuration

Claude Desktop configuration block for the Discord MCP server using a built index.js from the cloned repository.

{
  "mcpServers": {
    "discord": {
      "command": "node",
      "args": ["/Users/yourname/discordmcp/build/index.js"],
      "env": {
        "DISCORD_TOKEN": "your_discord_bot_token_here"
      }
    }
  }
}

Prompts to try

Example prompts that use the Discord MCP server's read and send capabilities.

- "Read the last 10 messages from the general channel"
- "What has been discussed in the announcements channel today?"
- "Send a message to the team-updates channel: 'The deployment is complete — please test your features'"
- "Summarize the conversation in the support channel over the last 50 messages"
- "Post a reminder to the events channel: 'Team standup in 15 minutes'"
- "Read the last 20 messages from the engineering channel and identify any unresolved questions"

Troubleshooting Discord Integration

Bot is online but cannot read or send messages in a channel

Verify the bot has been given the correct permissions in your Discord server: View Channels, Read Message History, and Send Messages. Channel-level permission overrides can block bots even if they have server-wide permissions — check the channel's permission settings directly.

DISCORD_TOKEN invalid or the bot fails to authenticate

Discord bot tokens can only be viewed once. If you lost the token, go to the Discord Developer Portal, navigate to your bot, and click Reset Token to generate a new one. Update the token in your MCP config and restart the client.

build/index.js not found when starting the server

You must run `npm run build` in the cloned repository before the compiled output is available. If TypeScript compilation failed, check for errors with `npm run build` and ensure Node.js 16+ is installed.

Frequently Asked Questions about Discord Integration

What is Discord Integration?

Discord Integration is a Model Context Protocol (MCP) server that enables interaction with discord through the model context protocol, providing access to all discord features like channels, messages, threads, reactions, and roles. supports secure discord bot operations with rate limiting, caching, and comprehensiv It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Discord Integration?

Follow the installation instructions on the Discord Integration GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Discord Integration?

Discord Integration works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Discord Integration free to use?

Yes, Discord Integration is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Communication MCP Servers

Explore all communication servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "discord-mcp-server": { "command": "npx", "args": ["-y", "discord-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Discord Integration?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides