MCP Relay Server
Allows Claude to send messages and prompts to a Discord channel and receive responses
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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:
{
"mcpServers": {
"discord-relay": {
"command": "node",
"args": [
"/ABSOLUTE/PATH/TO/MCP Relay/build/index.js"
],
"env": {
"DISCORD_TOKEN": "your_bot_token_here",
"DISCORD_CHANNEL_ID": "your_channel_id_here"
}
}
}
}Replace:
/ABSOLUTE/PATH/TO/MCP Relaywith the actual path to your MCP Relay projectyour_bot_token_herewith your Discord bot tokenyour_channel_id_herewith your Discord channel ID
Note: Make sure to use absolute paths in the configuration.
Related MCP server: Discord Notification MCP Server
Usage
The server provides a tool called send-message that accepts the following parameters:
{
type: 'prompt' | 'notification', // Type of message
title: string, // Message title
content: string, // Message content
actions?: Array<{ // Optional action buttons
label: string, // Button label
value: string // Value returned when clicked
}>,
timeout?: number // Optional timeout in milliseconds
}Message Types
Notification: Simple message that doesn't expect a response
{ "type": "notification", "title": "Hello", "content": "This is a notification" }Prompt: Message that waits for a response
{ "type": "prompt", "title": "Question", "content": "Do you want to proceed?", "actions": [ { "label": "Yes", "value": "yes" }, { "label": "No", "value": "no" } ], "timeout": 60000 // Optional: 1 minute timeout }
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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Manage a Discord server from Claude, ChatGPT or any MCP client. Sign in with Discord, no bot token.
Publish and schedule Discord server posts from your AI assistant.
Discord MCP server for ChatGPT, Claude and any AI agent: list servers and channels, read channel messages, search messages, send message, reply to message, send DM, read mentions and assign role in your own Discord account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Discord yourself; Cotlet does not store your password and you need no Discord API key. About the official Discord API: Yes, Discord has an official API for bots and OAuth2 apps, but it acts as a bot that a server manager adds, not as you, and Discord has no official MCP server for it (checked 5 Nov 2026). The MCP server on Discord's docs site only searches documentation. Setup and FAQ: https://cotlet.dev/integrations/discord-api-mcp-server
An MCP server that integrates with Discord to provide AI-powered features.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that allows Claude to interact with Discord by providing tools for sending/reading messages and managing server resources through Discord's API.19MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude Code to send notifications to Discord channels via webhooks when tasks complete, errors occur, or user intervention is needed. Deployed serverlessly on Cloudflare Workers with support for rich message formatting and embeds.8MIT
- AlicenseAqualityCmaintenanceAn MCP server that provides native Discord tools for Claude Code, enabling bidirectional communication with remote agents or humans via the Discord REST API. It allows users to send messages, read channel history, and manage reactions directly from their local environment.63MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables Claude Desktop to interact with Discord through a dedicated bot. It allows users to list channels, read message history, and send messages directly from the AI interface.2-