Official Integration

VS Code memory

Memory for GitHub Copilot in VS Code: one-click MCP install, exact configs for every scope, and the coding agent on github.com.

Overview

Connect the MemorySync MCP server to VS Code and Copilot’s agent mode gains a memory that persists across sessions, workspaces, Dev Containers and Codespaces: search past decisions, store durable facts, and start every task already briefed. Install is one click (the vscode:mcp/install deeplink), one command (code --add-mcp or the MemorySync installer), or one config block — documented exactly for every scope VS Code reads, with the API-key input-variable pattern (VS Code prompts once, masks the value, never writes it to disk) or OAuth via dynamic client registration. The only memory vendor with a real VS Code guide: Mem0’s page 404s and Supermemory’s generic snippet uses the wrong top-level key for VS Code. Read tools carry readOnlyHint, so recall runs without confirmation dialogs.

Setup status and requirements

Supported version
MemorySync MCP (hosted)
Last setup review
2026-08-24
Permissions
A MemorySync API key with read and write scopes, or OAuth sign-in on first connection.
Limits
MCP tools run in agent mode only (VS Code platform rule). The github.com coding agent supports header auth only — no OAuth — and requires the COPILOT_MCP_ secret prefix.
Open setup documentation →

Capabilities

Quick Start

# One command:
code --add-mcp '{"name":"memorysync","type":"http","url":"https://mcp.memorysync.io/mcp"}'
# Or both servers via the installer:
npx memorysync-mcp-install --client vscode-user

Use Cases

Copilot agent-mode sessions that remember decisions across workspaces

Team-shared memory via a repo .vscode/mcp.json

The github.com coding agent opening PRs with your project context

Guides and related pages

Explore More

Add long-term memory to VS Code

Start free with 10,000 add requests a month and no credit card. Memory is stored per end user and comes back in every later session.