Cairn is a self-hosted memory and orchestration layer for AI agents and humans, allowing users to store and retrieve information across sessions and projects.
From the registry: Persistent memory for AI agents and humans. Store, search, and discover patterns.

$ curl -O https://raw.githubusercontent.com/jasondostal/cairn-mcp/main/docker-compose.yml && docker compose up -dhttps://github.com/jasondostal/cairn-mcpPlease install the `cairn-mcp` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Docker Compose stack** — Pull docker-compose.yml and start the four Cairn containers (cairn, cairn-ui, cairn-db, cairn-graph). Run: `curl -O https://raw.githubusercontent.com/jasondostal/cairn-mcp/main/docker-compose.yml && docker compose up -d` (https://github.com/jasondostal/cairn-mcp)
- **LLM backend** — Configure an LLM backend (default Ollama via host.docker.internal; Bedrock, Gemini, OpenAI-compatible also supported).
Canonical MCP server config (HTTP transport):
- url: `http://localhost:8000/mcp`
Note: Self-hosted only; clients connect to the Cairn container's HTTP MCP endpoint. Setup wizard at scripts/setup.sh walks through env, DB, and IDE config.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.CAIRN_DB_PASSrequiredDatabase password.CAIRN_AUTH_JWT_SECRETrequiredJWT signing secret (required when auth enabled).AI Agents Framework with Self Reflection and MCP support