VS Code ExtensionLIVE

Memra for VS Code

Never lose your AI chat context again. The Memra extension auto-captures every conversation you have with AI in VS Code — and lets you restore that context in one click when you start a new session.

What is it?

Memra is a VS Code extension that runs silently in the background. It watches your AI conversations — GitHub Copilot, Claude Code, Cline, Continue — and saves every message to the Memra cloud automatically.

When you open VS Code the next day, switch projects, or start a fresh chat — your previous context is one click away. No more re-explaining your project to the AI.

🔄 Auto-capture

Every AI message is saved in real-time. No manual steps — just code normally.

📋 One-click restore

Click a past session to inject its context into your current AI chat.

🛠️ Multi-tool support

Works with Copilot, Claude Code, Cline, Continue — all at once.

📁 Project-aware

Sessions are grouped by project. Switch folders and the right sessions appear.

Installation

Install in under 2 minutes:

1

Install from the VS Code Marketplace

Open VS Code, go to the Extensions panel (Ctrl+Shift+X), search for Memra, and click Install.

Or install directly from the VS Code Marketplace →

2

Get your Extension API key

Go to Dashboard → Extension Keys and create a new key. It will start with mk_ext_. Copy it.

ℹ️ Note

You can only have 1 active extension key per account. If you need a new one, revoke the old one first.
3

Set the API key in VS Code

Open the Command Palette (Ctrl+Shift+P), type Memra: Set API Key, and paste your key.

Ctrl+Shift+P → "Memra: Set API Key" → paste mk_ext_... → Enter
4

That's it — Memra runs automatically

You'll see a Memra status bar item at the bottom of VS Code. Start chatting with any AI tool — sessions are captured automatically.

Set up API Key

The extension needs an API key to communicate with Memra's cloud. Here's how to get one:

  1. 1

    Sign in

    Go to memra-rho.vercel.app and sign in with Google

  2. 2

    Navigate to Extension Keys

    Dashboard → Extension Keys tab

  3. 3

    Create key

    Click "Create Extension key", give it a name, and copy the key (starts with mk_ext_)

  4. 4

    Paste in VS Code

    Ctrl+Shift+P → "Memra: Set API Key" → paste → Enter

⚠️ Warning

Never share your API key. It gives access to your session data. If compromised, revoke it in the dashboard and create a new one.

How it Works

Once installed and configured, Memra runs completely in the background. Here's what happens:

Auto-capture

The extension watches for AI conversations using file watchers and the VS Code Chat API. Each tool stores chat data differently — Memra knows where to look:

AI ToolHow Memra captures it
Claude CodeWatches ~/.claude/projects/**/*.jsonl for conversation logs
ContinueWatches ~/.continue/sessions/*.json for session history
ClineWatches globalStorage tasks for api_conversation_history.json
GitHub CopilotUses the VS Code @memra chat participant API

Project-aware sessions

Each workspace folder gets a unique project ID. When you open a different folder, the current session ends and a new one starts for that project. Sessions are grouped per project — so when you come back to a project, you see only that project's history.

Real-time sync

Every message is sent to the Memra API as it happens. You can see your sessions updating live in the dashboard.

Sessions Panel

After installing, you'll see a Memra: Sessions panel in the VS Code sidebar. It shows all your captured sessions for the current project.

Each session shows:

  • ·Session title — auto-generated from the first message
  • ·Message count — how many messages were captured
  • ·AI tool — which tool was used (Copilot, Claude, Cline, etc.)
  • ·Date — when the session happened

Click the refresh icon at the top of the panel to fetch the latest sessions from the cloud.

Resume a Session

This is the core feature. When you click on a past session in the Memra panel, the extension restores that context into your current AI chat:

When you click a session, you get a choice:

Claude Code

Context is copied to your clipboard. Paste it with Ctrl+V into your Claude Code chat to continue where you left off.

GitHub Copilot

Context is automatically injected into the Copilot chat input. Just press Enter to continue.

Clipboard Only

Copies the context to clipboard so you can paste it into any AI tool manually.

The restored context includes a summary of what was discussed, key decisions made, and where you left off — so the AI can pick up exactly where your last session ended.

💡 Tip

You can also use the command Memra: Copy Resume Promptfrom the Command Palette to copy the most recent session's context without opening the sidebar.

Supported AI Tools

Memra captures conversations from these VS Code AI tools:

GitHub Copilot

Chat participant + auto-paste

Claude Code

File watcher + clipboard

Cline

File watcher + clipboard

Continue

File watcher + clipboard

More tools will be supported as they add chat APIs or local storage. The extension is designed to detect and capture any AI tool that stores conversations locally.

Commands

Open the Command Palette (Ctrl+Shift+P) and type “Memra” to see all available commands:

CommandWhat it does
Memra: Set API KeyConfigure your extension API key (mk_ext_...)
Memra: Show StatusShows current connection status, active session, and message count
Memra: Copy Resume PromptCopies the most recent session context to your clipboard
Memra: Focus on Sessions ViewOpens the Memra sessions sidebar panel
Memra: Start New SessionManually starts a new session (normally automatic)
Memra: View Sessions in DashboardOpens the Memra web dashboard in your browser

Plans & Limits

The extension is included with every Memra plan:

FeatureFreeProEnterprise
Stored sessions550Unlimited
Auto-capture
Session restore
AI resume prompts
AI session summaries
Extension API keys111
Web dashboard

When you hit the session limit on the free plan, the extension will show a notification with an option to upgrade. You can also delete old sessions from the web dashboard to free up space.

FAQ

Does Memra read my code?

No. Memra only captures AI chat messages — the conversations you have with Copilot, Claude Code, etc. It does not read, index, or upload your source code files.

What data is stored?

Only the text of AI chat messages (user prompts and AI responses), along with metadata like timestamps and which tool was used. Messages are stored encrypted in transit and at rest.

Can I use the extension with multiple AI tools at once?

Yes. Memra captures from all supported tools simultaneously. If you use Copilot and Claude Code in the same session, messages from both appear in the same session timeline.

What happens when I switch projects?

The current session ends automatically and a new session starts for the new project. Each project has its own session history.

Can I delete a session?

Yes. From the web dashboard at Dashboard → Extension Sessions, you can delete individual sessions. You can also delete from the sessions panel in VS Code.

Does it slow down VS Code?

No. The extension is lightweight (~31KB). File watchers and API calls are asynchronous and don't block the editor.

I clicked a session but nothing happened

Make sure you have an AI chat panel open. For Claude Code, the context is copied to clipboard — press Ctrl+V. For Copilot, it auto-fills the chat input.

Why does it say "Invalid Date" in the sidebar?

This is a display formatting issue that occurs with certain timezones. The sessions are captured correctly — the dates display properly in the web dashboard.

Ready to get started?

Install the extension and set up your key in under 2 minutes.

Memra VS Code Extension — v0.1.0← Back to docs