Connect
Start a local Claude-Mem worker first. Use its actual URL; the default port is37700 + (uid % 100) unless CLAUDE_MEM_WORKER_PORT overrides it. This setup does not start the worker.
Use a separate Cline data directory for practice. Replace the executable and checkout paths below with absolute paths on your machine:
claude-mem.
Configure your preferred provider in this isolated data directory. Pass isolation flags after the auth subcommand as well:
Save and recall
Run Cline from the intended project, keeping the same data directory and MCP settings environment:search with query restore and project memory-practice, then get_observations with selected IDs and that same project. Inspect actual tool results rather than trusting a final assistant claim.
Project arguments restrict the query; they are not a multi-user authorization boundary. This local MCP connection can access tools and data available to the worker owner. Do not expose it to untrusted users. Only approve the explicit memory operations you intend. Explicit MCP saves honor CLAUDE_MEM_EXCLUDED_PROJECTS: a save_memory call from an excluded checkout is skipped and answers “Not saved: this checkout is excluded by CLAUDE_MEM_EXCLUDED_PROJECTS.” (#6105, in the release after 15.18.5).

