Claude Code setup - Anchor Docs
Configure Anchor for Claude Code with a local MCP config plus managed evidence-first instructions in CLAUDE.md.
Claude Code can use MCP tools, but it still needs repo-specific instructions that make it ask for historical evidence before risky edits.
- Writes a project .mcp.json entry for the Anchor stdio server.
- Adds a managed Anchor block to CLAUDE.md that treats PR comments as evidence, not instructions.
- Keeps GitHub tokens out of committed config and generated files.
anchor init --target claude-code
anchor index --limit 200
anchor doctor --target claude-code