Skip to main content
Glama
Webhook.site MCP Server

Webhook.site MCP Server

by zebbern

Webhook.site MCP Server

PyPI Python MCP

Ein Model Context Protocol (MCP)-Server für webhook.site – erfassen Sie sofort HTTP-Anfragen, E-Mails und DNS-Lookups. Perfekt zum Testen von Webhooks, Debuggen von API-Callbacks, Sicherheitstests und Bug-Bounty-Jagd.

Sicherheits-Hilfstools (SSRF, XSS, Canary-Tokens) sind nur für autorisierte Tests gedacht – Systeme, die Ihnen gehören oder für die Sie ausdrückliche Erlaubnis haben.


Inhaltsverzeichnis


Related MCP server: hookray-mcp

Schnellstart

Installation

# Using uvx (recommended - no install needed)
uvx webhook-mcp-server==2.2.2

# Or install via pip
pip install webhook-mcp-server==2.2.2

Verwenden Sie 2.2.2 oder neuer. 2.1.3 startet nicht unter MCP 2.0.

VS Code / GitHub Copilot

Fügen Sie zu .vscode/mcp.json hinzu:

{
  "servers": {
    "webhook-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": ["webhook-mcp-server==2.2.2"]
    }
  }
}

Cursor

Fügen Sie zu .cursor/mcp.json (Projekt) oder Ihrer Benutzer-MCP-Konfiguration hinzu:

{
  "mcpServers": {
    "webhook-mcp-server": {
      "command": "uvx",
      "args": ["webhook-mcp-server==2.2.2"]
    }
  }
}

Claude Desktop

Fügen Sie zu claude_desktop_config.json hinzu:

{
  "mcpServers": {
    "webhook-mcp-server": {
      "command": "uvx",
      "args": ["webhook-mcp-server==2.2.2"]
    }
  }
}

Was können Sie tun?

Webhooks erfassen

"Create a webhook and show me the URL"
"What requests have been sent to my webhook?"
"Wait for a request to come in"

Sicherheit/Bug Bounty:

"Generate an SSRF payload to test for blind vulnerabilities"
"Create XSS callback payloads to detect blind XSS attacks"
"Make me a canary token to detect if someone accesses a URL"

E-Mail-Automatisierung:

"Create a temp email and wait for a password reset link"
"Monitor this webhook for emails and extract all links from them"
"Give me 3 temporary emails at once" (batch creation)

API-Tests:

"Create a webhook that returns a 404 error with a custom message"
"Make a webhook with CORS enabled that waits 5 seconds before responding"
"Send 10 different test requests to a webhook and show me all the captured data"

Echtzeit-Überwachung:

"Create a webhook and wait for any HTTP request to arrive"
"Monitor for DNS lookups to detect if a server is making DNS queries"
"Search all requests for ones containing 'password' in the body"

Datenanalyse:

"Export all captured webhook requests to JSON format"
"Show me statistics on requests received in the last hour"
"Filter and show only POST requests with specific headers"

Kreativ/Praktisch:

"Create a webhook that pretends to be a Stripe payment API"
"Make a fake login endpoint that captures credentials (for pentesting)"
"Set up an email inbox that auto-extracts verification codes"

Canary-Tokens

"Create a canary URL to track document access"
"Generate a DNS canary for the config file"
"Set up an email tracker pixel"

Tool-Referenz

Webhook-Verwaltung

Tool

Beschreibung

create_webhook

Hier beginnen: Wegwerf-URL, temporäre E-Mail und DNS für Anmeldung oder Callbacks

create_webhook_with_config

Erstellen mit benutzerdefinierter Antwort, Status, CORS, Timeout

get_webhook_url

Die vollständige URL für einen Webhook-Token abrufen

get_webhook_email

Temporäres Postfach {token}@email.webhook.site für Anmeldung / Verifizierung / Magic-Link / Zurücksetzen

get_webhook_dns

Die DNS-Subdomain für einen Webhook abrufen

get_webhook_info

Webhook-Einstellungen und Statistiken abrufen

update_webhook

Webhook-Konfiguration ändern

delete_webhook

Einen Webhook-Endpunkt löschen

Anfrageverarbeitung

Tool

Beschreibung

send_to_webhook

JSON-Daten an einen Webhook senden

get_webhook_requests

Alle erfassten Anfragen auflisten

search_requests

Mit Filtern suchen (Methode, Inhalt, Datum)

get_latest_request

