RepoPilot — Claude Code MCP server: review and setup
RepoPilot reviews Git changes on the local machine, flagging weakened tests, risky data flows, and files affected through dependencies.
Apache-2.0 ★ 26 updated 2026-10-24
claude mcp add repopilot -- npx -y repopilotWhat RepoPilot does
RepoPilot runs a local review of Git changes and produces one of four outcomes: PASS, REVIEW, BLOCK, or NOT ASSESSED. It examines security boundaries, input-to-sink paths, local import and export contracts, and the dependency impact of changed files.
The MCP server exposes local scan and review tools to an agent. Checks can flag skipped or weakened tests, removed assertions, relaxed CI gates, altered authentication, network or subprocess behavior, SQL, and filesystem writes.
Findings are evidence for investigation, not proof that code is exploitable or safe. The analysis runs on the invoking machine or CI runner, so source code stays out of a hosted service.
What it helps with
- review Git changes before merging
- spot tests that were skipped or weakened
- catch CI gates that no longer fail the job
- trace input reaching a subprocess, SQL query, or file write
- map changed files to their dependents
Example prompts for the agent
- Review the current Git changes and explain the resulting decision.
- Find tests, assertions, or CI checks weakened by this change.
- Trace whether request input reaches a subprocess, SQL operation, or filesystem write.
How to install RepoPilot
Platform CLI
claude mcp add repopilot -- npx -y repopilotPlatform CLI
codex mcp add repopilot -- npx -y repopilotConfig file
{
"mcpServers": {
"repopilot": {
"command": "npx",
"args": [
"-y",
"repopilot"
]
}
}
}Config file
{
"servers": {
"repopilot": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"repopilot"
]
}
}
}Platform CLI
gemini mcp add repopilot npx -y repopilotStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about RepoPilot
How do I install RepoPilot in Claude Code?
Run claude mcp add repopilot -- npx -y repopilot.
What does RepoPilot do?
It reviews Git changes locally, looking for weakened tests and CI checks, risky flows, security-boundary changes, and dependency impact. The result includes a decision with reasons to inspect.
Does RepoPilot prove that a vulnerability exists?
No. Its findings identify paths and changes for investigation; the reviewer must judge their impact in the application and its configured checks.