MCP-Relay

MCP-Relay

1

MCP Relay is an MCP server designed for integrating communication between Claude and Discord, allowing for the exchange of messages and prompts with response handling. Its features include configuring message settings and permissions to facilitate seamless interaction with a Discord channel.

MCP Relay

This project is an MCP server enabling communication between Claude and a Discord channel. It allows sending messages and prompts to Discord and receiving responses. Key features include sending notifications and prompts with optional action buttons and timeouts.

Setup Instructions

  1. Create a Discord Application and Bot: Follow the Discord Developer Portal to create and set up a bot with necessary permissions.
  2. Invite the Bot to Your Server: Generate a URL, select bot scopes, and authorize the bot in your desired server.
  3. Get Channel ID: Enable Developer Mode in Discord, then copy the channel ID.
  4. Configure MCP Settings: Update the MCP configuration file with the bot token and channel ID.

Usage

Utilize the provided tool to send prompt or notification message types, specifying parameters such as title, content, actions, and optional timeout. Notifications are simple messages, while prompts wait for a response that can be captured through action buttons or text.