Neo4j GDS Agent
v1.2.2Neo4j Graph Data Science MCP server
Values you need
| Variable | What it is | |
|---|---|---|
NEO4J_URI | required | Neo4j connection URI (neo4j:// or neo4j+s://) |
NEO4J_USERNAME | required | Neo4j username |
NEO4J_PASSWORD | required secret | Neo4j password |
NEO4J_DATABASE | optional | Neo4j database name |
NEO4J_READ_ONLY | optional | Set to false to expose write_neo4j_cypher. The write tool stays hidden otherwise. |
AURA_API_CLIENT_ID | optional | Aura API client ID (enables Aura Graph Analytics session mode) |
AURA_API_CLIENT_SECRET | optional secret | Aura API client secret |
AURA_API_PROJECT_ID | optional | Aura project ID (only if the API client can access multiple projects) |
PyPI (uvx)
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add gds-agent -e 'NEO4J_PASSWORD=<NEO4J_PASSWORD>' -e 'NEO4J_URI=<NEO4J_URI>' -e 'NEO4J_USERNAME=<NEO4J_USERNAME>' -- uvx gds-agent==1.2.2Add to
claude_desktop_config.json{
"mcpServers": {
"gds-agent": {
"args": [
"gds-agent==1.2.2"
],
"command": "uvx",
"env": {
"NEO4J_PASSWORD": "<NEO4J_PASSWORD>",
"NEO4J_URI": "<NEO4J_URI>",
"NEO4J_USERNAME": "<NEO4J_USERNAME>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"gds-agent": {
"args": [
"gds-agent==1.2.2"
],
"command": "uvx",
"env": {
"NEO4J_PASSWORD": "<NEO4J_PASSWORD>",
"NEO4J_URI": "<NEO4J_URI>",
"NEO4J_USERNAME": "<NEO4J_USERNAME>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "NEO4J_PASSWORD",
"id": "neo4j-password",
"password": true,
"type": "promptString"
},
{
"description": "NEO4J_URI",
"id": "neo4j-uri",
"password": true,
"type": "promptString"
},
{
"description": "NEO4J_USERNAME",
"id": "neo4j-username",
"password": true,
"type": "promptString"
}
],
"servers": {
"gds-agent": {
"args": [
"gds-agent==1.2.2"
],
"command": "uvx",
"env": {
"NEO4J_PASSWORD": "${input:neo4j-password}",
"NEO4J_URI": "${input:neo4j-uri}",
"NEO4J_USERNAME": "${input:neo4j-username}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.gds-agent]
command = "uvx"
args = ["gds-agent==1.2.2"]
env = { "NEO4J_PASSWORD" = "<NEO4J_PASSWORD>", "NEO4J_URI" = "<NEO4J_URI>", "NEO4J_USERNAME" = "<NEO4J_USERNAME>" }For AI agents
- Ask the user for: NEO4J_URI, NEO4J_USERNAME, NEO4J_PASSWORD. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json