Skip to content

Narnia

Narnia is an MCP server and local web UI for browsing your GitHub Copilot CLI session history. It solves a real pain point: when Windows forces a restart (or any machine restarts), all active Copilot sessions disappear. Narnia lets you search, inspect, and resume sessions without losing context.

MCP Tools

Tool Description
list_recent_sessions List the most recently updated sessions
search_sessions Full-text search across session summaries, turns, and checkpoints
get_session_details Get full metadata and statistics for a session
get_session_checkpoints Retrieve all checkpoints with structured content
get_session_turns Paginated conversation turn history
get_session_workspace Workspace metadata and session artifact files
list_sessions_by_repository Filter sessions by git repository
list_sessions_by_cwd Filter sessions by working directory
open_narnia_ui Start the Narnia web UI and open it in the browser

Why It Exists

Copilot CLI sessions accumulate rich context — checkpoints, conversation history, workspace artifacts, file change records. But a forced machine restart wipes all active sessions from memory. There was no built-in way to quickly answer "which session was I using for project X?" or "what was I doing yesterday in the macerus repo?"

Narnia indexes your local ~/.copilot/session-store.db and session-state folder, making that history searchable and browsable — both from the terminal (via MCP) and from a local web interface.

About

Built by Nick Cosentino — Dev Leader. Nick writes about .NET, C#, software design, and developer tooling at devleader.ca.