Windows forensic artifactCursor
Cursor AI editor agent chat history, composer data, local file history, MCP and hook configuration, and logs
Look for state.vscdb, storage.json, workspace.json, settings.json, machineid, ai-code-tracking.db
in %AppData%\Cursor\User\globalStorage, %AppData%\Cursor\User\workspaceStorage, %AppData%\Cursor\User\History and 13 more folders.
- 20 paths
- Per-user data
- Version 1.0
- Eric Capuano
Paths on disk
20 paths
Notes
Cursor keeps VS Code-style user data under %APPDATA%\Cursor\ and Cursor-specific agent data under %USERPROFILE%\.cursor\.
Both roots, User\globalStorage\state.vscdb, User\workspaceStorage\<hash>\state.vscdb + workspace.json, User\History,
Backups, logs\<timestamp>\, machineid, and .cursor\{agents,ai-tracking\ai-code-tracking.db,plugins,projects\<slug>\{canvases,mcps,terminals},argv.json,extensions\extensions.json}
were confirmed on Windows Server 2025 with a fresh Cursor install (winget Anysphere.Cursor).
Agent conversations are stored in globalStorage\state.vscdb (cursorDiskKV table); per-workspace state.vscdb lists which
conversations belong to which folder. Full agent transcripts are also written as JSONL under .cursor\projects\<encoded path>\agent-transcripts\.
The .cursor\projects\<slug>\canvases\ folder can contain node_modules and is not collected.
References
6 links
- docs.specstory.com/faqs%20-%20Windows%20path%20of%20globalStorage/state.vscdb%20holding%20Cursor%20chat%20history(opens in new tab)
- github.com/Callum-Ward/cursaves/blob/main/docs/how-cursor-stores-chats.md%20-%20cursorDiskKV%20keys%20(composerData,%20bubbleId,%20checkpointId,%20messageRequestContext)(opens in new tab)
- cursor.com/docs/mcp%20-%20%USERPROFILE%/.cursor/mcp.json(opens in new tab)
- cursor.com/docs/hooks%20-%20hooks.json%20locations%20including%20C:/ProgramData/Cursor/hooks.json,%20transcript_path(opens in new tab)
- forum.cursor.com/t/accessing-the-full-agent-transcript-in-cursor/157311%20-%20agent-transcripts%20JSONL%20location%20(confirmed%20by%20Cursor%20staff)(opens in new tab)
- github.com/microsoft/vscode/blob/main/src/vs/platform/storage/electron-main/storageMain.ts%20-%20state.vscdb%20(Cursor%20is%20a%20VS%20Code%20fork)(opens in new tab)
Related artifacts
Often collected in the same investigation
- ClaudeCodeClaude Code (Anthropic agentic coding CLI) session transcripts, prompt history, configuration, hooks, and IDE integration artifacts
- ClineCline (VS Code AI coding agent) task conversation histories, MCP settings, checkpoints, and global state
- GeminiCLIGoogle Gemini CLI chat session logs, prompt history, shell history, checkpoints, and configuration
- GitHubCopilotGitHub Copilot CLI and Copilot Chat (VS Code) agent sessions, prompt history, configuration, and MCP settings
- OpenAICodexOpenAI Codex CLI (agentic coding CLI) session rollouts, prompt history, state databases, and configuration
- OpenCodeOpenCode (open-source terminal coding agent) session database, logs, snapshots, and configuration
- RooCodeRoo Code (VS Code AI coding agent, archived May 2026) task conversation histories, MCP settings, custom modes, and checkpoints
- VisualStudioCodeVisual Studio Code artifacts