hooksense

v0.2.1
io.github.ozers/hooksense Checked 14 hours ago Published 4 months ago

Webhook & callback layer for AI agents: create a URL, wait_for_callback, and verify over MCP.

Values you need

VariableWhat it is
HOOKSENSE_TOKENrequired secret API token from https://hooksense.com/account/tokens
HOOKSENSE_APIoptional Override the API base URL (self-hosted / staging). Defaults to https://hooksense.com

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add hooksense -e 'HOOKSENSE_TOKEN=<HOOKSENSE_TOKEN>' -- npx -y --package=@hooksense/mcp@0.2.1 hooksense-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "hooksense": {
      "args": [
        "-y",
        "--package=@hooksense/mcp@0.2.1",
        "hooksense-mcp"
      ],
      "command": "npx",
      "env": {
        "HOOKSENSE_TOKEN": "<HOOKSENSE_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "hooksense": {
      "args": [
        "-y",
        "--package=@hooksense/mcp@0.2.1",
        "hooksense-mcp"
      ],
      "command": "npx",
      "env": {
        "HOOKSENSE_TOKEN": "<HOOKSENSE_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "HOOKSENSE_TOKEN",
      "id": "hooksense-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "hooksense": {
      "args": [
        "-y",
        "--package=@hooksense/mcp@0.2.1",
        "hooksense-mcp"
      ],
      "command": "npx",
      "env": {
        "HOOKSENSE_TOKEN": "${input:hooksense-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.hooksense]
command = "npx"
args = ["-y", "--package=@hooksense/mcp@0.2.1", "hooksense-mcp"]
env = { "HOOKSENSE_TOKEN" = "<HOOKSENSE_TOKEN>" }

For AI agents

  1. Ask the user for: HOOKSENSE_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_endpoints, create_callback_endpoint, list_callbacks, get_callback_payload, verify_signature, replay_callback, get_endpoint, wait_for_callback.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json