Model Context Protocol Server for NebulaGraph

Model Context Protocol Server for NebulaGraph

为 NebulaGraph 3.x 提供的模型上下文协议服务器

PyPI版本 Python版本

一个实现 Model Context Protocol 的服务器,为 NebulaGraph 3.x 提供访问接口,便于与LLM工具系统集成。

安装

pip install nebulagraph-mcp-server

配置与启动

  1. 创建一个 .env 文件并设置以下参数:
NEBULA_VERSION=v3  # 目前仅支持v3
NEBULA_HOST=<NebulaGraph服务器主机>
NEBULA_PORT=<NebulaGraph服务器端口>
NEBULA_USER=<NebulaGraph用户名>
NEBULA_PASSWORD=<NebulaGraph密码>
  1. 启动服务器:
nebulagraph-mcp-server

开发测试

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

主要功能

  • 支持 NebulaGraph 3.x 版本
  • 提供图探索能力(模式、查询、算法)
  • 兼容 Model Context Protocol,可与LLM工具系统集成
  • 支持环境变量和.env文件配置

LlamaIndex与NebulaGraph MCP