Official Model Context Protocol server for Nahook webhooks

Official Model Context Protocol server for Nahook webhooks

nahook-mcp•bygetnahook

Ships as a subcommand of the nahook CLI, it lets MCP-compatible AI assistants inspect and retry webhook deliveries, trigger events, send webhooks to a single endpoint, and manage endpoints without deleting them.

License: MIT•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Exposes tools to list, fetch, and create endpoints and list environments, plus retry failed or dead-lettered deliveries and send webhooks directly to one endpoint.
  • •Fences producer- and receiver-authored webhook content in untrusted-content delimiters and caps payloads over 256 KB so hostile data cannot inject instructions or flood the model context.
  • •Tags write operations with destructiveHint and readOnlyHint annotations and omits endpoint signing secrets and auth tokens from every tool output.
  • •Uses a CLI login token for read and management tools and a separate ingestion key for sending operations, evaluated per request against the workspace role.

BEST FOR

  • •Debugging failed webhook deliveries by inspecting per-attempt logs and retrying dead-lettered deliveries from an AI assistant.
  • •Firing events from a conversation so the backend fans them out to every subscribed endpoint, or sending a webhook to a single endpoint.
  • •Managing endpoint lifecycle such as creation, pause/resume, URL and description updates without any delete capability.

ABOUT NAHOOK-MCP

Official Model Context Protocol server for Nahook webhooks is cataloged as an MCP server attributed to getnahook. Ships as a subcommand of the nahook CLI, it lets MCP-compatible AI assistants inspect and retry webhook deliveries, trigger events, send webhooks to a single endpoint, and manage endpoints without deleting them. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Official Model Context Protocol server for Nahook webhooks are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Can the server delete endpoints or other data?

No. The tool surface deliberately has no delete tools, and update_endpoint is marked destructive because it overwrites live endpoint config.

Where is the MCP server implementation maintained?

It lives in the nahook CLI source tree, and this repository serves as a discoverability surface for README, MCP directory entries, and packaging metadata.

上游原版 README

在 GitHub 查看同一版本原文

README.md · b95acf0b5df2 · 采集于 2026-11-13 11:44:39 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

nahook-mcp

The official Model Context Protocol server for Nahook — drive webhook deliveries, endpoints, and event triggers from Claude Desktop, Cursor, Cline, and any other MCP-compatible AI assistant.

The MCP server ships as a subcommand of the nahook CLI. One binary, one credentials file, one install path.

Glama

What it does

Once installed and authenticated, your AI assistant can:

  • Inspect endpoints, deliveries, and per-attempt logs to debug failed webhooks.
  • Retry failed or dead-lettered deliveries.
  • Trigger events and fan them out to every subscribed endpoint.
  • Send webhooks directly to a single endpoint.
  • Manage endpoints (create, update, pause, resume) — never delete, by design.

Write operations are tagged with the MCP destructiveHint/readOnlyHint annotations so MCP clients surface a per-call human-approval prompt before anything mutates state.

Security guardrails

Webhook payloads are third-party data, so the server treats everything that flows back into the model's context as a potential prompt-injection channel:

  • Untrusted content is fenced. Every producer- or receiver-authored value that reaches the model — webhook payloads (get_delivery with include_payload), delivery idempotency keys, and receiver error messages (list_attempts) — is wrapped in explicit <<<UNTRUSTED CONTENT ...>>> delimiters with embedded fence markers neutralized, and the server instructions tell the model to treat fenced content as inert data, never as instructions.
  • Payloads are capped. Bodies over 256 KB are truncated (flagged via payload_truncated) so a hostile producer can't stuff the model's context. Tune the cap with NAHOOK_MCP_PAYLOAD_CAP=<bytes> in the MCP client's environment.
  • No delete tools, by design. Nothing in the tool surface can destroy data.
  • update_endpoint is marked destructive. It overwrites live endpoint config (repointing its URL is the primitive an injection would target), so its destructiveHint is true and clients surface a prominent approval prompt.
  • Write tools rely on human approval. Per the MCP spec, annotations are advisory hints, not access control — the security boundary is the client's per-call approval prompt, which applies to every non-read tool. The additive write tools (create_endpoint, send_to_endpoint, trigger_event) are annotated destructiveHint: false per their spec semantics; keep human-in-the-loop approval enabled in your MCP client and don't blanket-allow them. If you want a hard guarantee of no writes, run the server without an ingestion key (disables sending) and treat management tools as approval-gated.
  • Secrets never reach the model. Endpoint signing secrets and auth tokens are omitted from every tool output; whoami returns only the token's public id.
  • Split credentials. Sending (trigger_event, send_to_endpoint) requires a separate ingestion key — omit it and the server is management/read-only for ingestion.

