Free · no account · works offline

Stop AI agents from taking down your server

Install

First the Muster CLI, which needs Node 20 or later and no administrator rights:

macOS and Linux
curl -fsSL https://muster.thebotss.com/cli.sh | sh
Windows (PowerShell)
irm https://muster.thebotss.com/cli.ps1 | iex

Then add the guard to your agent. It merges into your settings, keeps the original as a .bak, and is safe to run twice.

Claude Code (every project)
muster guard install --claude
Cursor (every project)
muster guard install --cursor

Add --project to install for the current folder only. Check it is working — this should say DENY and exit with status 2:

Try it
muster guard check "pm2 kill"

To take it out again, removing only its own entry:

Remove
muster guard uninstall --claude

What it refuses

These act on everything on the machine, or cannot be undone. The agent is told no, and given the narrower command to use instead. If it really is what you want, run it yourself in your own terminal.

CommandWhy
pm2 killStops the PM2 daemon and every app on it, not just yours.
pm2 restart allRestarts every app under PM2. The same goes for stop all, delete all and reload all.
pm2 save --forceCan write an empty process list over the one PM2 restores at boot.
pm2 resurrectReplaces what is running with the last saved list, which may be stale or empty.
fuser -k 3000/tcpKills whatever holds the port without saying what it is.
kill $(lsof -t -i:3000)The same thing, spelled differently.
pkill -f nodeEvery Node process on the machine is somebody's app.
kill -9 -1Signals every process the user can reach.
sudo systemctl restart nginxEvery site on the box goes through it. Reload instead.
docker system prune -afDeletes other apps' stopped containers and images, and their data with --volumes.
docker rm -f $(docker ps -aq)Removes every container on the machine.
rm -rf /varAlso /, ~, $HOME, /etc, /home, /opt, /srv, and --no-preserve-root anywhere.
iptables -FDeletes every firewall rule. So does ufw disable.
psql -c "DROP DATABASE prod"DROP DATABASE / SCHEMA / TABLE through psql or mysql -e.
git push --force origin mainRewrites shared history on main or master.
terraform destroyDeletes everything in the state.
kubectl delete ns productionA namespace takes everything in it along.

What it asks you about

These act on one named thing and lose something. They are often exactly right, so you decide.

CommandWhy
pm2 saveAny app that is stopped right now stays stopped after the next reboot. Check pm2 ls first.
pm2 delete apiOne named app, but it will not come back by itself.
git reset --hardThrows away uncommitted work.
rm -rf ./distOften exactly right. A person should still see it.
sudo systemctl restart myappYour own service: fine, once someone has looked.
rebootTakes every app down until the machine is back.
npm publishPublic, and cannot be quietly undone.

How it reads a command

It parses the command the way a shell would, so it is not fooled in either direction. Wrapping a command does not hide it:

CommandWhy
ssh ubuntu@prod 'pm2 kill && pm2 save'The remote command is read too — that is how a command reaches a server.
sudo bash -c 'pm2 restart all'sudo, env, nohup, bash -c, sh -c, eval, $(...) and backticks are all read through.

And mentioning a command is not running it:

CommandWhy
pm2 restart apiRestarting your own app by name is the narrow version of all of the above.
git commit -m "never run pm2 kill"Text that mentions a command is not the command.
grep -rn "rm -rf" docs/Searching for it is not running it.

For agents: a read-only MCP server

muster mcp gives Claude Code, Cursor or any MCP client a way to ask Muster before acting: check_command (the guard, as a tool), and — with a Muster API token — list_apps, app_readiness and is_safe_to_deploy, which answers yes only when every check on the real server was verified, and “unknown” when any was not. None of its tools runs a command, writes a file or touches a server.

Claude Code (prints the exact claude mcp add command)
muster mcp install --claude
Cursor
muster mcp install --cursor

What it does not do

Part of Muster

The guard is the free part. Muster checks a deploy against the real server — the database is reachable, the environment is complete, migrations are applied, backups restore — and refuses to send traffic until every one of those holds.

Start freeHow Muster works