Integrations
Allows Claude to send messages and prompts to a Discord channel and receive responses
MCP Relay
This MCP server allows Claude to send messages and prompts to a Discord channel and receive responses.
Setup Instructions
1. Create a Discord Application and Bot
- Go to the Discord Developer Portal
- Click "New Application" and give it a name
- Go to the "Bot" section in the left sidebar
- Under the bot's token section, click "Reset Token" and copy the new token
- Keep this token secure! Don't share it publicly
- Under "Privileged Gateway Intents", enable:
- Message Content Intent
- Server Members Intent
- Presence Intent
2. Invite the Bot to Your Server
- Go to the "OAuth2" section in the left sidebar
- Select "URL Generator"
- Under "Scopes", select:
- bot
- applications.commands
- Under "Bot Permissions", select:
- Send Messages
- Embed Links
- Read Message History
- Copy the generated URL and open it in your browser
- Select your server and authorize the bot
3. Get Channel ID
- In Discord, enable Developer Mode:
- Go to User Settings > App Settings > Advanced
- Turn on "Developer Mode"
- Right-click the channel you want to use
- Click "Copy Channel ID"
4. Configure MCP Settings
The server requires configuration in your MCP settings file. Add the following to your configuration file:
Copy
Replace:
/ABSOLUTE/PATH/TO/MCP Relay
with the actual path to your MCP Relay projectyour_bot_token_here
with your Discord bot tokenyour_channel_id_here
with your Discord channel ID
Note: Make sure to use absolute paths in the configuration.
Usage
The server provides a tool called send-message
that accepts the following parameters:
Copy
Message Types
- Notification: Simple message that doesn't expect a responseCopy
- Prompt: Message that waits for a responseCopy
Notes:
- Prompts can be answered either by clicking action buttons or sending a text message
- Only one response is accepted per prompt
- If a timeout is specified, the prompt will fail after the timeout period
- Notifications don't wait for responses and return immediately
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
This server allows integration with Discord, enabling message exchanges between Claude and a Discord channel using prompts and notifications.
Related Resources
Related MCP Servers
- -securityAlicense-qualityProvides Discord integration capabilities to MCP clients like Claude Desktop.Last updated -1253PythonMIT License
- AsecurityFlicenseAqualityA server that enables Claude Desktop users to access the Claude API directly, allowing them to bypass Professional Plan limitations and use advanced features like custom system prompts and conversation management.Last updated -15Python
- AsecurityFlicenseAqualityA local server that enables Claude Desktop to interact with your macOS Contacts and Messages apps, allowing you to search contacts and send iMessages through natural language commands.Last updated -21JavaScript
- -securityAlicense-qualityA server that enables interaction with Telegram chats directly through MCP-compatible hosts like Claude for Desktop, providing tools to retrieve chats, get messages, and send messages.Last updated -85PythonApache 2.0