MCP.so
ログイン

Neo4j MCP Server for Cursor

@ezedinff

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

ezedinff

Neo4j MCP Server for Cursor について

A Cursor MCP (Model Context Protocol) server that enables seamless interaction with Neo4j databases directly from the Cursor IDE.

Neo4j MCP Server for Cursor の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "neo4j-mcp": {
      "command": "bun",
      "args": [
        "run",
        "index.ts"
      ]
    }
  }
}

Neo4j MCP Server for Cursor のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

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

よくある質問

1

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.

2

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.

3

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.

4

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.

5

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.

コメント

「開発者ツール」の他のコンテンツ