SessionStart
01Hook Claude Code
Runs when a session starts, running an inline shell check. From Thammasok/sample-mcp-and-hook.
Hook Claude Code
Runs when a session starts, running an inline shell check. From Thammasok/sample-mcp-and-hook.
Hook Claude Code
Runs when the agent finishes a response, executing ai-hook.sh via bash. From Thammasok/sample-mcp-and-hook.
Hook Claude Code
Runs when you submit a prompt, before the agent sees it, running an inline shell check. From Thammasok/sample-mcp-and-hook.
Settings file Claude Code
Agent settings declaring 3 hook events (SessionStart, Stop, UserPromptSubmit).
MCP server Claude CodeCodexCursor +2
MCP server "sample-mcp" as configured in Thammasok/sample-mcp-and-hook. Runs dist/main.js with node.