MCP.so
Sign In
Servers

mcp-neo4j-server-sse-java

@dsimile

mcp-neo4j-server-sse-java is an MCP server implemented by Java using SSE (Server-Sent Events) server transport or STDIO transport as the transport protocol.

Overview

What is mcp-neo4j-server-sse-java?

mcp-neo4j-server-sse-java is a Java-based MCP server that integrates with Neo4j graph databases, enabling Cypher query execution and graph exploration via either SSE or STDIO transport protocols.

How to use mcp-neo4j-server-sse-java?

Clone the repository, build with mvn clean install -DskipTests (requires Java 17+), and run the jar. Configure using system properties for Neo4j connection (URI, username, password, database) and transport mode. For Cline client, add an entry to cline_mcp_settings.json specifying the server URL (SSE mode) or command arguments (STDIO mode).

Key features of mcp-neo4j-server-sse-java

  • Supports both SSE and STDIO transport protocols.
  • Execute Cypher read queries (read-neo4j-cypher) and write queries (write-neo4j-cypher).
  • Retrieve graph schema (node types, attributes, relationships) via get-neo4j-schema.
  • Built with Spring AI and Spring WebFlux for automatic tool registration.
  • Includes a mcp-demo prompt for guided database operations.

Use cases of mcp-neo4j-server-sse-java

  • Querying a Neo4j graph database from an AI assistant.
  • Exploring node and relationship schemas before performing analysis.
  • Updating or creating graph data via Cypher write operations.
  • Interactive database operations guided by the demo prompt.

FAQ from mcp-neo4j-server-sse-java

What transport modes does the server support?

The server supports both Server-Sent Events (SSE) and standard input/output (STDIO) transport.

What runtime dependencies are required?

You need Java 17+, Maven to build, and a running Neo4j instance accessible at the configured endpoint.

How do I configure the Neo4j connection?

Set system properties for neo4j.uri, neo4j.username, neo4j.password, and neo4j.database (each has defaults: neo4j://localhost:7687, neo4j, neo4j, neo4j respectively).

How do I run the server in STDIO mode?

Set spring.ai.mcp.server.stdio=true and spring.main.web-application-type=none, then pass Neo4j properties via command line: java -Dspring.ai.mcp.server.stdio=true ... -jar <jar>.

Is this server open-source and what license does it use?

Yes, the server is open-source under the MIT License.

Tags

More from Other