webhook-mcp
A Bun-based MCP server that sends POST requests to webhooks, supporting Discord, Teams, Slack, Telegram, and generic services via two tools: send_message and send_json.
README
webhook-mcp
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
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 sendusername(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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.