Dgraph MCP Server
@johnymontana
Dgraph MCP Server について
A Model Context Protocol (MCP) server implementation for Dgraph graph database, built using the [mcp-go](https://github.com/mark3labs/mcp-go) library.
基本情報
設定
ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Dgraph MCP Server?
A Model Context Protocol (MCP) server that enables LLM applications to interact with a Dgraph graph database. It provides tools for executing DQL queries, performing mutations, altering the schema, and retrieving the current schema. Built using the mcp-go library and intended for developers using Dgraph with LLMs.
How to use Dgraph MCP Server?
- Clone the repository and install dependencies with
go mod download. - Set the
DGRAPH_HOSTenvironment variable (default:localhost:9080). - Run the server with
go run main.go. The server uses standard input/output for communication with LLM applications.
Key features of Dgraph MCP Server
- Execute DQL queries with optional variables.
- Perform RDF mutations with configurable commit behavior.
- Alter the Dgraph schema via schema definitions.
- Retrieve the current Dgraph schema as an MCP resource.
- Easy integration with any MCP‑compatible LLM framework.
Use cases of Dgraph MCP Server
- Querying a Dgraph graph database from an LLM application.
- Adding new nodes and relationships via mutations.
- Updating or extending the Dgraph schema on the fly.
- Exploring the current schema for context before generating queries.
- Automating graph database operations through natural language prompts.
FAQ from Dgraph MCP Server
What is the Model Context Protocol (MCP)?
MCP is a standard that allows LLM applications to communicate with external tools and data sources. This server implements an MCP interface for Dgraph.
What are the prerequisites to run the server?
Go 1.18 or higher and a running Dgraph database (local or remote) are required.
Where does the Dgraph data live?
Data lives in the Dgraph database instance configured via the DGRAPH_HOST environment variable. The server itself does not store any data.
How does the server communicate with LLM applications?
It uses standard input/output (stdio) as the transport, making it compatible with any LLM framework that supports MCP over stdio.
How do I configure the Dgraph connection?
Set the DGRAPH_HOST environment variable to the gRPC address of your Dgraph instance (default: localhost:9080).
「その他」の他のコンテンツ
ICSS
chokcoco不止于 CSS
Codelf
unbugA search tool helps dev to solve the naming things problem.
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Mcp
browsermcpBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
コメント