Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ZHOOK_API_KEY | Yes | Your Zhook API Key |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| trigger_webhook | Send a test webhook event to a specific Hook. This mimics a real third-party service sending data to the hook URL. |
| list_hooks | List all webhooks configured in the Zhook account. Returns hook IDs, URLs, and active status. |
| create_hook | Create a new webhook or MQTT hook. Returns the new hook ID and its public URL. |
| get_hook | Get detailed configuration for a specific webhook, including delivery URL, metadata, and recent metrics. |
| list_destinations | List all destinations configured for a specific webhook. |
| create_destination | Add a new destination to a hook to forward events to. |
| get_destination | Get detailed configuration for a specific destination. |
| update_destination | Update an existing destination's configuration. |
| delete_destination | Remove a destination from a hook. |
| list_transformations | List all transformations configured for a specific webhook. |
| create_transformation | Create a new JSONata transformation for a hook. |
| update_transformation | Update an existing transformation. |
| delete_transformation | Delete a transformation from a hook. |
| get_hook_metrics | Get real-time metrics for a specific hook (request counts, success/failure rates). |
| get_aggregated_hook_metrics | Get historical aggregated metrics for a specific hook with custom date ranges. |
| list_events | List recent events received by a specific hook. Useful for checking what payloads have been delivered. |
| get_event | Get the full JSON payload and details of a specific event. |
| wait_for_event | Connects to the Zhook WebSocket and waits for the NEXT event to arrive on a specific hook. Returns the full event payload immediately. TIMEOUT is 60 seconds. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |