N

Neo4j

Community

A community built server that interacts with Neo4j Graph Database.

Community Server

This server is maintained by the community. Please review the source code before connecting it to your agent.

A community built server that interacts with Neo4j Graph Database. This server enables AI agents to interact with Neo4j to perform various tasks and retrieve information.

From Official RepositoryMIT
Synced: Jan 24, 2026

Quick Install

npx
npx @alanse/mcp-neo4j

MCP Configuration

json
{
  "mcpServers": {
    "neo4j": {
      "command": "npx",
      "args": [
        "@alanse/mcp-neo4j-server"
      ],
      "env": {
        "NEO4J_URI": "bolt://localhost:7687",
        "NEO4J_USERNAME": "neo4j",
        "NEO4J_PASSWORD": "your-password",
        "NEO4J_DATABASE": "neo4j"
      }
    }
  }
}

Required Environment Variables

NEO4J_PASSWORD

Available Tools

3 tools
execute_queryExecute Cypher queries on the Neo4j database
create_nodeCreate a new node in the graph database
create_relationshipCreate a relationship between two existing nodes

Setup Guide

Please refer to the official repository for installation instructions.

How to Connect in Antigravity

To connect to a custom MCP server in Antigravity:

1
Open the MCP store via the "..." dropdown at the top of the editor's agent panel.
2
Click on "Manage MCP Servers"
3
Click on "View raw config"
4
Modify the mcp_config.json with your custom MCP server configuration.

Here is an example configuration compatible with MCP-enabled editors like Antigravity, Windsurf, Claude Desktop, and Cursor:

{
  "mcpServers": {
    "supabase-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@supabase/mcp-server-supabase@latest",
        "--access-token",
        "add-token-here"
      ],
      "env": {}
    },
    "github-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_PERSONAL_ACCESS_TOKEN",
        "ghcr.io/github/github-mcp-server"
      ],
      "env": {
        "GITHUB_PERSONAL_ACCESS_TOKEN": "add-your-token-here"
      }
    }
  }
}

This configuration defines two servers: one running via npx (Supabase) and another via docker (GitHub). Make sure to replace the placeholder tokens with your actual API keys.

For a detailed step-by-step walkthrough, check out our MCP Tutorial or explore more in our Top 10 Essential MCP Servers guide.

How to Connect in Cursor

To add this MCP server to Cursor:

1
Open Cursor Settings (File > Preferences > Cursor Settings).
2
Navigate to Features > MCP Servers.
3
Click on "Add new MCP server".
4
Enter the Name, Command, and Arguments as specified in the configuration above.

For more details, refer to the official Cursor MCP documentation.

Related Servers