MCP Relay Server
Relé MCP
Este servidor MCP le permite a Claude enviar mensajes y avisos a un canal de Discord y recibir respuestas.
Instrucciones de configuración
1. Crea una aplicación y un bot de Discord
Haga clic en "Nueva aplicación" y asígnele un nombre.
Vaya a la sección "Bot" en la barra lateral izquierda.
En la sección de token del bot, haga clic en "Restablecer token" y copie el nuevo token
¡Mantén este token seguro! No lo compartas públicamente.
En "Intentos de puerta de enlace privilegiada", habilite:
Intención del contenido del mensaje
Intención de los miembros del servidor
Intención de presencia
2. Invita al bot a tu servidor
Vaya a la sección "OAuth2" en la barra lateral izquierda
Seleccione "Generador de URL"
En "Ámbitos", seleccione:
bot
aplicaciones.comandos
En "Permisos de bot", seleccione:
Enviar mensajes
Insertar enlaces
Leer el historial de mensajes
Copia la URL generada y ábrela en tu navegador.
Selecciona tu servidor y autoriza el bot
3. Obtener el ID del canal
En Discord, habilita el modo de desarrollador:
Vaya a Configuración de usuario > Configuración de la aplicación > Avanzado
Activar el "Modo de desarrollador"
Haga clic derecho en el canal que desea utilizar
Haga clic en "Copiar ID del canal"
4. Configurar los ajustes de MCP
El servidor requiere configuración en el archivo de configuración de MCP. Agregue lo siguiente a su archivo de configuración:
{
"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"
}
}
}
}Reemplazar:
/ABSOLUTE/PATH/TO/MCP Relaycon la ruta real a su proyecto MCP Relayyour_bot_token_herecon tu token de bot de Discordyour_channel_id_herecon tu ID de canal de Discord
Nota: asegúrese de utilizar rutas absolutas en la configuración.
Related MCP server: Discord Notification MCP Server
Uso
El servidor proporciona una herramienta llamada send-message que acepta los siguientes parámetros:
{
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
}Tipos de mensajes
Notificación : Mensaje simple que no espera respuesta.
{ "type": "notification", "title": "Hello", "content": "This is a notification" }Aviso : Mensaje que espera una respuesta
{ "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 }
Notas:
Las indicaciones se pueden responder haciendo clic en los botones de acción o enviando un mensaje de texto.
Sólo se acepta una respuesta por solicitud.
Si se especifica un tiempo de espera, la solicitud fallará después del período de tiempo de espera
Las notificaciones no esperan respuestas y regresan inmediatamente.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
An MCP server that integrates with Discord to provide AI-powered features.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
- CanvaOAuthcom.canva.mcp
The Canva MCP server connects AI assistants (like Claude, ChatGPT, and Cursor) to Canva's API, enabling them to create and manage designs directly within chat conversations. Key capabilities include generating new designs from prompts, autofilling templates, searching and resizing existing designs, importing files from URLs, exporting designs as PDFs or images, and managing folders and comments without switching between tools.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
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.19348MIT
- 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
- AlicenseAqualityDmaintenanceAn 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.6193MIT
- FlicenseNot gradedqualityCmaintenanceAn 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-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/emiliobool/MCP-Relay'
If you have feedback or need assistance with the MCP directory API, please join our Discord server