Skip to main content
Glama
webhook-mcp

webhook-mcp

by keshav-k3

webhook-mcp

npm version

A Bun-based MCP server that exposes two tools for sending POST requests to a configured webhook URL. Zero bloat. Built for automations and agent workflows(WIP)

Installation

npm install @keshav-k3/webhook-mcp

Related MCP server: MCP Webhook Server

Configuration

The server automatically detects the webhook service from the URL, or you can explicitly set WEBHOOK_SERVICE:

Service

Format

Example Payload

Discord

content field

{ "content": "Hello", "username": "Bot" }

Teams

Adaptive Card

{ "type": "message", "attachments": [{ "contentType": "application/vnd.microsoft.card.adaptive", "content": { "type": "AdaptiveCard", "body": [{ "type": "TextBlock", "text": "Hello" }] } }] }

Slack

text field

{ "text": "Hello" }

Telegram

text field

{ "text": "Hello" }

Generic

text field

{ "text": "Hello", "username": "Bot" }

MCP Configuration

Discord:

{
  "mcpServers": {
    "webhook-discord": {
      "command": "bun",
      "args": ["-y", "@keshav-k3/webhook-mcp"],
      "env": {
        "WEBHOOK_URL": "https://discord.com/api/webhooks/YOUR_WEBHOOK_ID/YOUR_WEBHOOK_TOKEN"
      }
    }
  }
}

Teams (Power Automate):

{
  "mcpServers": {
    "webhook-teams": {
      "command": "bun",
      "args": ["-y", "@keshav-k3/webhook-mcp"],
      "env": {
        "WEBHOOK_URL": "https://...powerplatform.com/.../workflows/.../triggers/manual/paths/invoke?..."
      }
    }
  }
}

Slack / Telegram / Generic:

{
  "mcpServers": {
    "webhook-slack": {
      "command": "bun",
      "args": ["-y", "@keshav-k3/webhook-mcp"],
      "env": {
        "WEBHOOK_URL": "https://hooks.slack.com/services/YOUR/WEBHOOK/URL"
      }
    }
  }
}

Tools

send_message

Send a text message to the configured webhook endpoint. The message format adapts based on the detected service.

Parameters:

  • content (string, required): Message content to send

  • username (string, optional): Display name (supported by Discord and generic webhooks)

  • avatar_url (string, optional): Avatar URL (supported by Discord and generic webhooks)

send_json

Send an arbitrary JSON object to the configured webhook endpoint. Use this for full control over the payload format.

Parameters:

  • body (object, required): JSON object to POST

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A TypeScript-based MCP server that enables AI assistants to execute HTTP requests with full control over methods, headers, and body content. It facilitates seamless interaction with web APIs and endpoints through a versatile tool that handles automatic JSON formatting and response truncation.
      1
      MIT
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      An MCP server that enables sending data to webhooks via HTTP POST for both local and remote team environments. It provides a tool for relaying task descriptions, custom metadata, and automated notifications to external services.
      4 npm
      -
    • A
      license
      Not graded
      quality
      F
      maintenance
      A TypeScript-based MCP server that enables AI agents to send messages to Microsoft Teams channels via incoming webhooks. It also includes a ping tool for health checks and connection verification.
      2,105 npm
      Apache 2.0
    • F
      license
      Not graded
      quality
      D
      maintenance
      A minimal MCP server that exposes a single tool to forward JSON reports from Home Assistant to Power Automate webhooks. It enables automated workflow integration by securely transmitting data between Home Assistant and Microsoft Power Automate.
      -