@hookbase/mcp-server
v1.1.0
Published
MCP server for Hookbase webhook relay API - manage webhooks, deliveries, and tunnels from AI assistants
Maintainers
Readme
Hookbase MCP Server
An MCP (Model Context Protocol) server that exposes the Hookbase webhook relay API as tools for AI assistants like Claude.
Quick Start
1. Get your API key
Get your API key from the Hookbase dashboard under Settings → API Keys.
2. Add to Claude Desktop
Add to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"hookbase": {
"command": "npx",
"args": ["-y", "@hookbase/mcp-server"],
"env": {
"HOOKBASE_API_KEY": "whr_live_your_key_here"
}
}
}
}3. Restart Claude Desktop
Restart Claude Desktop to load the MCP server. You can now ask Claude to manage your webhooks!
Alternative Installation
Global install
npm install -g @hookbase/mcp-serverThen use in Claude Desktop config:
{
"mcpServers": {
"hookbase": {
"command": "hookbase-mcp",
"env": {
"HOOKBASE_API_KEY": "whr_live_your_key_here"
}
}
}
}From source
git clone https://github.com/hookbase/hookbase.git
cd hookbase/mcp-server
npm install
npm run buildConfiguration
| Variable | Required | Description |
|----------|----------|-------------|
| HOOKBASE_API_KEY | Yes | Your Hookbase API key (starts with whr_) |
| HOOKBASE_ORG_ID | No | Organization ID (only needed if you have multiple orgs) |
| HOOKBASE_API_URL | No | API URL override (default: https://api.hookbase.app) |
The organization is automatically detected from your API key.
Available Tools (52)
Inbound Webhooks
Sources
hookbase_list_sources- List all webhook sourceshookbase_get_source- Get source detailshookbase_create_source- Create new sourcehookbase_update_source- Update source config
Destinations
hookbase_list_destinations- List all destinationshookbase_get_destination- Get destination detailshookbase_create_destination- Create new destinationhookbase_test_destination- Test destination connectivity
Routes
hookbase_list_routes- List all routeshookbase_get_route- Get route detailshookbase_create_route- Create source→destination route
Events
hookbase_list_events- Query events with filtershookbase_get_event- Get event with payload & deliverieshookbase_get_event_debug- Get cURL command to replay event
Deliveries
hookbase_list_deliveries- Query deliverieshookbase_get_delivery- Get delivery details with responsehookbase_replay_delivery- Retry a failed deliveryhookbase_bulk_replay- Retry multiple failed deliveries
Tunnels
hookbase_list_tunnels- List localhost tunnelshookbase_create_tunnel- Create new tunnelhookbase_get_tunnel_status- Check tunnel connection
Cron
hookbase_list_cron_jobs- List scheduled jobshookbase_trigger_cron- Manually trigger a job
Analytics
hookbase_get_analytics- Get dashboard metrics
Outbound Webhooks
Send webhooks to your customers' endpoints with built-in retries, signature verification, and circuit breakers.
Webhook Applications
Applications represent a customer or integration that receives your outbound webhooks.
hookbase_list_applications- List webhook applicationshookbase_get_application- Get application details and statisticshookbase_create_application- Create new applicationhookbase_update_application- Update application config or disablehookbase_delete_application- Delete application (cascades to endpoints)
Webhook Endpoints
Endpoints are the URLs where webhooks are delivered.
hookbase_list_endpoints- List endpoints with filtershookbase_get_endpoint- Get endpoint details with circuit breaker statehookbase_create_endpoint- Create endpoint (returns signing secret)hookbase_update_endpoint- Update endpoint URL or confighookbase_delete_endpoint- Delete endpointhookbase_rotate_endpoint_secret- Rotate signing secret with grace periodhookbase_reset_endpoint_circuit- Reset circuit breaker to closed state
Webhook Subscriptions
Subscriptions connect endpoints to the event types they should receive.
hookbase_list_subscriptions- List subscriptionshookbase_get_subscription- Get subscription detailshookbase_create_subscription- Subscribe endpoint to event typehookbase_update_subscription- Update filter or transformhookbase_delete_subscription- Remove subscription
Event Types
Event types define the kinds of webhooks you can send.
hookbase_list_event_types- List event type definitionshookbase_get_event_type- Get event type with schemahookbase_create_event_type- Create event type (e.g., "order.created")hookbase_update_event_type- Update or deprecate event typehookbase_delete_event_type- Delete event type
Send Events & Track Messages
hookbase_send_event- Send webhook event to subscribed endpointshookbase_list_outbound_messages- List delivery recordshookbase_get_outbound_message- Get message detailshookbase_get_message_attempts- Get delivery attempt historyhookbase_replay_message- Replay failed messagehookbase_get_outbound_stats- Get delivery statistics by status
Example Prompts
Once configured, you can ask Claude things like:
Inbound Webhooks
- "List all my webhook sources"
- "Show me failed deliveries from the last hour"
- "Create a new source for Stripe webhooks"
- "What's my webhook success rate for the last 24 hours?"
- "Replay all failed deliveries for the payment-service destination"
- "Test my Slack notification destination"
- "Create a route from my GitHub source to my CI/CD destination"
Outbound Webhooks
- "Create a webhook application for Acme Corp"
- "Add an endpoint https://acme.com/webhooks to the Acme application"
- "Create an event type called order.created for order events"
- "Subscribe Acme's endpoint to order.created events"
- "Send a test order.created event with this payload: {orderId: '123', total: 99.99}"
- "Show me all failed outbound messages"
- "Replay the failed message to Acme's endpoint"
- "What's the circuit breaker status for Acme's endpoint?"
- "Reset the circuit breaker for endpoint X"
- "Rotate the signing secret for Acme's endpoint with a 2-hour grace period"
- "List all endpoints that have their circuit breaker open"
- "Get delivery statistics for outbound webhooks"
Troubleshooting
"Missing HOOKBASE_API_KEY"
Make sure your API key is set in the env section of your Claude Desktop config.
"Invalid API key"
Check that your API key starts with whr_ and is valid in the Hookbase dashboard.
"Multiple organizations found"
If you belong to multiple organizations, add HOOKBASE_ORG_ID to your env config.
Server not appearing in Claude
- Check the config file path is correct for your OS
- Ensure the JSON is valid (no trailing commas)
- Restart Claude Desktop completely
License
MIT
