Skip to main content
Glama

Neo4j MCP 服务器

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

特征

  • Neo4j连接的环境变量配置

  • 支持自定义端口和远程 Neo4j 实例

  • 改进的错误处理和日志记录

  • 模型上下文协议兼容

Related MCP server: Neo4j MCP Server

配置

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

  • 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 实例

执照

麻省理工学院

F
license - not found
-
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rebots-online/mcp-neo4j'

If you have feedback or need assistance with the MCP directory API, please join our Discord server