A local code review tool for AI-generated changes. Review diffs in the browser, comment on specific lines, and let your AI agent explain code and apply revisions — all before the work reaches formal review.
Preflight calls no LLM APIs. It exposes an MCP server that your existing AI agent (Claude Code, Codex, OpenCode, etc.) connects to, so the agent can participate in review conversations directly.
You (browser) <-> Preflight <-> MCP <-> Your AI Agent
macOS (Homebrew):
brew install winstanley-industries/preflight/preflight
Linux: Download a binary from GitHub Releases.
From source:
cargo build --release -p preflight-server
# Start the server (default port 3000)
preflight serve
# Start on a different port
preflight serve --port 8080
# Discard existing state and start fresh
preflight serve --fresh
Then open http://127.0.0.1:3000 in your browser.
The MCP server connects to a running preflight web server (default port 3000).
Via plugin (recommended):
claude plugin marketplace add winstanley-industries/preflight
claude plugin install -s user preflight@preflight
Via MCP manually:
claude mcp add --scope user --transport stdio preflight -- preflight mcp
Or add to .mcp.json:
{
"mcpServers": {
"preflight": {
"command": "preflight",
"args": ["mcp"]
}
}
}
Add to ~/.codex/config.toml (or .codex/config.toml in your project):
[mcp_servers.preflight]
command = "preflight"
args = ["mcp"]
Add to opencode.json:
{
"mcp": {
"preflight": {
"type": "local",
"command": ["preflight", "mcp"]
}
}
}
To use a non-default port, append "--port", "8080" to the args/command for any of the above.
Once configured, ask your AI agent to create a review:
"Send my changes to preflight for review"
"Create a preflight review"
The agent will create a review via MCP. Open the preflight UI to review diffs, leave comments, and ask questions. The agent can respond to your comments and submit revisions.
Tip: Ask your agent to monitor the review in the background so it responds to your comments automatically.
The plugin registers the MCP server and adds a /preflight:review slash command. Install it once and every Claude Code session will know how to participate in reviews without additional configuration.
claude plugin marketplace add winstanley-industries/preflight
claude plugin install -s user preflight@preflight
Running /preflight:review in Claude Code will:
preflight serve [OPTIONS] Start the web server (default command)
--port <PORT> Port to listen on [default: 3000]
--fresh Discard existing state and start fresh
preflight mcp [OPTIONS] Start the MCP stdio server
--port <PORT> Port of the running web server [default: 3000]
Rust (Axum) backend, Svelte 5 frontend, bundled into one binary via rust-embed.
Apache-2.0
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub winstanley-industries/preflight --plugin preflightNative diff review window (Monaco + Glimpse) for AI coding agents. Browse changes since the merge-base with your base branch (or last commit / uncommitted), leave inline + file-level + overall comments on the slop, and have the agent address each item.
Terminal-based code review companion for Claude Code. Review diffs, leave structured feedback, and submit reviews — all from a TUI running alongside Claude.
pair-review app integration — Open PRs and local changes in the pair-review web UI, run server-side AI analysis, and address review feedback. Requires the pair-review MCP server.
Perform AI code review on Git diffs — supports workspace changes, branch ranges, and single commits with concurrent per-file analysis, codebase search, and deep context-aware review.
Codex, Gemini, Claude の3つの AI に並列でコードレビューを依頼し、統合レポートを生成する
AST-based smart context code review engine for Claude Code