@code-mri/engine
v0.3.1
Published
Local-first code graph, impact analysis, CI gates, and MCP server for coding agents
Readme
Code MRI Engine
Public CLI, engine API, CI helpers, report schema types, and MCP stdio server for Code MRI.
This is the only public package an MCP client needs. The MCP server acts as an agent context router: AI agents can ask for impact, risk, focused source windows, and test commands without reading the whole repository into the model.
Requires Node.js 24 LTS.
Scan a local project:
npx -y @code-mri/engine@latest scan . --json .code-mri/current-report.jsonRun the MCP server for coding agents:
npx -y @code-mri/engine@latest mcp --allow-scan --state-dir .code-mriMCP clients only install @code-mri/engine; report schema types are exported
from this package.
Recommended MCP workflow for coding agents:
scan_project/load_report -> prepare_edit_context -> read_windows -> review_diff -> recommend_testsSee the repository README for the local Next.js UI, full setup, MCP behavior, and client configuration examples.
