MCP.so
ログイン
サーバー

Discord MCP Server

@mabingyin-seek

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

概要

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.

FAQ from Discord MCP Server

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.

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.

What message types are supported?

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

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.

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).

タグ

「コミュニケーション」の他のコンテンツ