Skip to main content
Glama
teamzhook

zhook-mcp-server

by teamzhook

wait_for_event

Waits for the next event on a specific Zhook WebSocket connection and returns the full payload immediately, with a 60-second timeout.

Instructions

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hookIdYesThe hook ID to watch
timeoutSecondsNoHow long to wait before giving up

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/teamzhook/zhook-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server