MCP Server
MCP Server Discord Webhook
An MCP server that enables posting messages to Discord webhooks, allowing customization of content, username, and avatar URL.
0
GitHub Stars
8/23/2025
Last Updated
MCP Server Configuration
1{
2 "name": "discord-webhook",
3 "command": "npx",
4 "args": [
5 "-y",
6 "@genpm/mcp-server-discord-webhook"
7 ],
8 "env": {
9 "DISCORD_WEBHOOK_URL": "your-discord-webhook-url"
10 },
11 "alwaysAllow": [
12 "send_message"
13 ]
14}
JSON14 lines
README Documentation
MCP 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
Quick Install
Quick Actions
Key Features
Model Context Protocol
Secure Communication
Real-time Updates
Open Source