MCP.so
登录

Discord MCP Server

@mabingyin-seek

基本信息

分类

沟通协作

传输方式

stdio

作者

mabingyin-seek

关于 Discord MCP Server

一个用于发送discord信息的mcp webhook工具

Discord MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-discord-webhook-server": {
      "command": "uvx",
      "args": [
        "discord-mcp-server@latest"
      ]
    }
  }
}

Discord MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Discord MCP Server?

Discord MCP Server is a tool that sends messages to Discord via a webhook using the Model Context Protocol (MCP). It provides a standardized API for posting both plain text and Markdown content, making it ideal for developers and automation workflows that need to notify Discord channels programmatically.

How to use Discord MCP Server?

Install with pip install discord-mcp-server, then set the DISCORD_WEBHOOK_URL environment variable or pass the webhook URL as a command-line argument. Run the server with uvx discord-mcp-server@latest. Use the send_message MCP tool with required content and optional msg_type ("text" or "markdown") to send messages.

Key features of Discord MCP Server

  • Sends text and Markdown messages via Discord webhooks.
  • Standardized MCP interface for integration.
  • Configuration via environment variable or command line.
  • Automatic error handling with retry mechanism.
  • Supports Python installation via pip.

Use cases of Discord MCP Server

  • Notify a Discord channel from an automated CI/CD pipeline.
  • Send formatted status updates or reports from a backend service.
  • Integrate with MCP-compatible clients to broadcast messages into Discord.

常见问题

1

What configuration is required?

You must provide a Discord webhook URL either through the `DISCORD_WEBHOOK_URL` environment variable or as a command-line argument when launching the server.

2

How do I send a message?

Call the MCP tool `send_message` with the required `content` parameter. Optionally set `msg_type` to "text" (default) or "markdown" for formatted messages.

3

What message types are supported?

The server supports "text" and "markdown" message types. Markdown messages are rendered with Discord’s built-in Markdown formatting.

4

What happens if the webhook URL is invalid or sending fails?

The server automatically handles invalid webhook URLs, network issues, and send failures with a retry mechanism. Errors are surfaced through the MCP interface.

5

Are there any runtime dependencies?

The server requires Python and the packages `fastapi`, `uvicorn`, `pydantic`, `requests`, and `mcp[cli]` (version constraints listed in the README).

评论

沟通协作 分类下的更多 MCP 服务器