Skip to content
VS Code

Neo4j GDS Agent for VS Code

io.github.neo4j-contrib/gds-agent

Neo4j Graph Data Science MCP server

client:VS Code transport:stdio runtime:pypi

Install Neo4j GDS Agent 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": "aura-api-client-id",
      "description": "AURA_API_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aura-api-client-secret",
      "description": "AURA_API_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aura-api-project-id",
      "description": "AURA_API_PROJECT_ID",
      "password": true
    }
  ],
  "servers": {
    "gds-agent": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "gds-agent"
      ],
      "env": {
        "NEO4J_URI": "${input:neo4j-uri}",
        "NEO4J_USERNAME": "${input:neo4j-username}",
        "NEO4J_PASSWORD": "${input:neo4j-password}",
        "NEO4J_DATABASE": "${input:neo4j-database}",
        "AURA_API_CLIENT_ID": "${input:aura-api-client-id}",
        "AURA_API_CLIENT_SECRET": "${input:aura-api-client-secret}",
        "AURA_API_PROJECT_ID": "${input:aura-api-project-id}"
      }
    }
  }
}

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

Neo4j GDS Agent in other clients