Skip to content
VS Code

memory mcp for VS Code

io.github.chenxiaofie/memory-mcp

情景+实体记忆 MCP 服务,为 Claude Code 提供持久化记忆能力

client:VS Code transport:stdio runtime:pypi

Install memory mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "claude-project-root",
      "description": "CLAUDE_PROJECT_ROOT",
      "password": true
    }
  ],
  "servers": {
    "memory-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "chenxiaofie-memory-mcp"
      ],
      "env": {
        "CLAUDE_PROJECT_ROOT": "${input:claude-project-root}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

memory mcp in other clients