mayrun

Policy gate for agent side effects

mayrun

Agents don’t run dangerous commands until mayrun says they may.

mayrun check · run
  1. $ mayrun check 'rm -rf /' Deny dangerous-defaults · rm-rf
  2. $ mayrun run 'git push' Require approval git-safe · push
  3. $ mayrun run 'cargo test' Allow rust-dev · cargo

How it works

Local-first choke point on the write path — MCP or CLI — not another dashboard that watches after the damage.

Install

Single Rust binary. Works with Cursor and any MCP stdio host.

From source
cargo install --git https://github.com/kiket-dev/mayrun --locked
Init + smoke
mayrun init
mayrun check 'rm -rf /'      # Deny
mayrun run 'git status'      # Allow → execute
Cursor MCP
{
  "mcpServers": {
    "mayrun": {
      "command": "mayrun",
      "args": ["mcp"]
    }
  }
}

Full policy language and packs: docs/policy.md · docs/install.md

Free now

Local MCP, CLI, packs, and receipts are free. Paid CI gate that fails PRs on policy violations comes next — pricing here when it ships.