MCP Server Discord Webhook

by genm

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Enables sending messages to Discord channels via webhooks, with support for customizing the message content, display name, and avatar.

MCP 服务器 Discord Webhook

用于向 Discord webhook 发布消息的 MCP 服务器。

日语的README

安装

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

配置

将以下内容添加到您的 MCP 配置文件中:

{ "mcpServers": { "discord-webhook": { "command": "npx", "args": [ "-y", "@genpm/mcp-server-discord-webhook" ], "env": { "DISCORD_WEBHOOK_URL": "your-discord-webhook-url" }, "alwaysAllow": [ "send_message" ] } } }

特征

发送消息

向 Discord 发送消息。

参数:

  • content :留言内容(必填)
  • username :显示名称(可选)
  • avatar_url :头像网址(可选)

例子:

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

发展

本项目使用 GitHub Actions 进行持续集成并自动发布到 npm。当你推送新的版本标签(例如v1.0.0 )时,它将自动:

  1. 构建包
  2. 运行测试
  3. 发布到 npm
  4. 创建 GitHub 版本

有关发布过程的更多详细信息,请参阅CHANGELOG.md

执照

麻省理工学院

作者

基因

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

MCP 服务器可以向 Discord webhook 发送消息,允许自定义内容、用户名和头像 URL。

  1. Installation
    1. Configuration
      1. Features
        1. send_message
      2. Development
        1. License
          1. Author
            ID: e6qg95okn8