Skip to content

Commit 8e61296

Browse files
authored
cypher - fix docker hub integration bug
1 parent cd821e0 commit 8e61296

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

servers/mcp-neo4j-cypher/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
### Fixed
44

55
### Changed
6+
* Change default transport to `stdio` in Dockerfile
67

78
### Added
89
* Added Cypher result sanitation function from Neo4j GraphRAG that removes embedding values from the result

servers/mcp-neo4j-cypher/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ ENV NEO4J_USERNAME="neo4j"
2626
ENV NEO4J_PASSWORD="password"
2727
ENV NEO4J_DATABASE="neo4j"
2828
ENV NEO4J_NAMESPACE=""
29-
ENV NEO4J_TRANSPORT="http"
29+
ENV NEO4J_TRANSPORT="stdio"
3030
ENV NEO4J_MCP_SERVER_HOST="0.0.0.0"
3131
ENV NEO4J_MCP_SERVER_PORT="8000"
3232
ENV NEO4J_MCP_SERVER_PATH="/api/mcp/"

servers/mcp-neo4j-cypher/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,14 @@ docker run -p 8000:8000 \
7575

7676
The server supports different transport protocols depending on your deployment:
7777

78-
- **STDIO** (default for local development): Standard input/output for Claude Desktop and local tools
79-
- **HTTP** (default for Docker): RESTful HTTP for web deployments and microservices
78+
- **STDIO** (for local development): Standard input/output for Claude Desktop and local tools
79+
- **HTTP** (for remote deployments): RESTful HTTP for web deployments and microservices
8080
- **SSE**: Server-Sent Events for legacy web-based deployments
8181

8282
Choose your transport based on use case:
8383

8484
- **Local development/Claude Desktop**: Use `stdio`
85-
- **Docker/Remote deployment**: Use `http`
85+
- **Remote deployment**: Use `http`
8686
- **Legacy web clients**: Use `sse`
8787

8888
## 🔧 Usage with Claude Desktop
@@ -239,7 +239,7 @@ Here we use the Docker Hub hosted Cypher MCP server image with stdio transport f
239239

240240
## 🐳 Docker Deployment
241241

242-
The Neo4j MCP server can be deployed using Docker for remote deployments. Docker deployment uses HTTP transport by default for web accessibility. In order to integrate this deployment with applications like Claude Desktop, you will have to use a proxy in your MCP configuration such as `mcp-remote`.
242+
The Neo4j MCP server can be deployed using Docker for remote deployments. Docker deployment should use HTTP transport for web accessibility. In order to integrate this deployment with applications like Claude Desktop, you will have to use a proxy in your MCP configuration such as `mcp-remote`.
243243

244244
### 📦 Using Your Built Image
245245

0 commit comments

Comments
 (0)