kuzu-mcp-服务器
提供对 Kuzu 数据库访问的模型上下文协议 (MCP) 服务器。该服务器使 LLM 能够检查数据库模式并在提供的 Kuzu 数据库上执行查询。
成分
工具
获取Schema
获取 Kuzu 数据库的完整模式,包括所有节点和关系表及其属性
输入:无
询问
在 Kuzu 数据库上运行 Cypher 查询
输入:
cypher
(字符串):要运行的 Cypher 查询
迅速的
生成KuzuCypher
为 Kuzu 生成 Cypher 查询
参数:
question
(字符串):用于生成 Cypher 查询的自然语言问题
与 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
,可以使服务器以只读模式运行。在此模式下,运行任何尝试修改数据库的查询都将导致错误。此标志可以在配置文件中设置,如下所示:
local-only server
The server can only run on the client's local machine because it depends on local resources.
该服务器使用 Claude Desktop 或 Cursor 等客户端实现用户与其 Kuzu 数据库之间的自然语言交互,允许 LLM 检索数据库模式、执行 Cypher 查询、创建节点以及在图形数据库中建立关系。
Related MCP Servers
- AsecurityFlicenseAqualityThe server facilitates natural language interactions for exploring and understanding codebases, providing insights into data models and system architecture using a cost-effective, simple setup with support for existing Claude Pro subscriptions.Last updated -419
- -securityFlicense-qualityA server that enables interaction with PostgreSQL, MySQL, MariaDB, or SQLite databases through Claude Desktop using natural language queries.Last updated -
- -securityFlicense-qualityA protocol server that enables LLMs like Claude to interact with MongoDB databases, providing tools for schema exploration, aggregation queries, and data analysis through natural language in Cursor.Last updated -012
- AsecurityAlicenseAqualityA server that enables LLMs like Claude to interact with Azure Cosmos DB databases through natural language queries, acting as a translator between AI assistants and database systems.Last updated -42MIT License