Quickstart
Installation
pip install neo4j-mcp-server
For a more comprehensive installation guide, see Installation.
Server configuration (VSCode)
Create / edit mcp.json:
{
"servers": {
"neo4j": {
"type": "stdio",
"command": "python",
"args": ["-m", "neo4j_mcp_server"],
"env": {
"NEO4J_URI": "bolt://localhost:7687",
"NEO4J_USERNAME": "neo4j",
"NEO4J_PASSWORD": "password",
"NEO4J_DATABASE": "neo4j",
"NEO4J_READ_ONLY": "true",
"NEO4J_TELEMETRY": "false",
"NEO4J_LOG_LEVEL": "info",
"NEO4J_LOG_FORMAT": "text",
"NEO4J_SCHEMA_SAMPLE_SIZE": "100"
}
}
}
}
See Configuration reference for more details.