Discord MCP Server
An MCP (Model Context Protocol) server for Discord API integration with Claude. This server allows Claude to interact with Discord servers via tools that perform actions such as sending messages, reading messages, and managing server resources.
Prerequisites
- Node.js 16 or higher
- A Discord bot token (create one at the Discord Developer Portal)
- Appropriate bot permissions:
- Read Messages/View Channels
- Send Messages
- Read Message History
- (Optional) Manage Roles, Manage Channels, etc. depending on functionality needed
Installation
- Clone this repository
- Install dependencies:
npm install
- Build the project:
npm run build
Configuration
Create a .env
file in the root directory with:
DISCORD_TOKEN=your_discord_bot_token_here
Usage
Start the server:
npm start
Configure Claude Desktop:
- Add to Claude Desktop’s configuration file:
{ "mcpServers": { "discord": { "command": "node", "args": ["path/to/discord-mcp/build/index.js"], "env": { "DISCORD_TOKEN": "your_discord_bot_token_here" } } } }
Available Tools
send-message
: Send a message to a Discord channelread-messages
: Read recent messages from a Discord channellist-channels
: List available channels in the serverlist-servers
: List servers the bot has access toget-user-info
: Get information about a specific user
Security Considerations
- The Discord bot token grants access to your Discord bot. Keep it secure.
- The bot can only access servers it has been invited to.
- Actions are limited by the bot’s permissions in each server.
License
MIT
Discord MCP Server
Project Details
- RossH121/discord-mcp
- Last Updated: 3/7/2025
Recomended MCP Servers
K8s-mcp-server is a Model Context Protocol (MCP) server that enables AI assistants like Claude to securely execute Kubernetes...
A Slack MCP server
A comprehensive stdio MCP server for DataForSEO API
MCP server to run AWS Athena queries

Model Context Protocol Server that allows AI models to interact with JigsawStack models!
A Model Context Protocol server that provides access to CoinMarketCap's cryptocurrency data. This server enables AI-powered applications to...
A Model Context Protocol (MCP) server for security data enrichment
JIRA integration server for Model Context Protocol (MCP) - enables LLMs to interact with JIRA tasks and workflows