Skip to main content
Glama
kuzudb

Kuzu MCP server

Official
by kuzudb

kuzu-mcp-服务器

提供对 Kuzu 数据库访问的模型上下文协议 (MCP) 服务器。该服务器使 LLM 能够检查数据库模式并在提供的 Kuzu 数据库上执行查询。

成分

工具

  • 获取Schema

    • 获取 Kuzu 数据库的完整模式,包括所有节点和关系表及其属性

    • 输入:无

  • 询问

    • 在 Kuzu 数据库上运行 Cypher 查询

    • 输入: cypher (字符串):要运行的 Cypher 查询

迅速的

  • 生成KuzuCypher

    • 为 Kuzu 生成 Cypher 查询

    • 参数: question (字符串):用于生成 Cypher 查询的自然语言问题

Related MCP server: MCP-Python

与 Claude Desktop 一起使用

使用 Docker(推荐)

  • 编辑配置文件config.json

    • 在 macOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json

    • 在 Windows 上: %APPDATA%\Claude\claude_desktop_config.json

  • mcpServers对象添加以下配置:

    { "mcpServers": { "kuzu": { "command": "docker", "args": [ "run", "-v", "{Absolute Path to the Kuzu database}:/database", "--rm", "-i", "kuzudb/mcp-server" ] } } }

    {Absolute Path to the Kuzu database}更改为实际路径

  • 重启Claude桌面

使用 Node.js 和 npm(用于开发)

  • 安装依赖项: npm install

  • 编辑配置文件config.json

    • 在 macOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json

    • 在 Windows 上: %APPDATA%\Claude\claude_desktop_config.json

  • mcpServers对象添加以下配置:

    { "mcpServers": { "kuzu": { "command": "node", "args": [ "{Absolute Path to this repository}/index.js", "{Absolute Path to the Kuzu database}", ] } } }

    {Absolute Path to this repository}{Absolute Path to the Kuzu database}更改为实际路径

  • 重启Claude桌面

只读模式

通过将KUZU_READ_ONLY环境变量设置为true ,可以使服务器以只读模式运行。在此模式下,运行任何尝试修改数据库的查询都将导致错误。此标志可以在配置文件中设置,如下所示:

{ "mcpServers": { "kuzu": { "command": "docker", "args": [ "run", "-v", "{Absolute Path to the Kuzu database}:/database", "-e", "KUZU_READ_ONLY=true", "--rm", "-i", "kuzudb/mcp-server" ], } } }
One-click Deploy
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kuzudb/kuzu-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server