Neo4j MCP Server
@dandelionmayday123
Neo4j MCP Server - A microservice for Neo4j database operations
Overview
What is Neo4j MCP Server?
An MCP framework-based service for operating a Neo4j database. It provides basic Neo4j operations through asynchronous interfaces, supports proxy server configuration, and includes complete logging. Designed for developers who need to interact with Neo4j via the Model Context Protocol.
How to use Neo4j MCP Server?
Install with pip install -e ., configure by creating a .env file with NEO4J_URI, NEO4J_USERNAME, and NEO4J_PASSWORD, then start the server with python src/server.py. Use an MCP client to execute Cypher queries, create nodes, and create relationships.
Key features of Neo4j MCP Server
- Asynchronous operations for all database interactions
- Basic Neo4j database operation interfaces
- Proxy server configuration (HTTP/HTTPS)
- Complete logging
Use cases of Neo4j MCP Server
- Execute Cypher queries against a Neo4j database
- Create labeled nodes with property data
- Create relationships between nodes with properties
FAQ from Neo4j MCP Server
What operations does Neo4j MCP Server support?
It supports executing Cypher queries, creating nodes with labels and properties, and creating relationships between nodes.
What are the runtime requirements and dependencies?
A Neo4j database server, Python, and an MCP client. The service uses environment variables from a .env file for configuration.
Where is data stored after an operation?
Data is stored in the connected Neo4j database; this server does not persist data locally.
How is Neo4j MCP Server configured and authenticated?
Configure via environment variables: NEO4J_URI, NEO4J_USERNAME, NEO4J_PASSWORD. Optional HTTP_PROXY and HTTPS_PROXY environment variables are supported for proxy configuration. Authentication uses the Neo4j username and password.
What transport protocol does Neo4j MCP Server use?
It connects to a Neo4j server over HTTP (via the provided NEO4J_URI). Connections from the MCP client to this server likely use the Transport layer of the MCP framework. Optional HTTP/HTTPS proxy support is built in.