Capture HTTP, email, and DNS callbacks with webhook.site from MCP clients.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A Model Context Protocol (MCP) server for webhook.site - instantly capture HTTP requests, emails, and DNS lookups. Perfect for testing webhooks, debugging API callbacks, security testing, and bug bounty hunting.
Security helper tools (SSRF, XSS, canary tokens) are for authorized testing only β systems you own or have explicit permission to test.
Use 3.0.0 or newer. 2.1.3 does not start on MCP 2.0; 3.0 renames a few tools (see Upgrading from 2.x).
Add to .vscode/mcp.json:
Add to .cursor/mcp.json (project) or your user MCP config:
Add to claude_desktop_config.json:
All settings are environment variables on the server process. Put them in the env block of your MCP client config.
| Variable | Purpose |
|---|---|
WEBHOOK_SITE_API_KEY | Your webhook.site API key. Makes new URLs permanent (your plan's quota) and unlocks list_webhooks, Custom Actions, Schedules, Global Variables, Groups, Queue Profiles, Templates, Databases, Users and CSV export |
WEBHOOK_SITE_DEFAULT_EXPIRY | Seconds until new URLs expire when the call does not pass expiry. Unset means permanent on a paid account (7 days for anonymous URLs) |
WEBHOOK_MCP_RATE_LIMIT_MAX_WAIT | When webhook.site answers 429 with a Retry-After up to this many seconds (default 15), the call waits and retries once; longer waits are reported as an error naming the wait |
FOLLOW_EMAIL_LINK_ALLOW_HOSTS | follow_email_link only opens links to public internet hosts, and connects to the address it checked (no DNS rebinding). To test a sign-up flow on your own machine or intranet, list what to allow: localhost,127.0.0.1,*.corp.example,10.0.0.0/8 |
HTTPS_PROXY / HTTP_PROXY / NO_PROXY | Honoured by follow_email_link. The proxy makes the connection, so the target is checked before the request instead of being pinned |
SSL_CERT_FILE / SSL_CERT_DIR | Custom CA bundle for follow_email_link, for corporate TLS interception |
If the request to a verification link completes and then redirects somewhere that is not allowed (a local dev server, an intranet dashboard), the tool reports that hop's status with the refused target in blocked_redirect instead of failing: the request that consumed the token already went through, whether or not the site counted it as verified.
Everything works without an account on anonymous 7-day URLs. With WEBHOOK_SITE_API_KEY set, URLs are permanent and the account tools unlock the features of your plan. Every webhook_token accepts the UUID, an alias, a pasted https://webhook.site/... URL or the inbox address. Full parameters for each tool: docs/TOOLS.md.
31 tools, generated from the server by scripts/gen_tool_docs.py.
| Tool | What it does |
|---|---|
server_status | Check this server's setup: API key, account reachability, plan, real-time socket, env config. |
| Tool | What it does |
|---|---|
create_webhook | Create a disposable inbox to sign up on a website: HTTP URL, temp email, DNS. |
configure_webhook | Create a webhook with custom settings, or update one (pass webhook_token). |
get_webhook_info | Show a webhook's settings, expiry, request count and every address. |
get_webhook_email | Return the temp inbox to sign up, verify, magic-link, or reset a password. |
list_webhooks | List the webhooks (URLs / inboxes) in the account. Needs WEBHOOK_SITE_API_KEY. |
delete_webhook | Permanently delete a webhook and every captured request/email. |
| Tool | What it does |
|---|---|
send_requests | Send one JSON body (data) or several (payloads) to the webhook URL to test capture. |
get_webhook_requests | List captured HTTP, email, or DNS events for a webhook, one page at a time. |
search_requests | Search captured events by method, body text, headers, type, or date. |
get_request | Return one captured event: the newest by default, or request_id. |
update_request | Attach a note to a captured request, or set its dynamic response. |
download_request_file | Download an uploaded file or email attachment (base64) by its file_id. |
delete_request | Delete one captured HTTP, email, or DNS event by request id. |
delete_all_requests | Clear captured events on a webhook, optionally by date or search query. |
export_webhook_data | Full dump of captured events with HTML and untruncated bodies, as JSON or CSV. |
| Tool | What it does |
|---|---|
wait_for_request | Wait until a new HTTP (or DNS) callback hits the webhook (1-120s). |
wait_for_email | Wait for a sign-up, verify, magic-link, or password-reset email (1-120s). |
respond_to_next_request | Hold the next request that hits the webhook and answer it with your own status, headers and body. |
follow_email_link | Open the verify / magic-link / reset URL from a captured sign-up email. |
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/webhook-site-mcp-server)<a href="https://allmcps.com/mcp/webhook-site-mcp-server"><img src="https://allmcps.com/api/badge/webhook-site-mcp-server?style=directory" alt="Webhook.site MCP Server on AllMCPs" /></a>