This is a Claude Code plugin that bridges Hookdeck webhooks into Claude Code sessions via channels.
Use Bun. bun run index.ts to start, bun install for dependencies.
.claude-plugin/plugin.json— plugin manifest (name, version, metadata).mcp.json— MCP server config using${CLAUDE_PLUGIN_ROOT}for pathshooks/hooks.json— SessionStart hook installs deps into${CLAUDE_PLUGIN_DATA}index.ts— single-file MCP server + HTTP listener
- stdout is reserved for MCP stdio — all logging uses
console.error - Plugins are copied to
~/.claude/plugins/cache, so all paths must use${CLAUDE_PLUGIN_ROOT} - Dependencies install to
${CLAUDE_PLUGIN_DATA}/node_modulesvia the SessionStart hook
@modelcontextprotocol/sdk— MCP protocol SDK@hookdeck/sdk— Hookdeck API clientzod— schema validation (comes with MCP SDK)