# RepoPilot

RepoPilot reviews Git changes on the local machine, flagging weakened tests, risky data flows, and files affected through dependencies.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 26 repo stars
- Author: MykytaStel
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/MykytaStel/repopilot
- Updated: 2026-10-24
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/repopilot

## What it 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.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add repopilot -- npx -y repopilot
```

### Codex

**Platform CLI**
```bash
codex mcp add repopilot -- npx -y repopilot
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "repopilot": {
            "command": "npx",
            "args": [
                "-y",
                "repopilot"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "repopilot": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "repopilot"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add repopilot npx -y repopilot
```

## When to use it
- 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
- 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.

## Similar
- [code-review](https://affpapa.org/en/nevibecode/skills/openhands-code-review.md) — skill · 251 installs
- [SpecLock - AI Constraint Engine](https://affpapa.org/en/nevibecode/mcp/speclock-ai-constraint-engine.md) — MCP server · 3564 installs
- [security-guidance](https://affpapa.org/en/nevibecode/plugins/security-guidance.md) — plugin · ★ 48129 repo stars
- [gjalla-code-review](https://affpapa.org/en/nevibecode/skills/gjalla-code-review.md) — skill · 865 installs
- [age](https://affpapa.org/en/nevibecode/skills/age.md) — skill · 822 installs
- [code-reviewer](https://affpapa.org/en/nevibecode/skills/zhaono1-code-reviewer.md) — skill · 762 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
