MCP Relay Server
About
This server allows integration with Discord, enabling message exchanges between Claude and a Discord channel using prompts and notifications.
Details
- Author
- emiliobool
- Repository
- emiliobool/MCP-Relay
- GitHub stars
- 1
- Categories
- Communication, Other, Automation, Community, Developer Tools, Design, AI, Search, API, Frontend
- Tags
- #integration
Jump to
Setting up with Highlight
Follow these steps to add this server as a custom Highlight plugin:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
MCP Relay ServerCommand (node, npx, python, etc.)nodeArguments-
Argument 1
/ABSOLUTE/PATH/TO/MCP Relay/build/index.js
Environment-
DISCORD_TOKEN
your_bot_token_here -
DISCORD_CHANNEL_ID
your_channel_id_here
Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
-
Argument 1
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
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"
}
}
}
}
send-message
Send a message to the Discord channel. Parameters: type (string - 'prompt' or 'notification'), title (string), content (string), actions (optional array of objects with label and value), timeout (optional number in milliseconds)
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"mcp relay server": {
"env": {
"DISCORD_TOKEN": "your_bot_token_here",
"DISCORD_CHANNEL_ID": "your_channel_id_here"
},
"args": [
"/ABSOLUTE/PATH/TO/MCP Relay/build/index.js"
],
"command": "node"
}
}
}
Linux
{
"env": {
"DISCORD_TOKEN": "your_bot_token_here",
"DISCORD_CHANNEL_ID": "your_channel_id_here"
},
"args": [
"/ABSOLUTE/PATH/TO/MCP Relay/build/index.js"
],
"command": "node"
}
Macos
{
"env": {
"DISCORD_TOKEN": "your_bot_token_here",
"DISCORD_CHANNEL_ID": "your_channel_id_here"
},
"args": [
"/ABSOLUTE/PATH/TO/MCP Relay/build/index.js"
],
"command": "node"
}
Windows
{
"env": {
"DISCORD_TOKEN": "your_bot_token_here",
"DISCORD_CHANNEL_ID": "your_channel_id_here"
},
"args": [
"/ABSOLUTE/PATH/TO/MCP Relay/build/index.js"
],
"command": "node"
}
This MCP server allows Claude to send messages and prompts to a Discord channel and receive responses.
- Go to theDiscord 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
- Message Content Intent
- Server Members Intent
- Presence Intent
- Go to the "OAuth2" section in the left sidebar
- Select "URL Generator"
- Under "Scopes", select:
- bot
- applications.commands
- Send Messages
- Embed Links
- Read Message History
- In Discord, enable Developer Mode:
- Go to User Settings > App Settings > Advanced
- Turn on "Developer Mode"
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" } } } }
- /ABSOLUTE/PATH/TO/MCP Relaywith the actual path to your MCP Relay project
- your_bot_token_herewith your Discord bot token
- your_channel_id_herewith your Discord channel ID
Note: Make sure to use absolute paths in the configuration.
The server provides a tool calledsend-messagethat 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 }
-
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 }
- 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
Enables AI assistants to interact with the Discord platform, allowing them to send messages, manage channels, and perform other actions.
Enables AI assistants to send notifications and request user input through Discord.
Allows AI assistants to ask questions to humans via Discord.
A lightweight notification service that sends webhooks for completed MCP tasks to providers like Discord, Slack, and Teams.
Interact with any other SaaS applications on behalf of your customers.
1001SMS MCP Server helps developers give AI agents access to temporary phone numbers for account registrations, OTP verifications, SMS code receiving, and automated signup workflows. Easy integration for MCP-compatible tools and custom agents.
An MCP server client for the Agent-to-Agent (A2A) protocol, enabling LLMs to interact with A2A agents.
A bridge server connecting Model Context Protocol (MCP) with Agent-to-Agent (A2A) protocol.
A bridge server connecting Model Context Protocol (MCP) with Agent-to-Agent (A2A) protocol.
Production-grade multi-agent communication MCP server with 58 tools over MCP+SSE — real-time messaging, task scheduling, shared memory, and a trust-based evolution engine. SQLite WAL persistence, 4-level RBAC, zero-dependency Python/TypeScript SDKs.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.


