Save VS Code coding context to GitHub

VS Code 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. VS Code
  2. OmegaVault
  3. GitHub

Why move VS Code memory into GitHub

Copilot Chat's context is scoped to the open workspace. Switch machines or editors and none of it comes with you.

GitHub Copilot Chat in VS Code supports MCP servers directly, so OmegaVault plugs in the same way it does for Claude or Cursor — no separate integration to maintain. What you capture in VS Code is available in your other editors and AI clients too.

1. Connect VS Code to OmegaVault

Needs VS Code 1.102 or later.

  1. Open the Command Palette, run MCP: Add Server and choose HTTP.
  2. Paste https://app.omegavault.app/api/mcp/mcp and name it omegavault.
  3. Allow the authentication prompt 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 VS CodeSave this: feature flags in this project live in lib/flags.ts.

In GitHubA Markdown file for “Repo convention: feature flags in lib/flags.ts” in your private repository, versioned and diffable like any other file.

VS Code to GitHub: questions

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

    The GitHub sync needs OmegaVault Pro, since vault sync is part of Pro. Needs VS Code 1.102 or later.

  • Does VS Code write to GitHub directly?

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

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

    Yes. Every client you connect writes to the same vault, so memories saved in VS Code, Claude, ChatGPT and Cursor 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.