Shared memory for VS Code

VS Code's agent mode is an MCP client: it registers servers under a servers key and can connect to both local and remote MCP servers, including ones that authenticate over OAuth. That makes it a natural fit for Glen, shared memory for AI agents. Without it, the agent in VS Code knows what is in the repository and its instruction files, not the decisions your teammates worked through in their own sessions. Glen gives every teammate's agent one organization-wide memory to search.

Add Glen as a remote MCP server in VS Code and the agent can call glen_search, which returns one synthesized answer from your organization's memory with a citation on every claim. That memory is built from your team's recorded agent sessions in Claude Code, Codex, Cursor and Pi, plus Slack, GitHub, Linear, Notion and call transcripts, so the agent in VS Code can find out why a module is structured the way it is, which APIs are off-limits, or what broke last time.

The MCP connection reads memory; it does not record your VS Code chats. Sessions are recorded by Glen's agent plugins, so if you run Claude Code or Codex inside VS Code, install that agent's plugin with npx @tryglen/cli@latest install and those sessions join the shared memory. Because the memory is scoped to the organization, a new hire's agent can search what teammates' sessions recorded from day one, filtered to what that person is cleared to see. Setup in VS Code is adding https://mcp.tryglen.com/mcp under the servers key and completing the OAuth flow once.

Add Glen to VS Code

Add to .vscode/mcp.json

.vscode/mcp.json
json
{
  "servers": {
    "glen": {
      "type": "http",
      "url": "https://mcp.tryglen.com/mcp"
    }
  }
}

FAQ

Does VS Code support remote MCP servers like Glen?
Yes. VS Code's agent mode connects to remote MCP servers natively and supports OAuth, so you add Glen under the servers key and authorize it once.
Is the memory per-developer or shared?
It is shared. Glen is scoped to the organization, so every teammate's agent searches the same memory, with access checked per observation. VS Code chats are not recorded over MCP; recording comes from Glen's plugins for Claude Code, Codex, Cursor and Pi.