Neo4j MCP Server for Cursor
@ezedinff
About Neo4j MCP Server for Cursor
A Cursor MCP (Model Context Protocol) server that enables seamless interaction with Neo4j databases directly from the Cursor IDE.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"neo4j-mcp": {
"command": "bun",
"args": [
"run",
"index.ts"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Neo4j MCP Server for Cursor?
The Neo4j MCP Server for Cursor is a Model Context Protocol server that allows users to interact with Neo4j databases directly from the Cursor IDE. It enables executing Cypher queries, retrieving database metrics, and monitoring connection status through standard MCP tools.
How to use Neo4j MCP Server for Cursor?
Clone the repository, install dependencies with Bun (v1.0.0+), and configure Neo4j credentials in a .env file. The server uses stdio transport and is launched by Cursor. Six tools are available: connect with explicit credentials, connect with environment variables, execute a Cypher query, get database information, get connection status, and disconnect. For testing, run bun run index.ts or ./run-mcp-server.sh.
Key features of Neo4j MCP Server for Cursor
- Connect to local or remote Neo4j databases
- Execute Cypher queries with optional parameters
- Transform Neo4j data types to JavaScript objects
- Retrieve database version, node counts, and labels
- Monitor connection state and diagnostics
- Manage credentials securely via environment variables
Use cases of Neo4j MCP Server for Cursor
- Run Cypher queries to explore a graph database while coding
- Inspect database schema (labels, relationship types) without leaving Cursor
- Automate integration tests that interact with a Neo4j database
- Monitor database health and connection status during development
FAQ from Neo4j MCP Server for Cursor
What are the prerequisites for using Neo4j MCP Server for Cursor?
Bun v1.0.0 or higher and a Neo4j database (local or remote) are required. A Docker Compose file is included to run Neo4j locally.
How do I connect to a Neo4j database?
You can connect using explicit credentials (URI, username, password) or by setting environment variables (NEO4J_URI, NEO4J_USERNAME, NEO4J_PASSWORD, NEO4J_DATABASE) in a .env file.
What transport does the server use?
The server uses stdio transport via the official MCP SDK, designed for seamless integration with Cursor’s MCP support.
Can I run the server outside of Cursor for testing?
Yes, you can run bun run index.ts or the provided shell script ./run-mcp-server.sh to test the server manually.
How are credentials secured?
Credentials can be stored in a .env file or passed as parameters to the “Connect” tool. The README advises using a secure password in production.
Frequently asked questions
What are the prerequisites for using Neo4j MCP Server for Cursor?
Bun v1.0.0 or higher and a Neo4j database (local or remote) are required. A Docker Compose file is included to run Neo4j locally.
How do I connect to a Neo4j database?
You can connect using explicit credentials (URI, username, password) or by setting environment variables (`NEO4J_URI`, `NEO4J_USERNAME`, `NEO4J_PASSWORD`, `NEO4J_DATABASE`) in a `.env` file.
What transport does the server use?
The server uses stdio transport via the official MCP SDK, designed for seamless integration with Cursor’s MCP support.
Can I run the server outside of Cursor for testing?
Yes, you can run `bun run index.ts` or the provided shell script `./run-mcp-server.sh` to test the server manually.
How are credentials secured?
Credentials can be stored in a `.env` file or passed as parameters to the “Connect” tool. The README advises using a secure password in production.
Basic information
More Developer Tools MCP servers

BetterBugs
BetterBugsThe BetterBugs MCP (Model Context Protocol) enables you to load BetterBugs bug reports (via report links) directly to your preferred AI Agents and developer environments with MCP Client capabilities (such as Cursor, VS C
Deepwiki MCP Server
regenrek📖 MCP server for fetch deepwiki.com and get latest knowledge in Cursor and other Code Editors
MCP Containers
metorialConnect any AI model to 1200+ integrations (MCP, CLI, API)
TalkToFigma
sonnylazuardiTalkToFigma: MCP integration between AI Agent (Cursor, Claude Code, Codex) and Figma, allowing Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
Hello World MCP Server (Reference Extension)
anthropicsDesktop Extensions: One-click local MCP server installation in desktop apps
Comments