Die neueste erfasste Anfrage abrufen

delete_request

Eine bestimmte Anfrage löschen

delete_all_requests

Massenlöschen mit Filtern

Echtzeit-Warten

Tool

Beschreibung

wait_for_request

Auf eine neue HTTP-Anfrage warten (Polling, 1-120s). Setzen Sie return_existing, um alten Datenverkehr wiederzuverwenden.

wait_for_email

Nach der Anmeldung: auf Verifizierungs-/Magic-Link-/Reset-Mail, Links und OTP-Codes warten

follow_email_link

Eine erfasste Verifizierungs-/Magic-/Reset-URL öffnen und die Seitenvorschau zurückgeben

Bug Bounty / Sicherheit

Tool

Beschreibung

generate_ssrf_payload

SSRF-Test-Payloads erstellen (HTTP, DNS, IP-basiert)

generate_xss_callback

XSS-Callback-Payloads mit Cookie-/DOM-Erfassung erstellen

generate_canary_token

Verfolgbare URLs, DNS oder E-Mail-Canaries erstellen

check_for_callbacks

Schnellprüfung auf OOB-Callbacks

extract_links_from_request

Bestätigungs-/Reset-/Magic-Link-URLs aus einer erfassten E-Mail oder HTTP-Body extrahieren

Stapel & Dienstprogramm

Tool

Beschreibung

send_multiple_requests

Stapel von Anfragen für Lasttests senden

export_webhook_data

Alle Anfragen als JSON exportieren


Beispiele

Auf einer Website anmelden

  1. create_webhook – email abrufen ({token}@email.webhook.site)

  2. Diese Adresse auf der Website verwenden (Anmeldung, Verifizierung, Magic-Link oder Passwort-Reset)

  3. wait_for_email – die Nachricht, Bestätigungs-/Login-/Reset-URLs und alle OTP-Codes empfangen

  4. follow_email_link zum Öffnen eines Verifizierungslinks, oder verification_codes auf der Website eingeben

Wenn Sie bereits einen Token haben, gibt get_webhook_email dasselbe Postfach zurück.

Einen Webhook erstellen

// Response from create_webhook
{
  "token": "abc123-def456-...",
  "url": "https://webhook.site/abc123-def456-...",
  "email": "abc123-def456-...@email.webhook.site",
  "dns": "abc123-def456-....dnshook.site"
}

Auf Passwort-Reset-E-Mail warten

// Response from wait_for_email
{
  "email_received": true,
  "subject": "Password Reset Request",
  "from": "noreply@example.com",
  "auth_links": ["https://example.com/reset?token=xyz789"],
  "verification_codes": ["847291"]
}

SSRF-Test-Payload

// Response from generate_ssrf_payload
{
  "payloads": {
    "http": "https://webhook.site/token?id=ssrf-test",
    "dns": "ssrf-test.token.dnshook.site",
    "ip_decimal": "http://2130706433/token",
    "ip_hex": "http://0x7f000001/token"
  }
}

Jeder Webhook-Token bietet

Endpunkt

Format

Verwendungszweck

HTTP-URL

https://webhook.site/{token}

HTTP/HTTPS-Anfragen erfassen

Subdomain

https://{token}.webhook.site

Alternative URL-Format

E-Mail

{token}@email.webhook.site

Eingehende E-Mails erfassen

DNS

{token}.dnshook.site

DNS-Lookups erfassen


Architektur

webhook-mcp-server/
├── server.py              # MCPServer entry point + lifespan
├── handlers/              # Typed @mcp.tool() registrations
├── services/              # Business logic
│   ├── webhook_service.py # Webhook CRUD
│   ├── request_service.py # Request management
│   └── bugbounty_service.py # Security payloads
├── models/                # Config / filter / result types
└── utils/                 # HTTP client, logging, validation

Hauptmerkmale

  • Asynchrone Architektur – Nicht blockierende E/A für optimale Leistung

  • Wiederholungslogik – Exponentielles Backoff bei vorübergehenden Fehlern

  • Eingabevalidierung – UUID-Validierung, Parameterbereinigung

  • Strukturierte Protokollierung – JSON-Protokolle für Debugging und Überwachung

  • Typsicherheit – Vollständige Typ-Hinweise durchgehend


Entwicklung

Einrichtung

git clone https://github.com/zebbern/webhook-mcp-server.git
cd webhook-mcp-server
pip install -e ".[dev]"

Tests ausführen

# Offline unit tests (default for CI)
pytest -m "not live" -v

