Mock a webhook
anyhook_mockGenerate a webhook request with a valid signature for Stripe, GitHub, or Slack. If targetUrl is provided, the request is POSTed there and the response is returned. This hosted server reaches public https URLs only; to reach localhost, run npx -y anyhook-mcp.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"provider": "<provider>",
"event": "<event>"
},
"name": "anyhook_mock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Optional fields to deep-merge into the fixture. | |
| event | Yes | Event name (e.g. 'payment_intent.succeeded' for Stripe). | |
| secret | No | Signing secret. Falls back to a deterministic default per provider. | |
| provider | Yes | Webhook provider to simulate. | |
| targetUrl | No | If set, POST the generated request to this URL and return the response. |