Skip to main content
Glama
Kuzu MCP server

Kuzu MCP server

Official
by kuzudb

Kuzu-MCP-Server

Ein Model Context Protocol-Server, der Zugriff auf Kuzu-Datenbanken bietet. Dieser Server ermöglicht LLMs die Überprüfung von Datenbankschemata und die Ausführung von Abfragen in der bereitgestellten Kuzu-Datenbank.

Komponenten

Werkzeuge

  • getSchema

    • Holen Sie sich das vollständige Schema der Kuzu-Datenbank, einschließlich aller Knoten- und Beziehungstabellen und ihrer Eigenschaften

    • Eingabe: Keine

  • Abfrage

    • Führen Sie eine Cypher-Abfrage in der Kuzu-Datenbank aus

    • Eingabe: cypher (Zeichenfolge): Die auszuführende Cypher-Abfrage

Prompt

  • KuzuCypher generieren

    • Generieren Sie eine Cypher-Abfrage für Kuzu

    • Argument: question (Zeichenfolge): Die Frage in natürlicher Sprache, für die die Cypher-Abfrage generiert werden soll

Related MCP server: MCP-Python

Verwendung mit Claude Desktop

Mit Docker (empfohlen)

  • Bearbeiten Sie die Konfigurationsdatei config.json :

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

    • unter Windows: %APPDATA%\Claude\claude_desktop_config.json

  • Fügen Sie dem mcpServers -Objekt die folgende Konfiguration hinzu:

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

    Ändern Sie den {Absolute Path to the Kuzu database} in den tatsächlichen Pfad

  • Starten Sie Claude Desktop neu

Mit Node.js und npm (für die Entwicklung)

  • Abhängigkeiten installieren: npm install

  • Bearbeiten Sie die Konfigurationsdatei config.json :

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

    • unter Windows: %APPDATA%\Claude\claude_desktop_config.json

  • Fügen Sie dem mcpServers -Objekt die folgende Konfiguration hinzu:

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

    Ändern Sie den {Absolute Path to this repository} und {Absolute Path to the Kuzu database} in die tatsächlichen Pfade

  • Starten Sie Claude Desktop neu

Schreibgeschützter Modus

Der Server kann im schreibgeschützten Modus ausgeführt werden, indem die Umgebungsvariable KUZU_READ_ONLY auf true gesetzt wird. In diesem Modus führt jede Abfrage, die versucht, die Datenbank zu ändern, zu einem Fehler. Dieses Flag kann in der Konfigurationsdatei wie folgt gesetzt werden:

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

Available Tools

2 tools
getSchemaB

Get the schema of the Kuzu database

Inputs: no named parameters.

queryC

Run a Cypher query on the Kuzu database

Inputs: cypher.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have completely distinct purposes: getSchema retrieves database structure metadata, while query executes data retrieval/manipulation operations. There is no overlap or ambiguity between these functions, making tool selection straightforward for an agent.

    Naming Consistency5/5

    Both tools follow a consistent verb_noun naming pattern (getSchema, query). While 'query' is a noun rather than verb_noun, it's a standard database term that pairs naturally with 'getSchema', maintaining clear and predictable naming throughout the minimal toolset.

    Tool Count2/5

    With only 2 tools, this server feels severely under-scoped for a database interface. A typical database MCP server would include tools for data manipulation (insert, update, delete), transaction management, connection handling, or at least parameterized queries beyond just raw query execution.

    Completeness2/5

    For a database server, the surface is significantly incomplete. While getSchema and query provide read capabilities, there are no tools for data modification (insert/update/delete), transaction control, connection management, or even parameterized query execution. This creates dead ends for agents needing to perform basic database operations.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      This server enables interaction between Neo4j databases and Claude Desktop, allowing users to execute Cypher queries, create nodes, and establish relationships in the database.
      3
      184 npm
      59
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      A server that enables interaction with PostgreSQL, MySQL, MariaDB, or SQLite databases through Claude Desktop using natural language queries.
      1
      -
    • A
      license
      C
      quality
      B
      maintenance
      A server that enables LLMs (like Claude and VSCode Copilot) to interact with Azure Cosmos DB data through natural language queries, acting as a translator between AI assistants and your database.
      3
      31 npm
      3
      MIT
    • A
      license
      Not graded
      quality
      F
      maintenance
      A Model Context Protocol server that provides access to Kuzu databases. This server enables LLMs to inspect database schemas and execute queries on provided kuzu database.
      19 npm
      8
      MIT