Discord MCP Server logo

Discord MCP Server

by mabingyin-seek

A Discord webhook server based on MCP, used to send messages to Discord through the MCP interface. It provides a standardized API interface for sending text and Markdown formatted messages.

View on GitHub

Last updated: N/A

What is Discord MCP Server?

This is a Discord webhook server that leverages the MCP (Message Communication Protocol) to send messages to Discord channels. It acts as a bridge between MCP-enabled applications and Discord, allowing for automated message delivery.

How to use Discord MCP Server?

  1. Install the server using pip install discord-mcp-server. 2. Configure the Discord webhook URL either through the DISCORD_WEBHOOK_URL environment variable or as a command-line argument. 3. Run the server using uvx discord-mcp-server@latest. 4. Use the send_message MCP tool with the content parameter (required) and the optional msg_type parameter (text or markdown).

Key features of Discord MCP Server

  • Supports sending text messages

  • Supports sending Markdown formatted messages

  • Provides a standardized API interface through MCP

  • Supports command-line arguments and environment variable configuration

Use cases of Discord MCP Server

  • Automated notifications from MCP-enabled applications to Discord

  • Alerting users about events or updates in Discord

  • Integrating MCP-based systems with Discord for communication

  • Sending status updates and reports to Discord channels

FAQ from Discord MCP Server

What is MCP?

MCP stands for Message Communication Protocol. It is a protocol used for communication between different applications.

How do I find my Discord webhook URL?

In Discord, go to Server Settings -> Integrations -> Webhooks. Create a webhook and copy the webhook URL.

What message types are supported?

The server supports 'text' and 'markdown' message types. The default is 'text' if no type is specified.

What happens if the webhook URL is invalid?

The server will automatically handle the error and retry. Make sure the URL is correct.

What are the dependencies for this server?

The dependencies are fastapi, uvicorn, pydantic, requests, and mcp[cli].