Skip to main content

TryBrake for Cursor

Let Cursor work. Check what it runs.

TryBrake hooks into Cursor and checks each terminal command and each MCP tool call before it runs. Dangerous ones are blocked, sensitive ones wait for you, and everything is logged.

The same install works for Claude Code, Codex CLI and Gemini CLI.

How it works

Set up in three steps.

  1. 1

    Copy the install text

    In TryBrake, create an agent for Cursor. You get a short text to paste.

  2. 2

    Paste it into Cursor

    Cursor runs a one-time installer that adds TryBrake's hook to your project's .cursor/hooks.json, keeping a backup of the old file.

  3. 3

    Code as usual

    Each command and MCP call is checked against your rules in a fraction of a second. You see everything in the dashboard.

What it stops

The mistakes you can't undo.

  • Folder and disk wipes

    rm -rf and its variants are recognised however they're written.

  • Database wipes

    DROP TABLE, DROP DATABASE and TRUNCATE can be blocked.

  • Risky git

    Force pushes and history rewrites can wait for your approval.

  • MCP tool calls

    Each MCP tool can have its own rule: block a delete tool, or hold one that sends messages.

Questions

Good to know.

Does it slow Cursor down?

Barely. Each check is a single quick request.

What if TryBrake is unreachable?

The command is blocked and the agent is told why. Nothing runs without a check.

Can I remove it?

Yes. It's a few lines in .cursor/hooks.json, and the installer keeps a backup of your settings.

Works with more than Cursor.

One TryBrake account protects every agent you run, wherever it's built.

See all integrations

Protect your Cursor agents today.

Connect your first agent in five minutes. 14 days free, no credit card.