Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • SQL Query MCP Server
  • Image Generation MCP Server
  • Image Processor MCP Server
  • mcp-server-data-exploration
  • Ollama MCP Server
Back to MCP Servers
MCP Relay Server

MCP Relay Server

Public
emiliobool/MCP-Relay

Enables seamless integration of Model Context Protocol (MCP) with Discord by sending prompts and notifications to channels, supporting interactive responses, message history, and real-time communication via a configurable bot.

typescript
0 tools
May 30, 2025
Updated Jun 4, 2025

Supercharge Your AI with MCP Relay Server

MCP Server

Unlock the full potential of MCP Relay Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.

Unified API Access
Complete Tracing
Instant Setup
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests

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

  1. Go to the Discord Developer Portal
  2. Click "New Application" and give it a name
  3. Go to the "Bot" section in the left sidebar
  4. Under the bot's token section, click "Reset Token" and copy the new token
    • Keep this token secure! Don't share it publicly
  5. Under "Privileged Gateway Intents", enable:
    • Message Content Intent
    • Server Members Intent
    • Presence Intent

2. Invite the Bot to Your Server

  1. Go to the "OAuth2" section in the left sidebar
  2. Select "URL Generator"
  3. Under "Scopes", select:
    • bot
    • applications.commands
  4. Under "Bot Permissions", select:
    • Send Messages
    • Embed Links
    • Read Message History
  5. Copy the generated URL and open it in your browser
  6. Select your server and authorize the bot

3. Get Channel ID

  1. In Discord, enable Developer Mode:
    • Go to User Settings > App Settings > Advanced
    • Turn on "Developer Mode"
  2. Right-click the channel you want to use
  3. 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 Relay with the actual path to your MCP Relay project
  • your_bot_token_here with your Discord bot token
  • your_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:

{ type: 'prompt' | 'notification', // Type of message title: string, // Message title content: string, // Message content actions?: Array, timeout?: number // Optional timeout in milliseconds }

Message Types

  1. Notification: Simple message that doesn't expect a response

    { "type": "notification", "title": "Hello", "content": "This is a notification" }
  2. 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
Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • SQL Query MCP Server
    SQL Query MCP Server

    Enables natural language querying of PostgreSQL databases by translating prompts into SQL via LLM in...

    Added May 30, 2025
  • Image Generation MCP Server
    Image Generation MCP Server

    Enables high-quality image generation via Model Context Protocol with customizable dimensions, promp...

    1 tools
    Added May 30, 2025
  • Image Processor MCP Server
    Image Processor MCP Server

    A TypeScript-based Model Context Protocol server enabling creation, access, and summarization of tex...

    2 tools
    Added May 30, 2025
  • mcp-server-data-exploration
    mcp-server-data-exploration

    Interactive Model Context Protocol server enabling seamless data exploration by loading CSV datasets...

    2 tools
    Added May 30, 2025
  • Ollama MCP Server
    Ollama MCP Server

    Enables seamless integration of local Ollama LLM models with MCP-compatible applications, offering m...

    Added May 30, 2025