Universal Change Review
A local, read-only Git change review tool that provides total workspace diffs, staged/unstaged views, file-level inspection, and task-scoped snapshots for MCP-compatible clients like Codex, Claude Code, and Cursor.
README
Universal Change Review
Local, read-only Git change review for Codex, Claude Code, Cursor, and any MCP-compatible client. Version 0.4 adds one-click Changes entry points: a Cursor activity-bar extension and an MCP Apps launcher card for compatible Codex/ChatGPT hosts.
It provides total workspace diffs, staged/unstaged views, file-level inspection, and task-scoped snapshots that isolate only the changes made after a task begins. Source files and the real Git index are never modified by the review tools.
Requirements
- Node.js 20+
- Git 2.30+
- A Git repository
Tools
| Tool | Purpose |
|---|---|
changes_summary |
Status, diff stat, and per-file additions/deletions |
changes_diff |
Full or file-scoped diff for all/staged/unstaged changes |
changes_begin |
Capture a task baseline without changing the real index |
changes_since |
Compare the current repository with a task baseline |
changes_snapshots |
List saved baselines for the current repository |
changes_open_panel |
Start a live, read-only Changes panel on localhost |
The MCP server also exposes two reusable prompts when the client supports MCP prompts:
| Prompt | Purpose |
|---|---|
review-changes |
Run a findings-first review of the current Changes |
begin-change-task |
Capture a baseline before implementation begins |
Task snapshots use a temporary Git index and store only a Git tree id plus metadata under .git/universal-change-review/. Ignored files are not captured. No source code is uploaded.
Codex
Clone the repository, register its marketplace, then install the plugin:
git clone https://github.com/IP-DZ/universal-change-review.git
codex plugin marketplace add ./universal-change-review
codex plugin install universal-change-review@ip-dz
The Codex package includes the change-review skill, UI metadata, starter prompts, the MCP server definition, and an MCP Apps launcher card. Invoke the skill explicitly with $change-review, or ask Codex to open the current Changes. Compatible hosts render a clickable Open Changes card; other hosts receive the same localhost URL as text.
Claude Code
Install from the repository as a Claude Code plugin to get its skill and /review-changes command, or add the MCP server directly:
claude mcp add universal-change-review --scope user -- npx -y github:IP-DZ/universal-change-review mcp
Cursor
For the closest DSH-style experience, install the bundled Cursor extension:
npm run build:cursor
cursor --install-extension dist/universal-change-review-cursor-0.4.0.vsix --force
After reloading Cursor, click Changes Review in the bottom status bar, or use the Changes Review activity-bar icon. The extension automatically follows the first open workspace and opens the live panel in a Cursor editor tab. It runs the same local, read-only panel code bundled inside the extension.
For a project-scoped setup, copy .cursor/mcp.json, .cursor/rules/change-review.mdc, and .cursor/commands/review-changes.md into a project. Then use /review-changes in Cursor chat.
For a global MCP setup, merge this server into ~/.cursor/mcp.json without replacing existing entries:
{
"mcpServers": {
"universal-change-review": {
"command": "npx",
"args": ["-y", "github:IP-DZ/universal-change-review", "mcp"]
}
}
}
Cursor's global MCP configuration makes the tools available in every repository. Cursor rules and custom commands are project-scoped, so copy the provided rule and command into repositories where you want the guided workflow.
Recommended workflow
- Before a substantial task, ask the agent to start a change baseline.
- Implement and validate the requested behavior.
- Run
$change-review,/review-changes, or the MCPreview-changesprompt depending on the client. - Review findings ordered by P0-P3 severity, followed by changed behavior, validation, and remaining risks.
Live Changes panel
Ask the agent to “open Changes”, call the changes_open_panel MCP tool, or run:
npx -y github:IP-DZ/universal-change-review web --cwd /path/to/repo
The returned localhost page provides live file counts, All/Staged/Unstaged filters, task-baseline selection, and line-level per-file diffs. It binds only to 127.0.0.1, uses a random access token, and exposes no write or revert endpoint.
CLI
Run directly from GitHub:
npx -y github:IP-DZ/universal-change-review summary --cwd /path/to/repo
npx -y github:IP-DZ/universal-change-review begin --cwd /path/to/repo --label feature
npx -y github:IP-DZ/universal-change-review since --cwd /path/to/repo --id SNAPSHOT_ID
Safety
- No undo, reset, checkout, commit, push, or file-write tool is exposed.
- The worktree and real Git index are not changed.
- Snapshot capture writes normal Git blob/tree objects and metadata inside
.git. - Diff output is capped by default and can be limited to one file.
- Clients should still request user approval before launching third-party MCP servers.
Development
npm test
npm run check
npm run build:cursor
MIT © IP-DZ
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。
mcp-server-qdrant
这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。