CodeReview.MCP
0.7.0
See the version list below for details.
dotnet tool install --global CodeReview.MCP --version 0.7.0
dotnet new tool-manifest
dotnet tool install --local CodeReview.MCP --version 0.7.0
#tool dotnet:?package=CodeReview.MCP&version=0.7.0
nuke :add-package CodeReview.MCP --version 0.7.0
<p align="center"> <img src="REBUSS.Pure.png" alt="REBUSS.Pure" /> </p>
π REBUSS.Pure β AI Code Review That Focuses Only on What Matters
Stop sending irrelevant code to AI.
Send only the right context β and understand Pull Requests faster.
π‘ What is this?
REBUSS.Pure is a lightweight MCP server that enables AI agents (GitHub Copilot, ChatGPT, Claude) to perform high-signal code reviews by providing only the context that actually matters.
Instead of overwhelming the model with your entire repository, REBUSS.Pure:
- π analyzes Azure DevOps and GitHub Pull Requests
- π provides only relevant code changes
- π§ enables focused code review & self-review
- β‘ delivers minimal, high-signal context
π― Why this exists
Most AI workflows today:
- β send too much code
- β drown the model in noise
- β produce generic, low-quality feedback
REBUSS.Pure changes the approach:
- β sends only relevant context
- β reduces noise, not just tokens
- β helps AI focus on what actually matters
π built for real-world code review, not demos
π§ Core idea
AI doesnβt need more code.
It needs the right code.
Instead of:
β full repo β LLM
You get:
LLM β MCP β high-signal context only
β¨ Key Features
- πΉ Azure DevOps and GitHub Pull Request integration
- πΉ High-signal, diff-based AI context
- πΉ Local self-review (no network required)
- πΉ No repo cloning needed
- πΉ Incremental, on-demand data access
- πΉ Ready-to-use review prompts
- πΉ Works with any MCP-compatible agent
- πΉ Authentication via Azure CLI, GitHub CLI (
gh auth), or PAT - πΉ Auto-detects VS Code and Visual Studio
- πΉ Auto-detects provider from Git remote URL
π Security & Privacy
Your source code never leaves your machine.
REBUSS.Pure runs as a local process on your workstation. It does not upload, store, or relay your code to any external service. The MCP server acts as a controlled gateway between your AI agent and the data it actually needs:
- Local processing only β the server runs on
localhost; no outbound code transmission occurs. - Minimal data exposure β the AI model receives only relevant context, not the full repository.
- Azure DevOps stays yours β when fetching PR data, requests go directly to your organization's Azure DevOps APIs using your credentials. No intermediary services are involved.
- GitHub stays yours β GitHub API requests go directly to
api.github.comusing your personal access token. No intermediary services are involved. - Offline self-review β local review (
#self-review) operates entirely without network access. Git operations run against your local repository; nothing is sent anywhere. - No telemetry, no tracking β the server collects zero usage data and phones home to nobody.
In short: REBUSS.Pure gives AI agents precise, scoped access to exactly the context they need β and nothing more.
π Compared to typical AI workflows
| Feature | REBUSS.Pure | Typical approach |
|---|---|---|
| Context quality | High-signal | Noisy |
| Context size | Minimal | Huge |
| Token usage | Efficient | Wasteful |
| Setup | 1 command | Complex |
| Review quality | Focused | Generic |
| Data privacy | Code stays local | Full repo sent to AI |
β‘ Quick Start
1. Install
Option A β .NET global tool (recommended)
dotnet tool install -g CodeReview.MCP
Option B - PowerShell
irm https://raw.githubusercontent.com/rebuss/CodeReview.MCP/master/install.ps1 | iex
Option C - Bash
curl -fsSL https://raw.githubusercontent.com/rebuss/CodeReview.MCP/master/install.sh | bash
2. Initialize in your repo
cd /path/to/your/repo
rebuss-pure init
This will:
- β detect your IDE (VS Code β
.vscode/mcp.json, Visual Studio β.vs/mcp.json) - β generate MCP server configuration
- β copy review prompts to
.github/prompts/ - β copy instruction files to
.github/instructions/(for GitHub Copilot custom instructions) - β authenticate via Azure CLI (opens browser for login) or accept a GitHub PAT
Global mode (-g)
If Visual Studio does not detect the local .vs/mcp.json file in your repository, use the global flag:
cd /path/to/your/repo
rebuss-pure init -g
This writes the MCP configuration to the user-level paths (~/.vs/mcp.json and ~/.vscode/mcp.json) instead of the repository-local directories. The global config points --repo to the current repository, so it works for any workspace you open.
Switching between repositories: If you use multiple repositories, run
rebuss-pure init -gin the target repository before switching to it. This updates the global configuration to point to the correct workspace.
After updating the tool: If you run
dotnet tool update -g CodeReview.MCP, runrebuss-pure initagain afterwards to refresh the prompt files and configurations to the latest version.
3. Review a Pull Request
In Copilot / AI chat:
123 #review-pr
or use execute to force tool invocation (recommended for smaller models that may not call tools autonomously):
execute 123 #review-pr
Where 123 is the Azure DevOps or GitHub Pull Request number.
4. Self-review local changes
#self-review
Works offline β no Azure DevOps connection required.
βοΈ Gateway Token Limit
By default, REBUSS.Pure ships with GatewayMaxTokens set to 128 000 in appsettings.json. This hard cap matches the context window limit imposed by GitHub Copilot's proxy and prevents model_max_prompt_tokens_exceeded errors β even when the model's native context window is larger (e.g. Claude's 200K).
If you use Claude Code, Anthropic API directly, or any other client without a gateway limit, remove or disable this cap so you can use the model's full context window:
In appsettings.Local.json (next to the server executable):
{
"ContextWindow": {
"GatewayMaxTokens": null
}
}
Or via environment variable:
ContextWindow__GatewayMaxTokens=0
When GatewayMaxTokens is null or 0, the limit is disabled and the full model-native context window from the ModelRegistry is used.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.