MCP Has No Memory Primitive — Code Knowledge and Conversation Are Not the Same
The Model Context Protocol (MCP) specification contains no native memory or persistence primitive, meaning any memory functionality in MCP-based tools is built by developers using standard external mechanisms. A key distinction exists between conversational memory — which is personal, stated, and durable — and code knowledge, which is shared, derived from the current codebase, and perishable as commits change. Conflating the two creates a failure mode where agents rely on outdated conversational context instead of live, accurate code structure. The author illustrates this with Celmis, their own MCP server that builds a tree-sitter symbol graph per repository and exposes tools for searching symbols, tracing call consumers, identifying API surfaces, and finding code owners. The core argument is that retrieving precise code facts requires querying a live index, not recalling what was said in a prior session.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in