Skip to content

Commit 34f6574

Browse files
committed
update readmes and add env support for memory mcp
1 parent 6571643 commit 34f6574

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

servers/mcp-neo4j-cypher/README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ Here is an example connection for the movie database with Movie, Person (Actor,
6565
"env": {
6666
"NEO4J_URI": "neo4j+s://demo.neo4jlabs.com",
6767
"NEO4J_USERNAME": "recommendations",
68-
"NEO4J_PASSWORD": "recommendations"
68+
"NEO4J_PASSWORD": "recommendations",
69+
"NEO4J_DATABASE": "recommendations"
6970
}
7071
}
7172
}
@@ -101,10 +102,11 @@ Here is an example connection for the movie database with Movie, Person (Actor,
101102
"mcpServers": {
102103
"movies-neo4j": {
103104
"command": "uvx",
104-
"args": ["mcp-neo4j-cypher@0.1.1",
105+
"args": ["mcp-neo4j-cypher@0.2.1",
105106
"--db-url", "neo4j+s://demo.neo4jlabs.com",
106107
"--user", "recommendations",
107-
"--password", "recommendations"]
108+
"--password", "recommendations",
109+
"--database", "recommendations"]
108110
}
109111
}
110112
}
@@ -179,7 +181,8 @@ uv pip install -e ".[dev]"
179181
"env": {
180182
"NEO4J_URI": "bolt://localhost",
181183
"NEO4J_USERNAME": "neo4j",
182-
"NEO4J_PASSWORD": "<your-password>"
184+
"NEO4J_PASSWORD": "<your-password>",
185+
"NEO4J_DATABASE": "neo4j"
183186
}
184187
}
185188
}

servers/mcp-neo4j-memory/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Add the server to your `claude_desktop_config.json` with configuration of:
119119
"neo4j": {
120120
"command": "uvx",
121121
"args": [
122-
"mcp-neo4j-memory==0.1.1",
122+
"mcp-neo4j-memory@0.1.2",
123123
"--db-url",
124124
"neo4j+s://xxxx.databases.neo4j.io",
125125
"--username",
@@ -137,7 +137,7 @@ Alternatively, you can set environment variables:
137137
"mcpServers": {
138138
"neo4j": {
139139
"command": "uvx",
140-
"args": [ "mcp-neo4j-memory==0.1.1" ],
140+
"args": [ "mcp-neo4j-memory==0.1.2" ],
141141
"env": {
142142
"NEO4J_URL": "neo4j+s://xxxx.databases.neo4j.io",
143143
"NEO4J_USERNAME": "<your-username>",
@@ -159,7 +159,7 @@ Alternatively, you can set environment variables:
159159
"-e", "NEO4J_URL=neo4j+s://xxxx.databases.neo4j.io",
160160
"-e", "NEO4J_USERNAME=<your-username>",
161161
"-e", "NEO4J_PASSWORD=<your-password>",
162-
"mcp/neo4j-memory:0.1.1"
162+
"mcp/neo4j-memory:0.1.2"
163163
]
164164
}
165165
}

servers/mcp-neo4j-memory/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "mcp-neo4j-memory"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
description = "MCP Neo4j Knowledge Graph Memory Server"
55
readme = "README.md"
66
requires-python = ">=3.10"

servers/mcp-neo4j-memory/src/mcp_neo4j_memory/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ def main():
88
"""Main entry point for the package."""
99
parser = argparse.ArgumentParser(description='Neo4j Cypher MCP Server')
1010
parser.add_argument('--db-url',
11-
default="bolt://localhost:7687",
11+
default=os.getenv("NEO4J_URL", "bolt://localhost:7687"),
1212
help='Neo4j connection URL')
1313
parser.add_argument('--username',
14-
default="neo4j",
14+
default=os.getenv("NEO4J_USERNAME", "neo4j"),
1515
help='Neo4j username')
1616
parser.add_argument('--password',
17-
default="password",
17+
default=os.getenv("NEO4J_PASSWORD", "password"),
1818
help='Neo4j password')
1919

2020
args = parser.parse_args()

0 commit comments

Comments
 (0)