Cursor starts these. They print JSON only. No Clack UI.
mcp uses the CLI host (API when a token exists). See MCP overview.
hook <event> reads JSON on stdin. Events: sessionStart, beforeSubmitPrompt, afterFileEdit, stop, preToolUse.
Cursor starts these. They print JSON only. No Clack UI.
mcp uses the CLI host (API when a token exists). See MCP overview.
hook <event> reads JSON on stdin. Events: sessionStart, beforeSubmitPrompt, afterFileEdit, stop, preToolUse.