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
访问服务器

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

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选