zhook-mcp-server

zhook-mcp-server

Create Hooks: Create new webhooks or MQTTHOOKS directly from your agent. List Hooks: Retrieve a list of your configured webhooks. Inspect Events: View

Category
Visit Server

README

@zhook/mcp-server

The official Model Context Protocol (MCP) server for zhook, enabling AI agents to interact with your Zhook webhooks, events, and metrics.

Features

  • Create Hooks: Create new webhooks or MQTT hooks directly from your agent.
  • List Hooks: Retrieve a list of your configured webhooks.
  • Inspect Events: View recent events for a specific hook.
  • Wait for Event: Pause execution and wait for a specific event to occur.
  • Metrics: Access detailed metrics about your webhook performance.

Installation

You can run this server using npx or install it globally.

Using npx (Recommended for Claude Desktop)

Add the following to your MCP configuration (e.g., claude_desktop_config.json):

{
  "mcpServers": {
    "zhook": {
      "command": "npx",
      "args": [
        "-y",
        "@zhook/mcp-server"
      ],
      "env": {
        "ZHOOK_API_KEY": "your_api_key_here"
      }
    }
  }
}

Manual Installation

npm install -g @zhook/mcp-server

Then run it:

zhook-mcp

Configuration

The server requires a Zhook API key to authenticate requests. You can obtain this key from your Zhook dashboard in the user settings page.

Environment Variable Description Required
ZHOOK_API_KEY Your Zhook API Key Yes

Tools

Hooks

  • zhook_list_hooks: List all webhooks configured in the Zhook account.
  • zhook_get_hook: Get detailed configuration for a specific webhook.
  • zhook_create_hook: Create a new webhook or MQTT hook.
  • zhook_trigger_webhook: Send a test webhook event to a specific Hook.

Events

  • zhook_list_events: List recent events received by a specific hook.
  • zhook_get_event: Get the full JSON payload and details of a specific event.
  • zhook_wait_for_event: Connects to the Zhook WebSocket and waits for the NEXT event to arrive.

Destinations

  • zhook_list_destinations: List all destinations configured for a specific webhook.
  • zhook_get_destination: Get detailed configuration for a specific destination.
  • zhook_create_destination: Add a new destination to a hook.
  • zhook_update_destination: Update an existing destination's configuration.
  • zhook_delete_destination: Remove a destination from a hook.

Transformations

  • zhook_list_transformations: List all transformations configured for a specific webhook.
  • zhook_create_transformation: Create a new JSONata transformation for a hook.
  • zhook_update_transformation: Update an existing transformation.
  • zhook_delete_transformation: Delete a transformation from a hook.

Metrics

  • zhook_get_hook_metrics: Get real-time metrics (request counts, success/failure rates).
  • zhook_get_aggregated_hook_metrics: Get historical aggregated metrics with custom date ranges.

Usage in Editors & Tools

VSCode

  1. Open the Command Palette (Ctrl+Shift+P).
  2. Type and select "MCP Servers" (or configured extension command).
  3. Add the server configuration as shown above.

Antigravity (Agent)

  1. Click the "..." (More Options) menu in the top-right toolbar.
  2. Select "MCP Servers" and then "Manage MCP Servers".
  3. Add the server configuration (Name: zhook, Command: npx, Args: -y @zhook/mcp-server, Env: ZHOOK_API_KEY=...).

License

ISC

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured