Cordelia Proxy
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Cordelia Proxysearch my memory for notes about project alpha"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Cordelia Proxy
TypeScript MCP server, dashboard, and REST API for Cordelia.
Looking to install Cordelia? Go to cordelia-agent-sdk -- that's the front door.
What This Is
This repo contains the MCP proxy server that Claude Code talks to. It handles memory storage (SQLite), encryption (AES-256-GCM), search, groups, and the web dashboard.
Related MCP server: agent-julia
What This Is NOT
This is not where you install Cordelia from. Install, hooks, skills, and setup have moved to cordelia-agent-sdk.
Architecture
Claude Code --> cordelia-agent-sdk (hooks) --> cordelia-proxy (MCP/HTTP) --> cordelia-node (Rust, QUIC)Memory Layers:
L0: Session Buffer (ephemeral, current conversation)
L1: Hot Context (loaded at session start, ~50KB)
L2: Warm Index (searchable, pulled on demand, ~5MB)
L3: Cold Archive (compressed, rarely accessed)L2 items can be private (entity-only), group-scoped (membership-gated), or public. Sharing uses copy-on-write -- originals are never modified, preserving entity sovereignty.
Security
L2 items are encrypted using AES-256-GCM with per-group Pre-Shared Keys (PSKs). Keys are distributed via ECIES envelope encryption (X25519 + HKDF-SHA256) during device enrollment. Legacy scrypt encryption was removed in E5. Embeddings are stripped from the persisted index and regenerated on-demand to prevent semantic fingerprint leakage.
Installation
For end users: Use the SDK installer:
curl -fsSL https://seeddrill.ai/install.sh | bash -s -- <your-username>See cordelia-agent-sdk for full instructions.
Configuration
Claude Code MCP Settings
The installer automatically configures ~/.claude.json (global MCP config):
{
"mcpServers": {
"cordelia": {
"command": "node",
"args": ["/path/to/cordelia-proxy/dist/server.js"],
"env": {
"CORDELIA_STORAGE": "node",
"CORDELIA_MEMORY_ROOT": "~/.cordelia/memory"
}
}
}
}The encryption key is not stored in MCP config or shell profiles. It is retrieved at runtime from the platform keychain (macOS Keychain / Linux GNOME Keyring) or ~/.cordelia/key. See docs/KEY-MANAGEMENT.md for details.
Environment Variables
Variable | Description | Default |
| Passphrase for L2 encryption | (none - encryption disabled) |
| Explicit enable/disable |
|
| Embedding provider: |
|
| Embedding API URL |
|
| Embedding model name |
|
| Storage backend: |
|
| Interval for TTL expiry sweep (ms) |
|
Available MCP Tools
L1 Hot Context
Tool | Description |
| Read L1 hot context for a user |
| Write/patch L1 hot context with optimistic concurrency |
| Get memory system status and encryption state |
L2 Warm Index
Tool | Description |
| Search L2 by keyword, type, tags |
| Read a specific L2 item by ID |
| Create/update entities, sessions, or learnings |
| Delete a specific L2 item by ID |
Groups
Tool | Description |
| Share a private memory to a group (COW copy) |
| Create a new group (creator becomes owner) |
| List groups |
| Read group details |
| Add entity to group |
| Remove entity from group |
Analysis + Operations
Tool | Description |
| Detect novelty signals for persistence decisions |
| Export memory to backup directory |
| Restore from backup with integrity verification |
Session Hooks
Session hooks have moved to cordelia-agent-sdk. The SDK hooks resolve this proxy via getProxyDir() in hooks/lib.mjs.
Development
npm run dev # Run with ts-node
npm run build # Compile TypeScript
npm start # Run compiled server
npm test # Run all tests
npm run lint # ESLint
npm run typecheck # tsc --noEmit
npm run ci # Full pipeline: lint + typecheck + test + audit + buildRelated Repos
cordelia-agent-sdk -- Start here. Install, hooks, skills, agent spec
cordelia-core -- Rust P2P node, protocol, replication, governor
cordelia -- Archived monorepo (full git history)
License
AGPL-3.0 -- Copyright (c) 2026 Seed Drill
See LICENSE for full text.
Community
This server cannot be deployed
Maintenance
Related MCP Connectors
- mcpOAuthai.butlerbrain
Persistent memory for AI assistants. Save once; recall from Claude, ChatGPT, or any MCP client.
Persistent AI memory shared across Claude, ChatGPT, coding agents, and compatible MCP clients.
Private-by-default, local-first memory/context/task orchestrator for MCP apps and agents.
Private persistent memory for Claude, ChatGPT & Gemini via MCP - semantic search, zero-code setup.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP Memory Server for Claude Code that provides persistent context across sessions using semantic search (RAG).Apache 2.0
- AlicenseNot gradedqualityAmaintenanceLocal-first MCP server providing persistent markdown memory with persona engine and fast search, designed to unify AI assistant memory across Claude Code, Cowork, and Dispatch.12 npm1MIT
- AlicenseNot gradedqualityDmaintenanceLong-term memory MCP server for Claude Code with SQLite persistence, encryption, semantic search, and automatic memory linking.17 npm1MIT
- FlicenseNot gradedqualityDmaintenanceA lightweight MCP memory server built on SQLite + FTS5, providing cross-session long-term memory for Claude Code.-