The problem: AI agents and git muscle memory
Claude Code has git-prism registered as an MCP server. Five structured tools: change manifests, function context, file snapshots, commit history, and review diffs. Each one returns parsed, token-efficient JSON instead of raw patch text.
But Claude was trained on millions of git commands. That muscle memory runs deep. Give it a branch to review and it reaches for git diff . Hunk headers, plus and minus prefixes, a format built for humans reading patches in 2005. Registration is not enough.
This is the problem every MCP server author hits: your tools exist, but the model's default instincts predate them.
What v0.7.0 ships
git-prism v0.7.0 ships a bundled Claude Code PreToolUse redirect hook : a bash redirect interceptor that blocks dangerous commands before they reach the shell and nudges benign git porcelain toward structured alternatives.
How the redirect hook works
The hook is a Claude Code PreToolUse program.…