logoalt Hacker News

virgilptoday at 9:17 AM1 replyview on HN

> Nothing persists after the session ends.

Does that mean that if I exit claude code and then later resume the session, the database is already lost? When exactly does the session end?


Replies

mksglutoday at 9:18 AM

Yes — the database is tied to the MCP server process, so it's created fresh on each claude launch and lost when you exit; resuming a session starts a new process with a new empty database.