Client-side measures can't make prompt injection impossible — pair them with your MCP client's tool-approval prompts.

Install

The MCP server is a subcommand of the nahook CLI. Install the CLI, then add it to your AI client.

1. Install the CLI

macOS / Linux (Homebrew):

brew install getnahook/tap/nahook

Linux / macOS (install script):

curl -fsSL https://cli.nahook.com/install.sh | sh

See getnahook/nahook-cli for other install options.

2. Log in once

nahook login

This opens your browser, walks you through device-grant authentication, and writes credentials to ~/.nahook/config.toml.

3. Wire the MCP server into your AI client

Claude Desktop & Claude Code CLI:

claude mcp add nahook -- nahook mcp serve

Cursor — edit ~/.cursor/mcp.json:

{
  "mcpServers": {
    "nahook": {
      "command": "nahook",
      "args": ["mcp", "serve"]
    }
  }
}

Cline (VS Code) — Cline → Settings → MCP Servers → add:

{
  "nahook": {
    "command": "nahook",
    "args": ["mcp", "serve"]
  }
}

Zed — add to settings.json:

{
  "assistant": {
    "mcp_servers": {
      "nahook": {
        "command": "nahook",
        "args": ["mcp", "serve"]
      }
    }
  }
}

Other MCP-compatible clients (Continue, Windsurf, Goose, …) follow the same command + args shape.

Tools

ToolWhat it does
whoamiLocal config sanity check — workspace, region, token id, expiry.
list_endpointsList every endpoint in the current workspace.
get_endpointFetch one endpoint by ep_xxx.
create_endpointCreate a new endpoint. Defaults to the workspace's default environment; also accepts slugs like production.
update_endpointPartial patch — pause/resume, change URL, update description.
list_environmentsList every environment in the workspace.
list_deliveriesPage through an endpoint's deliveries, newest-first.
get_deliveryFetch one delivery by del_xxx. Pass include_payload: true to also fetch the original webhook body — critical for debugging.
list_attemptsList every attempt against a delivery (useful for debugging failures).
retry_deliveryRe-enqueue a failed or dead-lettered delivery.
trigger_eventFire an event by type — the backend fans it out to every subscriber.
send_to_endpointSend a webhook directly to one endpoint.

Authentication model

The MCP server uses two separate credentials:

  • CLI login token (nhc_…) — written by nahook login. Powers read tools and management operations on endpoints / deliveries / environments.
  • Ingestion key (nhk_…) — the same key your SDKs use. Powers trigger_event and send_to_endpoint. Set it via NAHOOK_INGESTION_KEY=nhk_... in the MCP client's environment, or add ingestion_key = "nhk_..." to ~/.nahook/config.toml. The server fails loudly if a write tool is called without one configured.

Permissions are evaluated per request against your workspace role — the MCP token has exactly the permissions you have in the dashboard, nothing more.

Where the code lives

The MCP server implementation is part of the nahook CLI source tree. This repo exists as a discoverability surface — README, MCP directory entries, and packaging metadata. There is no separate codebase to maintain.

If you want to file a bug, request a tool, or contribute: please open the issue at getnahook/nahook-cli.

License

MIT — same as the CLI.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Official Model Context Protocol server for Nahook webhooks from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/nahook-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools