Back to MCP directory
publicPublicdnsLocal runtime

Webhooks

一个支持Webhook的MCP服务器实现,提供消息发送功能

article

README

🚀 MCP 网络钩服务器

MCP 网络钩服务器是一个集成网络钩的 MCP 服务器实现,它提供了消息发送功能,能与 Dive 和其他兼容 MCP 的 LLM 一起使用,为用户带来便捷的消息交互体验。

🚀 快速开始

本 MCP 网络钩服务器可通过 Smithery 自动安装,也能手动安装,安装完成后可与 Dive Desktop 进行配置,还能手动启动服务器。

✨ 主要特性

  • 通用网络钩支持:可向任意网络钩端点发送消息。
  • 自定义用户名:能够设置消息显示的显示名称。
  • 头像支持:支持自定义消息头像。
  • MCP 集成:可与 Dive 和其他兼容 MCP 的 LLM 一起使用。

📦 安装指南

通过 Smithery 安装

要通过 Smithery 自动安装 Claude Desktop 的 MCP 网络钩服务器,可执行以下命令:

npx -y @smithery/cli install @kevinwatt/mcp-webhook --client claude

手动安装

npm install @kevinwatt/mcp-webhook

📚 详细文档

Dive Desktop 的配置

  1. 在 Dive Desktop 中点击“+ 添加 MCP 服务器”。
  2. 复制并粘贴以下配置:
{
  "mcpServers": {
    "webhook": {
      "command": "npx",
      "args": [
        "-y",
        "@kevinwatt/mcp-webhook"
      ],
      "env": {
        "WEBHOOK_URL": "your-webhook-url"
      },
      "alwaysAllow": [
        "send_message"
      ]
    }
  }
}
  1. 点击“保存”以安装 MCP 服务器。

工具文档

  • send_message
    • 功能:向网络钩端点发送消息。
    • 输入:
      • content (字符串,必填):消息内容。
      • username (字符串,可选):显示名称。
      • avatar_url (字符串,可选):头像 URL。

💻 使用示例

基础用法

让您的 LLM 执行以下操作:

"将一条消息发送到网络钩:Hello World!"
"带有自定义名称的消息:content='Testing', username='Bot'"

手动启动

如果需要,可手动启动服务器:

npx @kevinwatt/mcp-webhook

🔧 技术细节

要求

  • Node.js 18+
  • 兼容 MCP 的 LLM 服务

📄 许可证

本项目采用 MIT 许可证。

作者

kevinwatt

关键字

  • mcp
  • webhook
  • 聊天
  • dive
  • llm
  • 自动化
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client