Discord Integration
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
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
Maintainer
Works with
Installation
Manual Installation
npx discord-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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)
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.
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.
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 buildAdd 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"
}
}
}
}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.
Discord Integration Alternatives — Similar Communication Servers
Looking for alternatives to Discord Integration? Here are other popular communication servers you can use with Claude, Cursor, and VS Code.
Slack
★ 86.1kEnables interaction with Slack workspaces through comprehensive channel management, messaging, user management, file uploads, and Block Kit formatting. Features secure credential storage via macOS Keychain and supports all major Slack operations incl
LibreChat
★ 37.3kEnhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenA
Note Gen
★ 11.9kA cross-platform Markdown AI note-taking software.
DeepChat
★ 5.8k🐬DeepChat - A smart assistant that connects powerful AI to your personal world
WhatsApp MCP
★ 5.7kConnects AI assistants to the official Meta WhatsApp Cloud API for managing conversations and sending various message types through natural language. It provides tools for media management, template messages, and real-time webhook processing without
Apple
★ 3.1kEnables interaction with Apple apps like Messages, Notes, and Contacts through the MCP protocol to send messages, search, and open app content using natural language.
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.
Set Up Discord Integration in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.