# Hookwarden MCP server

> Audits webhook handler code for signature verification integrity and verifies offline evidence pack hash chains.

- Repository: https://github.com/Hookwarden/hookwarden
- Page: https://hostedmcp.org/servers/hookwarden/mcp
- Transport: stdio
- Stars: 1
- License: Apache-2.0
- Latest version: 0.9.5

## Install

### Claude Code

```sh
claude mcp add mcp -- npx -y @hookwarden/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hookwarden/mcp"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@hookwarden/mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"mcp","type":"stdio","command":"npx","args":["-y","@hookwarden/mcp"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hookwarden/mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add mcp -- npx -y @hookwarden/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "@hookwarden/mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user mcp npx -- -y @hookwarden/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@hookwarden/mcp"
      ]
    }
  }
}
```

## Tools (2)

- `scan_handler`: Scan webhook handler code for signature-verification bugs using hookwarden's deterministic AST rules. Supports JavaScript, TypeScript, Python, PHP, and Go.
- `verify_audit_chain`: Verify a hookwarden evidence pack's hash chain + KMS-signed Merkle roots offline (no network, no auth).

## FAQ

### What does the scan_handler tool do?

It scans pasted webhook handler code to provide a structured verdict (verified, not-verified, or manual-review) for 27 different providers including Stripe and GitHub.

### Does this server require an internet connection to work?

No, the server runs entirely client-side with zero network egress and zero outbound TCP, allowing for offline verification of audit chains.
