Webhook.site MCP Server
This MCP server manages Webhook.site tokens and captured requests. You can create, retrieve, update, and delete tokens with custom settings (default response, content type, CORS, alias, timeout, request limits, expiry, etc., and clone from existing tokens). For a given token, you can list requests (HTTP, emails, DNSHooks) with pagination, date/query filters, and sorting; get the raw body of the latest request; and delete all or filtered requests. A resource URI provides raw JSON of all captured requests for a token.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Webhook.site MCP Server list the latest requests for my webhook token"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Webhook.site FastMCP
A FastMCP-based Model Context Protocol (MCP) server for the Webhook.site API. It exposes the API as MCP tools for creating, reading, updating, and managing webhook tokens and their captured requests.
Prerequisites
Python 3.12+
uv (recommended) or pip
Related MCP server: Webhook.site MCP Server
Configuration
Configure the following environment variables to authenticate and set defaults:
Environment Variable | Description |
| (Optional) Your Webhook.site API key (required for premium accounts, custom actions, and private tokens). |
| (Optional) A default Webhook.site token UUID to fall back to when not explicitly provided to tools. |
Running
Direct execution
uv run server.pyInstall editable
You can install this package in editable mode:
uv pip install -e .This registers the CLI command webhook-mcp.
Claude Desktop example
To use this with Claude Desktop (or other MCP hosts), add the following configuration.
Using sh -c allows the use of $HOME (or other environment variables) dynamically across different user machines/setups, since most MCP hosts do not perform shell expansion on paths:
{
"mcpServers": {
"WebhookSite": {
"command": "sh",
"args": [
"-c",
"uv --directory \"$HOME/.agents/Webhook.site-FastMCP\" run server.py"
],
"env": {
"WEBHOOK_SITE_API_KEY": "your-api-key-here",
"WEBHOOK_SITE_TOKEN_ID": "your-default-token-id-here"
}
}
}
}Note: If you prefer not to use sh -c, replace "command" with "uv" and use the absolute path in the "--directory" argument.
Available tools
1. create_token
Creates a new Webhook.site token (URL / email address container).
Arguments:
api_key(string, optional): OverridesWEBHOOK_SITE_API_KEY.default_status(number, optional): Default HTTP status returned to requests (200-599).default_content(string, optional): Default response body content.default_content_type(string, optional): Default response Content-Type (e.g.application/json,text/html).timeout(number, optional): Seconds to sleep before responding (max 30).listen(number, optional): Seconds to wait for "Set Response" endpoint response.expiry(number, optional): Seconds until the token auto-expires (default: 604800, 1 week).request_limit(number, optional): Limits request history stored (0 to 10000).cors(boolean, optional): Iftrue, adds CORS headers to responses.alias(string, optional): Sets a custom token alias.actions(boolean, optional): Enables/disables Custom Actions.clone_from(string, optional): Token UUID to clone settings from.
2. get_token
Get details and configuration of a Webhook.site token.
Arguments:
token_id(string, optional): Token UUID (defaults toWEBHOOK_SITE_TOKEN_ID).api_key(string, optional): OverridesWEBHOOK_SITE_API_KEY.
3. update_token
Update settings of an existing Webhook.site token.
Arguments:
Same configuration parameters as
create_token+token_id.
4. delete_token
Delete the Webhook.site token completely.
Arguments:
token_id(string, optional): Token UUID (defaults toWEBHOOK_SITE_TOKEN_ID).api_key(string, optional): OverridesWEBHOOK_SITE_API_KEY.
5. list_requests
List captured requests, emails, and DNSHooks sent to a token.
Arguments:
token_id(string, optional): Token UUID.api_key(string, optional): OverridesWEBHOOK_SITE_API_KEY.sorting(string, optional): Sorting order, either"newest"or"oldest".per_page(number, optional): Page size (default: 50, max: 100).page(number, optional): Page number to retrieve (default: 1).date_from(string, optional): Filter requests starting from date (yyyy-MM-dd HH:mm:ss).date_to(string, optional): Filter requests ending at date (yyyy-MM-dd HH:mm:ss).query(string, optional): Query string to filter results.
6. get_latest_request
Get the latest raw request body sent to a Webhook.site token.
Arguments:
token_id(string, optional): Token UUID.api_key(string, optional): OverridesWEBHOOK_SITE_API_KEY.
7. delete_requests
Delete all or filtered requests captured by a Webhook.site token.
Arguments:
token_id(string, optional): Token UUID.api_key(string, optional): OverridesWEBHOOK_SITE_API_KEY.date_to(string, optional): Filter to delete requests up to this date.query(string, optional): Filter to delete requests matching this query.
Resources
webhooksite://token/{token_id}/requests
Allows clients to retrieve the complete list of requests captured by the specified token in raw JSON format.
Available Tools
7 toolscreate_tokenB
Create a new Webhook.site token (URL / email address container).
Inputs: cors, alias, expiry, listen, +8 more. Returns: object
delete_requestsB
Delete all or filtered requests from a Webhook.site token.
Inputs: query, api_key, date_to, token_id. Returns: object
delete_tokenB
Delete a Webhook.site token/URL completely.
Inputs: api_key, token_id. Returns: object
get_latest_requestA
Get the latest raw request body sent to a Webhook.site token.
Inputs: api_key, token_id. Returns: result
get_tokenA
Get details and configuration of a Webhook.site token.
Inputs: api_key, token_id. Returns: object
list_requestsB
List captured requests, emails, and DNSHooks sent to a token.
Inputs: page, query, api_key, date_to, +4 more. Returns: object
update_tokenC
Update settings of a Webhook.site token.
Inputs: cors, alias, expiry, listen, +8 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool targets a distinct resource and action: token lifecycle (get/create/update/delete) versus request inspection (list/latest/delete). There is no meaningful overlap between any pair of tools; get_latest_request is a specific convenience distinct from listing all requests.
All tool names follow a consistent verb_noun pattern with snake_case: get_token, create_token, update_token, delete_token, list_requests, get_latest_request, delete_requests. This makes the toolset predictable and easy to navigate.
The server has exactly 7 tools, which is well-scoped for a webhook testing and inspection service. Each tool covers an essential operation without redundancy or feature bloat.
The token CRUD lifecycle is fully covered, and request operations include listing, fetching the latest, and deleting. The only minor gap is the lack of a direct endpoint to fetch a specific request by ID, but list_requests likely provides enough detail for most workflows.
Related MCP Connectors
Webhook capture bins for agents: get a URL, wait for webhooks, set replies, verify signatures.
Capture, inspect, send and assert on webhooks and inbound email from your coding agent.
Webhook URLs for AI agents: receive, wait for, replay, sign and verify webhooks (Stripe, GitHub…).
Webhooks for AI agents: send events, manage endpoints, inspect and retry deliveries.
Related MCP Servers
- AlicenseAqualityBmaintenanceExposes the Hookbase webhook relay API as tools for AI assistants to manage sources, destinations, routes, and events through natural language. It enables monitoring webhook success rates, replaying failed deliveries, and managing localhost tunnels for development.2232104 npmMIT
- AlicenseAqualityBmaintenanceEnables interaction with Webhook.site to create, manage, and monitor endpoints for capturing HTTP requests, emails, and DNS lookups. It provides 16 tools for testing webhooks and inspecting incoming data through the Model Context Protocol.2434 PyPI12MIT
- AlicenseAqualityDmaintenanceEnables 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.56 npmMIT
- AlicenseAqualityDmaintenanceWebhook management and testing tools for AI agents. Provides tools for sending, validating, generating, and debugging webhooks.546 npmMIT