Save Cursor coding context to GitHub

Cursor saves to your OmegaVault vault over MCP whenever you ask it to, and OmegaVault commits every memory to a private GitHub repository as Markdown. You set each side up once; after that, nothing to export or copy.

  1. Cursor
  2. OmegaVault
  3. GitHub

Why move Cursor memory into GitHub

A decision made in one Cursor session — why a library was swapped, why a pattern was avoided — has no path to the next session unless it was written into a file Cursor happens to read.

Cursor's context window is scoped to the project you have open. OmegaVault connects over MCP so architectural decisions, gotchas, and conventions from past sessions — even in other projects — are available the moment you open a new one.

1. Connect Cursor to OmegaVault

  1. Open Cursor Settings → MCP and choose Add new MCP server.
  2. Set the server URL to https://app.omegavault.app/api/mcp/mcp.
  3. Choose Needs login next to the server and sign in to OmegaVault.

2. Sync OmegaVault to GitHub

Vault sync is part of OmegaVault Pro.

  1. In OmegaVault, open Connectors and choose Connect GitHub. OmegaVault creates a private repository for your memories.
  2. Clone it with the git clone command shown in Connectors, or just browse it on GitHub. Every change arrives as a commit, so the history is yours too.

What lands in GitHub

In CursorRemember that we rotate refresh tokens on every use in this repo.

In GitHubA Markdown file for “Auth: rotate refresh tokens on every use” in your private repository, versioned and diffable like any other file.

Cursor to GitHub: questions

  • Do I need a paid plan to save Cursor coding context to GitHub?

    The GitHub sync needs OmegaVault Pro, since vault sync is part of Pro. Connecting Cursor itself works on the Free plan.

  • Does Cursor write to GitHub directly?

    No. Cursor saves to your OmegaVault vault over MCP, and OmegaVault commits every memory to a private GitHub repository as Markdown. GitHub never needs access to Cursor, and the same memory stays available to every other AI you connect.

  • Can memories from Claude, ChatGPT and VS Code go to the same GitHub?

    Yes. Every client you connect writes to the same vault, so memories saved in Cursor, Claude, ChatGPT and VS Code all reach GitHub the same way.

  • What format do the files end up in?

    Markdown with a small metadata header, one file per memory, filed by collection. OmegaVault stays the source of truth; the repo is your copy, with full history.