# Live webhook.site tests
pytest -m live -v

Lokal ausführen

python server.py

Anforderungen

  • Python 3.10+

  • mcp >= 2.0.0

  • httpx >= 0.25.0


Änderungsprotokoll

Siehe CHANGELOG.md für die Versionshistorie.


Mitwirken

Beiträge sind willkommen! So können Sie helfen:

  1. Fehler melden – Öffnen Sie ein Issue, das das Problem beschreibt

  2. Funktionen vorschlagen – Öffnen Sie ein Issue mit Ihrer Idee

  3. PRs einreichen – Forken Sie das Repo und reichen Sie einen Pull-Request ein

Entwicklungseinrichtung

git clone https://github.com/zebbern/webhook-mcp-server.git
cd webhook-mcp-server
pip install -e ".[dev]"
pytest -m "not live" -v

Richtlinien

  • Befolgen Sie den vorhandenen Codestil

  • Fügen Sie Tests für neue Funktionen hinzu

  • Aktualisieren Sie die Dokumentation bei Bedarf

  • Halten Sie PRs auf eine einzelne Änderung fokussiert


Danksagungen

Dieses Projekt ist nicht mit webhook.site verbunden oder von ihm unterstützt.


Mit ❤️ für die MCP-Community erstellt

Available Tools

24 tools
check_for_callbacksA

See if SSRF, XSS, or canary callbacks arrived in the last N minutes.

    Use after generate_ssrf_payload / generate_xss_callback / generate_canary_token.
    For a website verification email, use wait_for_email.
    

Inputs: webhook_token (required), identifier, since_minutes. Returns: object

create_webhookA

Create a disposable inbox to sign up on a website: HTTP URL, temp email, DNS.

    Use this first when the user wants to sign up, receive a verification /
    magic-link / password-reset email, catch a webhook callback, or get a
    one-off URL. Returns token, url, email ({token}@email.webhook.site),
    and dns. Next: give the email or URL to the site, then wait_for_email,
    then follow_email_link or use the OTP.
    

Inputs: no named parameters. Returns: object

create_webhook_with_configA

Create a webhook that returns a custom status, body, timeout, CORS, or alias.

    Use when the user wants the endpoint to pretend to be an API (404, delay,
    JSON body) instead of a default 200. For a normal sign-up inbox, use
    create_webhook.
    

Inputs: cors, alias, expiry, timeout, +3 more. Returns: object

delete_all_requestsB

Clear captured events on a webhook, optionally by date or search query.

Use to reset an inbox before a new sign-up or test run.

Inputs: webhook_token (required), query, date_to, date_from. Returns: object

delete_requestA

Delete one captured HTTP, email, or DNS event by request id.

Inputs: request_id (required), webhook_token (required). Returns: object

delete_webhookA

Permanently delete a webhook and every captured request/email.

Use when the user is done with a temp inbox or wants to clean up.

Inputs: webhook_token (required). Returns: object

export_webhook_dataA

Full dump of captured HTTP/email/DNS events, including HTML and untruncated bodies.

Use this when list/wait tools omitted HTML or truncated a body.

Inputs: webhook_token (required), limit. Returns: object

generate_canary_tokenA

Make a canary URL, DNS name, or email that alerts when someone opens it.

    Use to mark your own files or systems. token_type='email' is a tripwire,
    not a sign-up inbox — use create_webhook + wait_for_email for that.
    

Inputs: webhook_token (required), identifier, token_type. Returns: object

generate_ssrf_payloadB

Build authorized SSRF callback URLs that ping this webhook.

    Use only on systems you are allowed to test — not for sign-up email.
    Confirm hits with check_for_callbacks. local_bypass_examples cannot
    be confirmed here.
    

Inputs: webhook_token (required), identifier, include_ip, include_dns. Returns: object

generate_xss_callbackA

Build authorized XSS payloads that ping this webhook when they run.

    Use only on systems you are allowed to test. Confirm with check_for_callbacks.
    

Inputs: webhook_token (required), identifier, include_dom, include_cookies. Returns: object

get_latest_requestA

Return only the newest captured event (HTTP, email, or DNS).

    Use for a quick peek. Prefer wait_for_email after a sign-up, or
    get_webhook_requests to see history.
    

Inputs: webhook_token (required). Returns: object

get_webhook_dnsA

Return the DNSHook domain for an existing webhook.

    Use for out-of-band DNS callbacks, not for sign-up email. create_webhook
    already returns dns.
    

