mcpField
M
MCP Server Discord Webhook

MCP Server Discord Webhook

Local
github.com/genmCommunication0Updated 92w ago

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

  1. 01Send messages to Discord
  2. 02Set an optional display name
  3. 03Set an optional avatar URL

Use cases

  1. 01Post notifications to a Discord channel
  2. 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.

mcp.json · Universal config
{
"mcpServers": {
"discord-webhook": {
"command": "npx",
"args": [
"-y",
"@genpm/mcp-server-discord-webhook"
],
"env": {
"DISCORD_WEBHOOK_URL": "<DISCORD_WEBHOOK_URL>"
}
}
}
}
Run commandnpx -y @genpm/mcp-server-discord-webhook
Environment variables to set
DISCORD_WEBHOOK_URL

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@genpm/mcp-server-discord-webhook

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

MCP Server Discord Webhook

An MCP server for posting messages to Discord webhooks.

日本語のREADME

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:

  1. Build the package
  2. Run tests
  3. Publish to npm
  4. Create a GitHub release

For more details about the release process, see CHANGELOG.md.

License

MIT

Author

genm

Comments

Markdown supported

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.