About MCP Server Discord Webhook
An MCP server for sending messages to Discord through webhooks. It supports message content and optional display-name and avatar customization.
Key features
- 01Send messages to Discord
- 02Set an optional display name
- 03Set an optional avatar URL
Use cases
- 01Post notifications to a Discord channel
- 02Send messages with a custom name or avatar
MCP support
Exposes a `send_message` tool to MCP clients for posting messages to Discord webhooks.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
npx -y @genpm/mcp-server-discord-webhookDISCORD_WEBHOOK_URLLocal servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMCP Server Discord Webhook
An MCP server for posting messages to Discord webhooks.
Installation
npm install @genpm/mcp-server-discord-webhook
Configuration
Add the following to your MCP configuration file:
{
"mcpServers": {
"discord-webhook": {
"command": "npx",
"args": [
"-y",
"@genpm/mcp-server-discord-webhook"
],
"env": {
"DISCORD_WEBHOOK_URL": "your-discord-webhook-url"
},
"alwaysAllow": [
"send_message"
]
}
}
}
Features
send_message
Sends a message to Discord.
Parameters:
content: Message content (required)username: Display name (optional)avatar_url: Avatar URL (optional)
Example:
<use_mcp_tool>
<server_name>discord-webhook</server_name>
<tool_name>send_message</tool_name>
<arguments>
{
"content": "Test message",
"username": "Custom Name"
}
</arguments>
</use_mcp_tool>
Development
This project uses GitHub Actions for continuous integration and automated publishing to npm. When you push a new version tag (e.g., v1.0.0), it will automatically:
- Build the package
- Run tests
- Publish to npm
- Create a GitHub release
For more details about the release process, see CHANGELOG.md.
License
MIT
Author
genm
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.