Dgraph
Summary
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.
Available Actions(3)
dgraph_query
Execute a DQL query against Dgraph. Parameters: query (string, required), variables (object, optional)
dgraph_mutate
Execute a mutation against Dgraph. Parameters: mutation (string, required), commit (boolean, optional)
dgraph_alter_schema
Alter the Dgraph schema. Parameters: schema (string, required)
社区评论
暂无评论. 成为第一个评论的人!
登录以参与讨论