Dgraph MCP Server provides a bridge between language models and Dgraph graph databases, enabling AI assistants to execute DQL queries, perform mutations, and manage database schemas. Built in Go using the mcp-go library, it exposes specialized tools for database operations and includes a resource endpoint for retrieving schema information. The implementation features a Docker-based deployment option with a complete Dgraph environment and includes example code for both simple database operations and a more complex movie database application. Ideal for developers who want to leverage AI assistants for graph database interactions without switching context to separate database tools.
Execute a DQL query against Dgraph. Parameters: query (string, required), variables (object, optional)
Execute a mutation against Dgraph. Parameters: mutation (string, required), commit (boolean, optional)
Alter the Dgraph schema. Parameters: schema (string, required)
No reviews yet. Be the first to review!
Sign in to join the conversation
Our bundler currently only supports TypeScript-based servers. Check back soon!