Back to Browse

Typedb MCP Server

by Typedb
Developer ToolsUse Caution1.2MCP RegistryLocal
Free

Server data from the Official MCP Registry

Execute TypeQL queries and manage databases and users on a TypeDB server.

About

Execute TypeQL queries and manage databases and users on a TypeDB server.

Security Report

1.2
Use Caution1.2Critical Risk

This MCP server has significant security vulnerabilities that make it unsuitable for production use. The most critical issues are: (1) credentials passed as command-line arguments and stored in module-level variables, exposing them to process inspection and logs; (2) complete absence of authentication/authorization on the MCP server itself, allowing any client to execute arbitrary database operations; (3) dangerous default credentials hardcoded in argument defaults; and (4) unvalidated user input in database/user names passed directly to HTTP URLs, creating injection vulnerabilities. These issues create multiple attack vectors for credential theft, unauthorized database access, and injection attacks. Supply chain analysis found 5 known vulnerabilities in dependencies (1 critical, 3 high severity).

7 files analyzed · 15 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-typedb-typedb-mcp": {
      "args": [
        "typedb-mcp"
      ],
      "command": "uvx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

TypeDB MCP Server

An MCP (Model Context Protocol) server that enables AI assistants to interact with TypeDB databases. This allows LLMs to execute TypeQL queries, manage databases, and manage users through natural language.

Available on Docker Hub: https://hub.docker.com/repository/docker/typedb/typedb-mcp

Features

  • Query Execution: Run TypeQL read, write, and schema queries
  • Database Management: List, create, and delete databases
  • User Management: List, create, and delete users

Running the Server

docker run -p 8001:8001 typedb/typedb-mcp:<version> \
  --typedb-address <address> \
  --typedb-username <username> \
  --typedb-password <password>

If you're running TypeDB server on localhost:

  • replace <address> with http://host.docker.internal:8000 instead of http://localhost:8000
  • on Linux, add --add-host=host.docker.internal:host-gateway

Using with Cursor IDE

  1. Start the MCP server (see above)

  2. Open Cursor Settings → MCP

  3. Add the server configuration. Create or edit .cursor/mcp.json in your project:

{
  "mcpServers": {
    "typedb": {
      "url": "http://localhost:8001/mcp"
    }
  }
}
  1. Restart Cursor or refresh MCP connections

  2. Start chatting! You can now ask Cursor to:

    • "List all databases"
    • "Create a database called 'mydb'"
    • "Define an entity 'person' with attribute 'name' in database 'mydb'"
    • "Insert a person with name 'Alice'"
    • "Query all persons in the database"

Building from Source

Use podman or Docker to create a Docker image and push it to DockerHub:

podman login docker.io

VERSION=<desired version number>
podman build -t typedb/typedb-mcp:$VERSION .
podman push typedb/typedb-mcp:$VERSION

Reviews

No reviews yet

Be the first to review this server!