Using chathistory on ssh sessions

Is it possible to include all past Chathistorys and all done Screenshots to create some documentation?

Hey, thanks for the report. Chat history in Cursor is stored locally on your machine, even when you’re connected to a remote server via SSH.

Windows: %APPDATA%\Cursor\User\workspaceStorage
macOS: ~/Library/Application Support/Cursor/User/workspaceStorage
Linux: ~/.config/Cursor/User/workspaceStorage

To create documentation from chat history and screenshots:

  • Built-in export: open the chat → right-click → Export Transcript (saves as markdown)
  • SpecStory extension automatically saves all chats to the .specstory/ folder in your project
  • Copy screenshots manually - they’re not included in the chat export

Your history will be available on the same machine you connected from.

Wouldn’t saving that to remote server for better switching device experience make more sense? Things like I built a CLI to sync Cursor chat history between machines - DEV Community exists which felt better if supported officially.

Hey, agreed. For SSH workflows, storing chat history on the server side or in the cloud would be way more convenient. It’s one of the most requested features.

For now there’s no native solution, but here are a few workarounds:

  • Symlink the workspaceStorage folder via Dropbox or iCloud. More details here: Is cross-device sync possible?
  • Use the Cursor Chat Transfer extension to export and import chats between devices: Open VSX Registry
  • Use SpecStory. It automatically saves chats to .specstory/ in your project, so they’ll be on the remote server

Upvote the feature request to help raise priority: Cloud Sync for Chat History