15-Tool MCP & Touch ID Firewall

15-Tool MCP Server & Touch ID Approval Firewall

Connect FleetRunner (com.vohux/fleetrunner) to Claude Code, Cursor, OpenAI Codex, Windsurf, VS Code, and Google Antigravity so agents can inspect and propose background jobs without ever writing raw ~/Library/LaunchAgents/*.plist files.

1. Connect AI Harnesses

FleetRunner ships a zero-dependency JSON-RPC 2.0 stdio MCP server inside /Applications/FleetRunner.app/Contents/MacOS/fleetrunnerctl mcp.

One-Command Plugin Installer

npx -y github:vohux-dev/fleetrunner-plugin

Per-Harness Configuration

  • Claude Code:
    claude mcp add fleetrunner -- /Applications/FleetRunner.app/Contents/MacOS/fleetrunnerctl mcp
    
  • Cursor / Windsurf / Google Antigravity (mcp.json / mcp_config.json):
    {
      "mcpServers": {
        "fleetrunner": {
          "command": "/Applications/FleetRunner.app/Contents/MacOS/fleetrunnerctl",
          "args": ["mcp"]
        }
      }
    }
    
  • OpenAI Codex (~/.codex/config.toml):
    [mcp_servers.fleetrunner]
    command = "/Applications/FleetRunner.app/Contents/MacOS/fleetrunnerctl"
    args = ["mcp"]
    
  • Read-Only Mode: Append "--read-only" to args on untrusted workspaces so only non-mutating inspection tools are exposed.

2. All 15 Stdio MCP Tools

Inspection & Observability (6 tools · --read-only safe)

ToolDescription
healthRead scheduler daemon health, active alerts, Full Disk Access state, governor load, and signed-ledger status.
list_jobsList all managed jobs with enabled state, current phase, next scheduled fire time, and last exit status.
job_statusInspect detailed runtime state, skip reason, crash-loop level, schedule, and log paths for a single job.
tail_logsRead the last N lines (1..500, default 50) of a job's stdout or stderr log with ANSI/control characters safely escaped.
noticesList absorbed plists and native ~/Library/LaunchAgents plists that have not been imported yet.
list_pending_approvalsList unapproved job files waiting for human review, including exact SHA-256 hashes, argv, and dangerous environment flags.

Approved Job Lifecycle Control (5 tools)

ToolDescription
kickstart_jobImmediately start an approved job (pass kill: true to terminate and restart an already-running instance).
run_nowStart an approved job immediately if idle; refuses cleanly if already running.
stop_jobStop the current run of a job without disabling future scheduled runs.
enable_jobEnable an approved job (refuses with nativeLoaded if a native launchd copy of the same label is still loaded).
disable_jobDisable an approved job and stop any currently running instance.

Agent Proposal & Touch ID Firewall (4 tools)

ToolDescription
propose_jobCreate a new disabled, unapproved job definition instead of writing a raw LaunchAgent plist. Bind secrets by Keychain account name via envKeychain.
import_plistImport a native launchd plist into FleetRunner as a disabled, unapproved job (pass dryRun: true to preview).
edit_scheduleUpdate a job's schedule (--every, --calendar, --continuous, --off, --on); marks the modified file unapproved until re-signed.
request_owner_approvalPrompt the macOS owner via Touch ID (LAContext OwnerPresence) or login password to review and sign an unapproved job file at its exact SHA-256 digest.

3. Touch ID OwnerPresence Workflow

  1. Agent Proposes: Your coding agent calls propose_job (or import_plist / edit_schedule). FleetRunner writes the job definition disabled and unsigned; it never touches ~/Library/LaunchAgents.
  2. Owner Reviews Exact Bytes: Calling request_owner_approval opens the native FleetRunner Approver sheet showing:
    • The full SHA-256 digest of the job definition
    • Every executable argument on its own quoted line
    • Working directory and stdout/stderr log paths
    • envKeychain account bindings and prominent DANGEROUS badges on dynamic-loader variables (DYLD_INSERT_LIBRARIES, LD_PRELOAD, PATH overrides)
  3. Ed25519 Ledger Signature: Authenticating with Touch ID signs the SHA-256 entry into your Ed25519 ledger. Any subsequent out-of-band modification invalidates the hash and blocks execution with exit code 25.