Skip to Content
remimem
Connect a client

VS Code (Copilot)

Add remimem to GitHub Copilot in VS Code with a workspace-root .mcp.json, or the older .vscode/mcp.json.

Add the server

Create .mcp.json in the workspace root. This is the format VS Code's documentation recommends for new configurations:

.mcp.json
{
  "mcpServers": {
    "remimem": { "type": "stdio", "command": "npx", "args": ["-y", "remimem", "serve"] }
  }
}

The same file also works for Claude Code, so one committed .mcp.json serves both.

Older VS Code versions

Versions that predate the workspace-root file read .vscode/mcp.json, which uses a servers key instead of mcpServers:

.vscode/mcp.json
{
  "servers": {
    "remimem": { "type": "stdio", "command": "npx", "args": ["-y", "remimem", "serve"] }
  }
}

VS Code's documentation now describes this file as the deprecated format. remimem init prints both.

For a configuration that applies to every workspace, use Chat: Open Customizations, then MCP Servers, then Add Server, and choose the global destination.

Confirm it works

Open the Command Palette, run Chat: Open Customizations, and select MCP Servers. remimem should be listed. In Copilot Chat, ask: Use the remimem get_context tool for "how are requests authenticated" and show the result, then expand the tool call to check it used remimem.

Common problems

On this page