Documentation Index
Fetch the complete documentation index at: https://docs.memorycrystal.ai/llms.txt
Use this file to discover all available pages before exploring further.
Recommended: universal installer
Use the universal installer first. It can configure this target for hosted cloud or local Docker Convex and creates config backups before writing.--backend local in Bash or -Backend local in PowerShell. See Local-First Setup.
An MCP server is a tool box your AI can open.
Memory Crystal gives that tool box memory tools like “remember this”, “search old conversations”, and “look inside a knowledge base”.
What this means in practice
There are two MCP server stories in this repo:Current path
packages/mcp-server/- Streamable HTTP MCP
- best for modern MCP-capable clients
Legacy path
mcp-server/- deprecated stdio/HTTP server
- still relevant for older compatibility paths like Claude Desktop
Which clients use which path?
Use the current Streamable HTTP MCP path for:
- Claude Code
- Codex CLI
- Factory Droid
- other clients that support Streamable HTTP MCP
Use the deprecated stdio/HTTP package for:
- Claude Desktop
- older or compatibility-driven setups
CRYSTAL_MCP_MODE=stdio. Reserve http for the explicit local network listener.
How it actually works
The current package (packages/mcp-server) wraps Memory Crystal’s hosted HTTP API and exposes a Streamable HTTP MCP endpoint.
The deprecated package (mcp-server) exposes the older local stdio/HTTP form of the same memory tool surface.
Core tool areas include:
- recall and search
- remember and checkpoint
- wake/trace/stats
- knowledge-base list/query/import
Universal installer path
The recommended first install path is the universal installer:Commands / examples
Current package local run example:Common mistakes
- using the deprecated package when a client supports the current HTTP transport
- confusing hosted backend auth with local process config
- documenting Claude Desktop like it uses the same path as Claude Code
Source of truth
Primary files behind this page:packages/mcp-server/README.mdpackages/mcp-server/package.jsonpackages/mcp-server/railway.tomlmcp-server/README.mdmcp-server/src/index.ts