Skip to main content

Block Prompts from Hooks and Use Skills from MCP Servers

3.7.0

This release lets a UserPromptSubmit Hook stop a prompt before it reaches the model and adds skills that your MCP servers serve. It also brings sandbox file modes and organization settings to /sandbox, lets supporting terminals reopen your conversation after a restart, and stops work left running when you leave a session.

Stop a prompt from a hook before it reaches the model

In a V3 session, a UserPromptSubmit Hook can reject a prompt. Print {"decision":"block"} to standard output and exit with code 0, or exit with code 2. Kiro does not send the prompt to the model, and the Hook output shows why. Any other exit code still sends the prompt. Use it to block prompts based on their content. Learn more ->

Use skills from your MCP servers

In Kiro CLI, an MCP server that serves skills through the MCP Skills extension adds them to the catalog next to your local skills. Load one by its namespaced handle, such as mcp/docs::pdf-forms, where docs is the server name in your MCP configuration. Kiro asks before it loads a server's skill, and a local skill with the same handle wins, so a server cannot replace a skill you wrote. Learn more ->