break_it tool on the Breakscale MCP server. All three run the same search, so the same design, goal and options give the same answer everywhere.
verify()
verify lives in src/sim/verify.ts. It takes a design, a goal and options, and returns a verdict. There is no wall clock in it: budgets count fault schedules and simulated seconds, so the answer does not depend on how fast the machine is.
- Clone the repository and run
bun install. You need Bun. - Save a script like this in the repository root as
check.ts:
- Run
bun check.ts.
Goals
The verdict
Useful options are
budget (schedules to try), maxFaults (1 to 3), kinds (which faults to use), protect (parts to leave alone), includeSinglePoints and seed. verifySteps is the same search as a generator, one simulated second per step, if you want progress.
The break_it MCP tool
If your assistant is connected to the Breakscale MCP server, ask it to try to break a design. Thebreak_it tool takes the same design as create_view plus a goal, and answers in words, with a breakscale.tech link that replays the break.
Things to ask:
- “Try to break this design. The goal is fewer than 1% of requests failing.”
- “Mark Payments as chargeable and check that no payment is charged twice.”
- “Can a crash lose an order this database said it saved?”
doubleCharges, lostAckedWrites and staleReads, it also names the first request that broke the rule and tells its story step by step.
A call tries at most 200 schedules when the server runs on your own machine, and 40 on the hosted server at https://mcp.breakscale.tech/mcp. By default it does not crash, fail or cut a part that every request passes through, except for the correctness goals; set includeSinglePoints to include them.
Designs sent over MCP can also carry faults, seed and a lossRate on each connection, so an assistant can build a run that replays exactly. Setup for each assistant is in the MCP guide.