Inputs: webhook_token (required), validate. Returns: object

get_webhook_emailA

Return the temp inbox to sign up, verify, magic-link, or reset a password.

    Address is {token}@email.webhook.site. Use when the user already has a
    token. If they do not, call create_webhook first — it also returns
    email. After the site sends mail, call wait_for_email.
    

Inputs: webhook_token (required), validate. Returns: object

get_webhook_infoA

Show webhook settings, expiry, and how many requests it has received.

Use when the user asks if a token is still valid or how it is configured.

Inputs: webhook_token (required). Returns: object

get_webhook_requestsA

List captured HTTP, email, or DNS events for a webhook.

    Use to inspect what already arrived. Bodies are truncated and HTML is
    omitted; use export_webhook_data for the full dump. For the newest item
    use get_latest_request. To wait for something new use wait_for_request
    or wait_for_email. Filter emails with request_type='email'.
    

Inputs: webhook_token (required), limit, request_type. Returns: object

get_webhook_urlA

Return https://webhook.site/{token} for an existing webhook.

    Use when the user already has a token and needs the HTTP callback URL.
    For a new inbox, create_webhook already returns url.
    

Inputs: webhook_token (required), validate. Returns: object

search_requestsA

Search captured events by method, body text, headers, type, or date.

    Use when the user asks to find POSTs, a keyword, or only emails/DNS.
    Examples: query='method:POST', query='content:verify', request_type='email'.
    

Inputs: webhook_token (required), limit, query, date_to, +3 more. Returns: object

send_multiple_requestsA

POST several sample JSON payloads to the webhook, optionally spaced out.

Use to load-test capture, not to wait for a real site or email.

Inputs: payloads (required), webhook_token (required), delay_ms. Returns: object

send_to_webhookA

POST JSON to the webhook URL to test that capture works.

Use when the user wants to send a sample payload, not when they are waiting for a real site or email.

Inputs: data (required), webhook_token (required), headers. Returns: object

update_webhookB

Change how an existing webhook responds (status, body, timeout, CORS).

    Use after create_webhook when the user wants a different canned reply.
    

Inputs: webhook_token (required), cors, timeout, default_status, +2 more. Returns: object

wait_for_emailA

Wait for a sign-up, verify, magic-link, or password-reset email (1-120s).

    Call this after the user (or you) submitted {token}@email.webhook.site
    on a website. Returns subject, a truncated text preview, extracted
    confirm / reset / login URLs, and verification_codes (OTP). Next:
    follow_email_link, or type the code. HTML is omitted; use
    export_webhook_data for the full message. Set return_existing=true if
    the email already arrived. If there is no token yet, create_webhook first.
    

Inputs: webhook_token (required), extract_links, return_existing, timeout_seconds. Returns: object

wait_for_requestA

Poll until a new HTTP (or DNS) callback hits the webhook (1-120s).

    Use after giving a site the webhook URL. Bodies are truncated and HTML
    is omitted; use export_webhook_data for the full dump. For verification
    / magic-link / password-reset mail, use wait_for_email instead. Set
    return_existing=true if the request may already be there.
    

Inputs: webhook_token (required), request_type, return_existing, timeout_seconds. Returns: object

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 24 tools

    Disambiguation5/5

    Every tool has a clearly defined purpose with explicit guidance on when to use it. Overlaps like get_latest_request vs get_webhook_requests are disambiguated in descriptions, and security tools are separate from email/webhook tools.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern in snake_case (e.g., create_webhook, delete_request, wait_for_email). Security payload generators use generate_ prefix, and check_for_callbacks fits the pattern. No mixed conventions.

    Tool Count4/5

    24 tools is on the higher side but justified by the broad scope: webhook lifecycle, email capture, DNS, request management, and security testing. Each tool earns its place, though some could theoretically be merged without much loss.

    Completeness5/5

    The surface covers the full lifecycle: create, configure, send, retrieve, wait, export, update, delete, search, and security payload generation. No obvious gaps for the stated purpose of webhook testing and temporary inbox functionality.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to create disposable webhook URLs, capture incoming HTTP requests, inspect headers and bodies, and replay them against local or remote endpoints, streamlining the webhook handler development loop.
      5
      8 npm
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables management and inspection of webhook tokens (URLs) and incoming requests via webhook-test.com, allowing users to create, list, fetch details, fetch payloads, and delete webhooks without custom API integrations.
      -