图数据库协议服务

为NebulaGraph实现的模型上下文协议服务器,提供无缝访问图数据库、支持图探索与LLM工具集成。

  • by nebula-contrib
  • Python
  • 本地部署
  • 29 星标
  • 更新于
在 GitHub 查看 PsiACE/nebulagraph-mcp-server

使用说明

NebulaGraph模型上下文协议服务器

一种模型上下文协议(MCP)服务器实现,提供对 星云图.

特性

  • 无缝访问星云图3.x。
  • 准备好进行图探索,你知道,模式、查询和一些快捷算法。
  • 遵循模型上下文协议,准备与LLM工具系统集成。
  • 简单的命令行界面,支持通过环境变量和.env文件进行配置。

安装

pip install nebulagraph-mcp-server

用法

nebulagraph-mcp-server 将从加载配置 .env例如:

NEBULA_VERSION=v3 # only v3 is supported
NEBULA_HOST=<your-nebulagraph-server-host>
NEBULA_PORT=<your-nebulagraph-server-port>
NEBULA_USER=<your-nebulagraph-server-user>
NEBULA_PASSWORD=<your-nebulagraph-server-password>

它需要以下值 NEBULA_VERSION 在我们为v5做好准备之前,它将等于v3。

发展

npx @modelcontextprotocol/inspector \
  uv run nebulagraph-mcp-server

鸣谢

此仓库的布局和工作流程复制自 mcp服务器opendal.