Skip to main content
Use the universal installer first. It can configure this target for hosted cloud or local Docker Convex and creates config backups before writing.

Agent Instructions

Copy and paste this directly into Claude Code:
For native Windows PowerShell, use:
For local data storage, add --backend local in Bash or -Backend local in PowerShell. See Local-First Setup. Claude Code can plug into Memory Crystal so it can ask for memories it learned before instead of starting from zero every run.

What this means in practice

Claude Code uses the current Streamable HTTP MCP path. In this repo, that means you can either:
  • run the Claude-specific installer
  • or register the MCP endpoint yourself

How it actually works

Important repo surfaces:
  • apps/web/public/install-claude-mcp.sh
  • packages/mcp-server/README.md
  • .env.example
The installer is responsible for:
  • detecting the Claude CLI
  • handling device/browser authorization or manual API-key entry
  • registering the Memory Crystal MCP endpoint
  • storing local Memory Crystal support files under ~/.memory-crystal

Universal installer path

The recommended first install path is the universal installer:
Use it when you want Memory Crystal to detect Claude Code, ask before changing config, and offer cloud or local-first backend mode. The dedicated commands below remain useful for single-client installs and compatibility.

Commands / examples

Installer:
Direct registration:

Uninstall

For purge behavior and safety notes, see the uninstall guide.

Common mistakes

  • following the deprecated Claude Desktop path instead of the Claude Code path
  • confusing local server examples with hosted endpoint usage
  • forgetting to provide the API key/backend URL when bypassing the installer

Source of truth

Primary files behind this page:
  • apps/web/public/install-claude-mcp.sh
  • packages/mcp-server/README.md
  • .env.example