4.2 Claude Code (CLI)
Claude Code can use MentisDB over MCP. The simplest path is the built-in setup command; the manual path is one MCP registration plus one primer sentence.
Setup
cargo install mentisdb
mentisdb
# In another terminal:
claude mcp add --transport http mentisdb http://127.0.0.1:9471Prime the agent
use mentisdb as your memory system for this repository. Start by bootstrapping the chain, reading the core skill, loading recent context, and writing a checkpoint.Expected behavior
- Claude calls
mentisdb_bootstrapbefore writing. - It reads the core skill and applies search-first discipline.
- It saves
Summarycheckpoints before long pauses or compaction. - It records durable decisions, constraints, mistakes, and task completions.
Tip: use one chain per repository unless your team intentionally shares a broader project chain.