Basic information
About Discord MCP Server
Integrates with Discord API for advanced server management—messaging, moderation, roles, events & more via 46+ tools. Reliable & robust.
Discord is a MCP server in the Communication category listed in the AddMCP.net directory, published by aj-geddes. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 2 GitHub stars. Source code is hosted on github.com. Related topics: communication, community, developer-tools, discord, mcp.
Setup
{
"mcpServers": {
"discord-agent": {
"command": "node",
"args": [
"/absolute/path/to/discord-agent-mcp/dist/index.js"
],
"env": {
"DISCORD_TOKEN": "your_discord_token_here",
"TRANSPORT_MODE": "stdio"
}
}
}
}
{
"mcpServers": {
"discord-agent": {
"command": "node",
"args": [
"/absolute/path/to/discord-agent-mcp/dist/index.js"
],
"env": {
"DISCORD_TOKEN": "your_discord_token_here",
"TRANSPORT_MODE": "stdio"
}
}
}
}
{
"servers": {
"discord-agent": {
"command": "node",
"args": [
"/absolute/path/to/discord-agent-mcp/dist/index.js"
],
"env": {
"DISCORD_TOKEN": "your_discord_token_here",
"TRANSPORT_MODE": "stdio"
}
}
}
}
Discord MCP Server — by aj-geddes config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"discord-agent": {
"command": "node",
"args": [
"/absolute/path/to/discord-agent-mcp/dist/index.js"
],
"env": {
"DISCORD_TOKEN": "your_discord_token_here",
"TRANSPORT_MODE": "stdio"
}
}
}
}
Discord MCP Server — by aj-geddes tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Discord?
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?
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
- 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
- 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.
Frequently asked questions
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).
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In