Skip to content
VS Code

mcp server for VS Code

io.github.opencontext-team/mcp-server

An MCP server that provides visual memory and context storage with knowledge graph capabilities

client:VS Code transport:stdio runtime:npm

Install mcp server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "memory-file-path",
      "description": "MEMORY_FILE_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "allowed-directories",
      "description": "ALLOWED_DIRECTORIES",
      "password": true
    }
  ],
  "servers": {
    "mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "visual-memory-context-server"
      ],
      "env": {
        "MEMORY_FILE_PATH": "${input:memory-file-path}",
        "ALLOWED_DIRECTORIES": "${input:allowed-directories}"
      }
    }
  }
}

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

mcp server in other clients