Hooks and MCP

Configure project automation and the external tools available to your agents.

Agent Hooks

Open Agent Hooks to configure Rift Panel lifecycle automation. Hooks are stored in <project>/.riftpanel/hooks.json. Supported events include task completion, task failure, file save, approval needed, run completion, and spec approval.

Each hook can run a shell command, show a notification, or send a prompt into a session. An optional regular-expression matcher filters the event subject. Enable the hooks you want and review their commands and destination sessions.

Claude Hooks

The separate Claude Hooks panel edits Claude’s own settings hooks. Use that panel for Claude-specific lifecycle behavior. Agent Hooks configure Rift Panel events in the project’s .riftpanel directory.

MCP Servers

Open MCP Servers for project server configuration. Configure the server command and arguments required by your tool. The agent CLI consumes that configuration and manages its server connection. Install the server’s dependencies and supply its required credentials through your normal local setup.