general MCP Server
Permanent memory for AI agents. Single binary, zero dependencies, MCP native.
Discovered via github-topic:mcp and last synced 2mo ago.
1. Install the package
cargo install --path crates/icm-cli
What it does
JSON
Compact
Merge all memories of a topic into one summary
Update a concept's definition
fast (2x rate)
Description
—
Export graph (json, dot, ascii, ai) with confidence levels
Sessions, messages, bytes, breakdown by role/agent/top-sessions
ICM
Rust single binary
Full-text search, optionally filtered by label
Create a session for verbatim message capture; returns `session_id`
Status
none
VS Code globalStorage
—
Global memory statistics
Search across all memoirs
Append a raw message (role, content, optional tool + tokens + metadata)
0
—
`.windsurfrules`
`~/.zed/settings.json`
session start
`~/.gemini/GEMINI.md`
Store with auto-dedup (>85% similarity → update instead of duplicate)
Create a new memoir (knowledge container)
Decay
AgentMemory
Node.js
Search by query, filter by topic / keyword / project
List all memoirs
Record a correction when an AI prediction was wrong
none
manual
SQLite
Show memoir details and all concepts
Search past corrections to inform future predictions
slow (0.5x rate)
none
Description
Delete a memory by ID
Add a concept with labels
Feedback statistics: total count, breakdown by topic, most applied
normal
none
Per-topic hygiene audit (staleness, consolidation needs)
Create typed relation between concepts
Backfill embeddings for vector search
Inspect concept and graph neighborhood (BFS)
Replay full message thread of a session, chronologically
MCP
`~/.cursor/mcp.json`
—
Edit a memory in-place (content, importance, keywords)
Guidance
Delete all memories in a given topic
Detect recurring patterns within a topic and surface them as concepts
List all topics with counts
3–5 terms to boost BM25 retrieval.
Build a project-scoped wake-up pack (critical/high memories + preferences) for SessionStart-style context injection
Scan a project directory and seed a Memoir knowledge graph from its code/docs
FTS5 search across messages (BM25, boolean, phrase, prefix)
One fact per store. Dense English summary — `topic + content` is the embedding text.
Verbatim only (code, exact error message, command output).
`{kind}-{project}`. Kinds: `decisions`, `errors-resolved`, `contexte`, `preferences`.
`critical` for never-forget, `high` for project decisions, `medium` default, `low` for ephemeral.