CLI for setting up and managing local-pr-reviewer
npm install local-pr-reviewerCLI for setting up and managing local-pr-reviewer - a local PR review tool for AI coding agents.
``bash`
npx local-pr-reviewer setup
Install and configure local-pr-reviewer globally.
`bash`
npx local-pr-reviewer setup
This will:
- Install the review server to ~/.config/local-pr-reviewer/
- Configure MCP tools for Claude Code and/or OpenCode
- Optionally setup AI features
- Install the skill via Vercel Skills
Start the review server.
`bash`
npx local-pr-reviewer start
Returns the URL to the review interface. If already running, returns the existing URL.
Stop the running review server.
`bash`
npx local-pr-reviewer stop
Configure MCP for additional coding agents.
`bash`
npx local-pr-reviewer setup-mcp
After setup, these tools are available in your coding agent:
- start_review_server - Start the web server and get URLget_server_status
- - Check if server is runningcheck_pr_comments
- - Fetch pending review commentsmark_comment_resolved
- - Mark a comment as resolvedlist_pending_comments
- - List all pending commentsget_comment_details
- - Get details of a specific comment
Configuration is stored in ~/.config/local-pr-reviewer/:
- server.json - Running server info (port, PID)version.json
- - Installed versionpreferences.json
- - User preferences.env` - AI provider configuration (optional)
-
MIT