Neo4j MCP Server

by rebots-online
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Provides integration with Neo4j for storing and managing knowledge graph memory, allowing operations like creating entities, creating relations, adding observations, deleting entities, deleting observations, deleting relations, reading the graph, searching nodes, and opening specific nodes.

Neo4j MCP 服务器

Neo4j 模型上下文协议 (MCP) 服务器的分支,具有环境变量支持和改进的配置选项。

特征

  • Neo4j连接的环境变量配置
  • 支持自定义端口和远程 Neo4j 实例
  • 改进的错误处理和日志记录
  • 模型上下文协议兼容

配置

可以使用以下环境变量配置服务器:

  • NEO4J_URL - Neo4j 连接 URL(默认值:“bolt://localhost:7687”)
  • NEO4J_USER - Neo4j 用户名(默认值:“neo4j”)
  • NEO4J_PASSWORD - Neo4j 密码(默认值:“neo4j”)

例子:

NEO4J_URL="bolt://192.168.0.157:28687" \ NEO4J_USER="neo4j" \ NEO4J_PASSWORD="your-password" \ node dist/servers/mcp-neo4j-memory/main.js

可用工具

mcp-neo4j-内存

存储在 Neo4j 中的知识图谱内存具有以下功能:

  • create_entities - 在知识图谱中创建多个新实体
  • create_relations - 创建实体之间的关系(主动语态)
  • add_observations - 向现有实体添加新的观察结果
  • delete_entities - 删除实体及其关系
  • delete_observations - 从实体中删除特定观察结果
  • delete_relations - 删除特定关系
  • read_graph读取整个知识图谱
  • search_nodes - 根据查询搜索节点
  • open_nodes - 通过名称打开特定节点

发展

# Install dependencies npm install # Build npm run build # Start the server npm start

来自上游的变更

  • 增加了对 Neo4j 连接详细信息的环境变量支持
  • 改进的错误处理和连接管理
  • 添加了详细的调试日志记录
  • 更新配置以支持远程 Neo4j 实例

执照

麻省理工学院

-
security - not tested
F
license - not found
-
quality - not tested

Neo4j 模型上下文协议服务器的一个分支,可以通过环境变量配置和改进的远程连接选项实现与 Neo4j 知识图的交互。

  1. Features
    1. Configuration
      1. Available Tools
        1. mcp-neo4j-memory
      2. Development
        1. Changes from Upstream
          1. License
            ID: 684l24j5lt