hookdeck-cli 1.9.0 → 1.10.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +66 -0
- package/binaries/darwin-amd64/hookdeck +0 -0
- package/binaries/darwin-arm64/hookdeck +0 -0
- package/binaries/linux-amd64/hookdeck +0 -0
- package/binaries/linux-arm64/hookdeck +0 -0
- package/binaries/win32-386/hookdeck.exe +0 -0
- package/binaries/win32-amd64/hookdeck.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,12 +8,49 @@ Using the Hookdeck CLI, you can forward your events (e.g. webhooks) to your loca
|
|
|
8
8
|
|
|
9
9
|
Hookdeck CLI is compatible with most of Hookdeck's features, such as filtering and fan-out delivery. You can use Hookdeck CLI to develop or test your event (e.g. webhook) integration code locally.
|
|
10
10
|
|
|
11
|
+
You can also manage Hookdeck Event Gateway resources—sources, destinations, connections, events, transformations—from the CLI. For AI and agent workflows, the Event Gateway MCP server (`hookdeck gateway mcp`) exposes these capabilities as tools in MCP-compatible clients (e.g. Cursor, Claude).
|
|
12
|
+
|
|
11
13
|
Although it uses a different approach and philosophy, it's a replacement for ngrok and alternative HTTP tunnel solutions.
|
|
12
14
|
|
|
13
15
|
Hookdeck for development is completely free, and we monetize the platform with our production offering.
|
|
14
16
|
|
|
15
17
|
For a complete reference of all commands and flags, see [REFERENCE.md](REFERENCE.md).
|
|
16
18
|
|
|
19
|
+
## Table of contents
|
|
20
|
+
|
|
21
|
+
- [Installation](#installation)
|
|
22
|
+
- [NPM](#npm)
|
|
23
|
+
- [macOS](#macos)
|
|
24
|
+
- [Windows](#windows)
|
|
25
|
+
- [Linux Or without package managers](#linux-or-without-package-managers)
|
|
26
|
+
- [Docker](#docker)
|
|
27
|
+
- [Usage](#usage)
|
|
28
|
+
- [Commands](#commands)
|
|
29
|
+
- [Login](#login)
|
|
30
|
+
- [Listen](#listen)
|
|
31
|
+
- [Logout](#logout)
|
|
32
|
+
- [Skip SSL validation](#skip-ssl-validation)
|
|
33
|
+
- [Disable health checks](#disable-health-checks)
|
|
34
|
+
- [Version](#version)
|
|
35
|
+
- [Completion](#completion)
|
|
36
|
+
- [Running in CI](#running-in-ci)
|
|
37
|
+
- [Event Gateway](#event-gateway)
|
|
38
|
+
- [Event Gateway MCP](#event-gateway-mcp)
|
|
39
|
+
- [Manage connections](#manage-connections)
|
|
40
|
+
- [Transformations](#transformations)
|
|
41
|
+
- [Requests, events, and attempts](#requests-events-and-attempts)
|
|
42
|
+
- [Manage active project](#manage-active-project)
|
|
43
|
+
- [Configuration files](#configuration-files)
|
|
44
|
+
- [Global Flags](#global-flags)
|
|
45
|
+
- [Troubleshooting](#troubleshooting)
|
|
46
|
+
- [Developing](#developing)
|
|
47
|
+
- [Testing](#testing)
|
|
48
|
+
- [Releasing](#releasing)
|
|
49
|
+
- [Repository Setup](#repository-setup)
|
|
50
|
+
- [License](#license)
|
|
51
|
+
|
|
52
|
+
**Quick links:** [Local development (Listen)](#listen) · [Resource management (CLI)](#event-gateway) / [Manage connections](#manage-connections) · [AI / agent integration (Event Gateway MCP)](#event-gateway-mcp)
|
|
53
|
+
|
|
17
54
|
https://github.com/user-attachments/assets/7a333c5b-e4cb-45bb-8570-29fafd137bd2
|
|
18
55
|
|
|
19
56
|
|
|
@@ -491,6 +528,35 @@ hookdeck gateway transformation run --code "addHandler(\"transform\", (request,
|
|
|
491
528
|
|
|
492
529
|
For complete command and flag reference, see [REFERENCE.md](REFERENCE.md).
|
|
493
530
|
|
|
531
|
+
### Event Gateway MCP
|
|
532
|
+
|
|
533
|
+
The CLI includes an [MCP](https://modelcontextprotocol.io/) (Model Context Protocol) server that exposes Hookdeck Event Gateway as tools for AI and agent workflows. Use it in MCP-compatible clients (e.g. Cursor, Claude) to list and inspect connections, sources, destinations, events, requests, attempts, issues, and metrics, and to run login from the host.
|
|
534
|
+
|
|
535
|
+
**Run the server (stdio):**
|
|
536
|
+
|
|
537
|
+
```sh
|
|
538
|
+
hookdeck gateway mcp
|
|
539
|
+
```
|
|
540
|
+
|
|
541
|
+
The server is intended to be configured as an MCP server in your client; it reads and writes JSON-RPC over stdin/stdout. Configure your client to run the above command as the server process.
|
|
542
|
+
|
|
543
|
+
**Example: Cursor MCP config**
|
|
544
|
+
|
|
545
|
+
Add to your Cursor MCP settings (e.g. `~/.cursor/mcp.json` or project-level config):
|
|
546
|
+
|
|
547
|
+
```json
|
|
548
|
+
{
|
|
549
|
+
"mcpServers": {
|
|
550
|
+
"hookdeck": {
|
|
551
|
+
"command": "hookdeck",
|
|
552
|
+
"args": ["gateway", "mcp"]
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
```
|
|
557
|
+
|
|
558
|
+
After configuration, the host can use tools such as `hookdeck_connections_list`, `hookdeck_events_list`, and `hookdeck_login` (when unauthenticated). For the full tool reference, see [REFERENCE.md](REFERENCE.md) or run `hookdeck gateway mcp --help`.
|
|
559
|
+
|
|
494
560
|
### Manage connections
|
|
495
561
|
|
|
496
562
|
Create and manage webhook connections between sources and destinations with inline resource creation, authentication, processing rules, and lifecycle management. Use `hookdeck gateway connection` (or the backward-compatible alias `hookdeck connection`). For detailed examples with authentication, filters, retry rules, and rate limiting, see the complete [connection management](#manage-connections) section below.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|