OpenCode
session start
How to use it
OpenCode is exposed by the Icm MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the OpenCode tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Icm
claude mcp add icm -- icm serveOther tools in Icm (31)
Record a correction when an AI prediction was wrong
Search past corrections to inform future predictions
Feedback statistics: total count, breakdown by topic, most applied
Scan a project directory and seed a Memoir knowledge graph from its code/docs
Add a concept with labels
Create a new memoir (knowledge container)
Export graph (json, dot, ascii, ai) with confidence levels
Inspect concept and graph neighborhood (BFS)
Create typed relation between concepts
List all memoirs
Update a concept's definition
Full-text search, optionally filtered by label
Search across all memoirs
Show memoir details and all concepts
Merge all memories of a topic into one summary
Backfill embeddings for vector search
Detect recurring patterns within a topic and surface them as concepts
Delete a memory by ID
Delete all memories in a given topic
Per-topic hygiene audit (staleness, consolidation needs)
List all topics with counts
Search by query, filter by topic / keyword / project
Global memory statistics
Store with auto-dedup (>85% similarity → update instead of duplicate)
Edit a memory in-place (content, importance, keywords)
Append a raw message (role, content, optional tool + tokens + metadata)
FTS5 search across messages (BM25, boolean, phrase, prefix)
Replay full message thread of a session, chronologically
Create a session for verbatim message capture; returns sessionid
Sessions, messages, bytes, breakdown by role/agent/top-sessions
Build a project-scoped wake-up pack (critical/high memories + preferences) for SessionStart-style context injection