Skip to content
VS Code

mcp neo4j memory for VS Code

io.github.neo4j-contrib/mcp-neo4j-memory

MCP Neo4j Knowledge Graph Memory Server

client:VS Code transport:stdio runtime:pypi

Install mcp neo4j memory in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "neo4j-uri",
      "description": "NEO4J_URI",
      "password": true
    },
    {
      "type": "promptString",
      "id": "neo4j-username",
      "description": "NEO4J_USERNAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "neo4j-password",
      "description": "NEO4J_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "neo4j-database",
      "description": "NEO4J_DATABASE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "neo4j-namespace",
      "description": "NEO4J_NAMESPACE",
      "password": true
    }
  ],
  "servers": {
    "mcp-neo4j-memory": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-neo4j-memory"
      ],
      "env": {
        "NEO4J_URI": "${input:neo4j-uri}",
        "NEO4J_USERNAME": "${input:neo4j-username}",
        "NEO4J_PASSWORD": "${input:neo4j-password}",
        "NEO4J_DATABASE": "${input:neo4j-database}",
        "NEO4J_NAMESPACE": "${input:neo4j-namespace}"
      }
    }
  }
}

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

mcp neo4j memory in other clients