TypeDB MCP server
Install
docker run -i --rm docker.io/typedb/typedb-mcp:1.0.2README.md
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>withhttp://host.docker.internal:8000instead ofhttp://localhost:8000 - on Linux, add
--add-host=host.docker.internal:host-gateway
Using with Cursor IDE
Start the MCP server (see above)
Open Cursor Settings → MCP
Add the server configuration. Create or edit
.cursor/mcp.jsonin your project:
{
"mcpServers": {
"typedb": {
"url": "http://localhost:8001/mcp"
}
}
}
Restart Cursor or refresh MCP connections
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
Related servers
dbxt8y223K25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。mcp-toolboxgoogleapis17KMCP Toolbox for Databases is an open source MCP server for databases.genai-toolboxgoogleapis17KMCP Toolbox for Databases is an open source MCP server for databases.OpenMetadataopen-metadata15KThe Open Context Layer for Data and AI , OpenMetadata is the open platform for building trusted data context and business semantics for humans, AI assistants, and agents.