Before trusting a new MCP setup, review what changed.
Use mcp-change-review when installing, updating, or sharing MCP configuration for Claude Code or Codex. It shows which MCP servers changed, what local resources they can access, and obvious risks such as secrets, shell commands, and sensitive paths.
English | 简体中文
- Discover MCP configuration used by Claude Code and Codex.
- Create a local baseline and report added, removed, or changed MCP servers.
- Flag secrets, sensitive paths, command execution, and Docker
latest. - Print results in the terminal or export Markdown and JSON reports.
curl -fsSL https://raw.githubusercontent.com/mctang24/mcp-change-review/main/install.sh | shRequires Node.js 20+ and npm.
mcpcr diff- Compare the current MCP config with the baseline; the first run creates.mcpcr-baseline.json.mcpcr accept- Mark the reviewed state as trusted and save it as the new baseline.mcpcr export md- Generate a Markdown report.mcpcr export json- Generate a JSON report.mcpcr diff --fail-on high- Exit non-zero in automation when high-risk changes are found.mcpcr list- List discovered MCP servers.mcpcr status- Check whether the current directory has a baseline.
An MCP server gives an AI agent additional capabilities, such as reading local files or calling external services.
In this Codex example, filesystem is listed as a new MCP server, while github is flagged for exposing a credential-style environment variable name.
In this example, github is flagged because the configuration exposes a credential-style environment variable name, not because the GitHub MCP server is inherently unsafe.
mcp-change-review reads local MCP configuration and reports risks using fixed rules.
- It never stores secret values.
- It never modifies Claude Code or Codex configuration.
- It records env/header names only.
- It does not proxy, block, or intercept MCP tool calls.
- It uses fixed checks instead of LLM-based risk scoring.
| Client | Scope |
|---|---|
| Claude Code | local, project, and user-level MCP configuration |
| Codex | user-level and trusted project MCP configuration |
Validated against Claude Code 2.1.195 and Codex CLI 0.142.3.
MIT
