Skip to content
VS Code

Graph Explorer for VS Code

io.github.abergkvist/mcp-graph-explorer

Query graph databases with Cypher over BOLT and see the answer as an interactive graph (MCP Apps)

client:VS Code transport:stdio runtime:npm

Install Graph Explorer in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "graph-uri",
      "description": "GRAPH_URI",
      "password": true
    },
    {
      "type": "promptString",
      "id": "graph-user",
      "description": "GRAPH_USER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "graph-password",
      "description": "GRAPH_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "graph-database",
      "description": "GRAPH_DATABASE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "graph-dialect",
      "description": "GRAPH_DIALECT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "graph-access-mode",
      "description": "GRAPH_ACCESS_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "graph-state-dir",
      "description": "GRAPH_STATE_DIR",
      "password": true
    }
  ],
  "servers": {
    "mcp-graph-explorer": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-graph-explorer"
      ],
      "env": {
        "GRAPH_URI": "${input:graph-uri}",
        "GRAPH_USER": "${input:graph-user}",
        "GRAPH_PASSWORD": "${input:graph-password}",
        "GRAPH_DATABASE": "${input:graph-database}",
        "GRAPH_DIALECT": "${input:graph-dialect}",
        "GRAPH_ACCESS_MODE": "${input:graph-access-mode}",
        "GRAPH_STATE_DIR": "${input:graph-state-dir}"
      }
    }
  }
}

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

Graph Explorer in other clients