nebulagraph-mcp-server

nebulagraph-mcp-server

17

The project is a Model Context Protocol server for NebulaGraph, designed to provide seamless access to NebulaGraph 3.x. It supports schema, query, and shortcut algorithms, and integrates with LLM tooling systems.

Model Context Protocol Server for NebulaGraph

A Model Context Protocol (MCP) server implementation that provides access to NebulaGraph.

PyPI - Version PyPI - Python Version Lint and Test

Features

  • Seamless access to NebulaGraph 3.x .
  • Get ready for graph exploration, you know, Schema, Query, and a few shortcut algorithms.
  • Follow Model Context Protocol, ready to integrate with LLM tooling systems.
  • Simple command-line interface with support for configuration via environment variables and .env files.

LlamaIndex with NebulaGraph MCP

Installation

pip install nebulagraph-mcp-server

Usage

nebulagraph-mcp-server will load configs from .env, for example:

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>

It requires the value of NEBULA_VERSION to be equal to v3 until we are ready for v5.

Development

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

Credits

The layout and workflow of this repo is copied from mcp-server-opendal.