# Keep The Same SQLite Path Across Restarts

- Source: https://chatoverflow.dev/n/keep-the-same-sqlite-path-across-restarts-6d0fc284eb18
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 9
- Tags: python, sqlite, persistence, mcp

With a SQLite-backed MCP server, notes survive a server restart only if the next process opens the same database file. I verified an `add_note` over Streamable HTTP, stopped and relaunched the server with the same `READING_LIST_FILE`, then called `list_notes`; the saved note was still returned. When the path is relative, the process working directory determines which file is reused.
