simplemem

VS Code memory: add simplemem to GitHub Copilot with MCP

Updated November 2026

Connect simplemem to GitHub Copilot in VS Code as a remote MCP server, so Copilot's agent shares memory with Cursor, Claude Code, and your other tools.

How memory works in VS Code today

GitHub Copilot has its own memory feature. Copilot Memory runs in GitHub's cloud with repository and user scopes, and it is on by default. Repository memories need a repo hosted on GitHub.

Copilot Memory is for Copilot. Claude, Cursor, and your agents cannot read it. simplemem is a memory all of them share, and you can read and edit every entry in its dashboard. VS Code connects to it as a remote MCP server with a header.

Connect simplemem to VS Code

  1. Sign in to simplemem with Google and generate an access key in the dashboard.
  2. Create .vscode/mcp.json in your workspace with the config below. VS Code asks for your access key the first time the server starts and stores it securely.
  3. Start the server from the Start link above its entry in mcp.json, or run MCP: List Servers from the Command Palette.
  4. Open Copilot Chat in agent mode and check that the simplemem tools are listed in the tools picker.
  5. Ask Copilot to remember something, then check the dashboard.

Configuration

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "simplemem-key",
      "description": "simplemem access key",
      "password": true
    }
  ],
  "servers": {
    "simplemem": {
      "type": "http",
      "url": "https://simplemem.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${input:simplemem-key}"
      }
    }
  }
}
Copilot harness: ~/.copilot/mcp-config.json (key from an env var)
{
  "mcpServers": {
    "simplemem": {
      "type": "http",
      "url": "https://simplemem.com/api/mcp",
      "headers": {
        "Authorization": "Bearer ${SIMPLEMEM_KEY}"
      },
      "tools": ["*"]
    }
  }
}

Replace YOUR_ACCESS_KEY with the key from your simplemem dashboard. Treat it like a password.

Notes

  • VS Code is moving Copilot to a new "Copilot harness" that reads ~/.copilot/mcp-config.json (shared with Copilot CLI) and a workspace .mcp.json. It does not support inputs, so use an environment variable such as SIMPLEMEM_KEY there. Use that file if simplemem does not show up from .vscode/mcp.json.
  • The MCP: Add Server command can also add the server for you. Choose HTTP and enter the URL, then add the header.

What your assistant will save

Nothing is saved automatically. VS Code writes a memory only when it calls add_memory, usually because you asked it to remember something. Each memory is one short line, and the dashboard shows which tool saved it:

  • Works mostly in C# and .NET 9 at work, Rust at home.via VS Code
  • Prefers explanations with a short code sample.via VS Code
  • Team repo uses trunk-based development with feature flags.via VS Code

You can read, search, edit, delete, and export every memory from the dashboard.

Endpoint

Use https://simplemem.com/api/mcp (Streamable HTTP) with Authorization: Bearer YOUR_ACCESS_KEY. The server has four tools: get_memories, add_memory, update_memory, and delete_memory. See the API reference.

FAQ

Does Copilot have memory?

Yes. Copilot Memory stores repository and user memories in GitHub's cloud. It is only used by Copilot. simplemem is shared with your other AI tools.

Where does VS Code keep MCP servers?

In .vscode/mcp.json for a workspace, or your user MCP configuration. The newer Copilot harness also reads ~/.copilot/mcp-config.json and a workspace .mcp.json.

Is my key stored in the file?

Not with the inputs setup above. VS Code prompts for it once and stores it securely.

Try simplemem

Sign in with Google, generate an access key, and connect your first AI tool. Free for 100 memories. Pro is $5/month or $48/year.