Webhooks MCP server

Enables sending customizable messages to external webhook endpoints, facilitating automated notifications and workflow integrations.
Back to servers
Provider
Kevin Watt
Release date
Jan 31, 2025
Language
TypeScript
Package
Stats
869 downloads
16 stars

This MCP Webhook Server lets you send messages to any webhook endpoint from your LLM conversations. It works with Dive and other MCP-compatible systems, supporting custom usernames and avatars.

Installation Options

Automatic Installation via Smithery

Install the MCP Webhook Server for Claude Desktop using Smithery:

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

Manual Installation

Install the package using npm:

npm install @kevinwatt/mcp-webhook

Configuration with Dive Desktop

Adding the Server

  1. Click "+ Add MCP Server" in Dive Desktop
  2. Copy and paste this configuration:
{
  "mcpServers": {
    "webhook": {
      "command": "npx",
      "args": [
        "-y",
        "@kevinwatt/mcp-webhook"
      ],
      "env": {
        "WEBHOOK_URL": "your-webhook-url"
      },
      "alwaysAllow": [
        "send_message"
      ]
    }
  }
}
  1. Click "Save" to install the MCP server

Environment Variables

Make sure to replace your-webhook-url with the actual webhook URL you want to send messages to.

Available Tools

send_message

This tool sends a message to your configured webhook endpoint.

Parameters:

  • content (string, required): The message content to send
  • username (string, optional): Custom display name for the message
  • avatar_url (string, optional): URL for the message avatar

Using the Webhook Server

Once installed and configured, you can ask your LLM to send messages to your webhook. Here are some example prompts:

  • "Send a message to webhook: Hello World!"
  • "Send a message with custom name: content='Testing', username='Bot'"

The LLM will use the MCP Webhook Server to send these messages to your configured webhook endpoint.

Manual Server Start

If needed, you can start the server manually:

npx @kevinwatt/mcp-webhook

System Requirements

  • Node.js 18 or higher
  • An MCP-compatible LLM service (like Claude or Dive)

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later