AI Diff Review
БесплатноНе проверенEnables AI agents to edit files in VS Code with an interactive diff review panel, allowing users to accept or reject changes.
Описание
Enables AI agents to edit files in VS Code with an interactive diff review panel, allowing users to accept or reject changes.
README
A Model Context Protocol (MCP) server that runs directly inside your Visual Studio Code. It empowers AI agents with advanced, state-of-the-art file editing capabilities while ensuring you stay in complete control of your codebase.
Instead of AI agents blindly overwriting files, this extension generates an interactive diff review panel inside VS Code, allowing you to explicitly Accept or Reject any changes proposed by the AI.
Features
- Interactive Diff Reviewer: All AI-proposed edits are presented in a native VS Code split-screen diff view. You can review the changes before finalizing them.
- Surgical Code Edits (
edit_block): The AI can search for a specific block of code and replace it. - Fuzzy Search Fallback: If the exact string isn't found, the powerful Levenshtein fuzzy matching engine will find the closest match and guide the AI to correct its prompt automatically.
- Live Diagnostics Feedback: Once an edit is proposed, the extension automatically hooks into VS Code's language servers (TypeScript, ESLint, Python, etc.) and reports any syntax errors or warnings back to the AI immediately!
- State Management: Multiple edits to the same file are intelligently combined into a single pending diff.
Installation
You can either install the pre-compiled VSIX or build from source.
Option 1: Install from VSIX (Recommended)
- Go to the Actions tab.
- Download the latest
ai-diff-review-mcp-vsixartifact. - Open VS Code, press
Ctrl+Shift+P(orCmd+Shift+Pon Mac). - Type and select Extensions: Install from VSIX...
- Select the
.vsixfile you just downloaded. - Reload VS Code.
Option 2: Build from Source
- Clone the repository:
git clone https://github.com/iiNothh/ai-diff-review-mcp.git - Run
npm installto install dependencies. - Run
npm run compileto build the typescript files. - Run
npx @vscode/vsce packageto create the VSIX file. - Install as mentioned in Option 1.
Usage / Connecting the AI Agent
Once the extension is installed and VS Code is running, the MCP server automatically starts in the background and listens for SSE connections on port 6070.
To connect your AI client, add the appropriate configuration to your MCP settings file:
For Antigravity (mcp_config.json):
{
"mcpServers": {
"ai-diff-review-mcp": {
"serverUrl": "http://127.0.0.1:6070/mcp"
}
}
}
For other standard MCP Clients (mcp.json):
{
"servers": {
"ai-diff-review-mcp": {
"url": "http://127.0.0.1:6070/mcp"
}
}
}
The AI agent will then be equipped with the powerful write_file and edit_block tools seamlessly connected to your VS Code session.
Contributing
Feel free to open Issues or Pull Requests if you find a bug or want to enhance the file-edit engine further.
Установка AI Diff Review
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/iiNothh/ai-diff-review-mcpFAQ
AI Diff Review MCP бесплатный?
Да, AI Diff Review MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для AI Diff Review?
Нет, AI Diff Review работает без API-ключей и переменных окружения.
AI Diff Review — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить AI Diff Review в Claude Desktop, Claude Code или Cursor?
Открой AI Diff Review на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare AI Diff Review with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
