TypeDB
Execute TypeQL queries and manage databases and users on a TypeDB server.
Que pouvez-vous faire avec TypeDB ?
- Query Execution: Run TypeQL read, write, and schema queries
- Database Management: List, create, and delete databases
- User Management: List, create, and delete users
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
docker.io/typedb/typedb-mcp:1.0.2claude mcp add typedb -- docker run -i --rm docker.io/typedb/typedb-mcp:1.0.2 --typedb-address --typedb-username --typedb-password
{
"mcpServers": {
"typedb": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/typedb/typedb-mcp:1.0.2",
"--typedb-address",
"--typedb-username",
"--typedb-password"
]
}
}
}
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
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
Questions fréquentes
Qu'est-ce que TypeDB ?
Execute TypeQL queries and manage databases and users on a TypeDB server.
Comment installer TypeDB ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add typedb -- docker run -i --rm docker.io/typedb/typedb-mcp:1.0.2 --typedb-address --typedb-username --typedb-password. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour TypeDB ?
Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.
TypeDB est-il open source ?
Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.
Qui maintient TypeDB ?
Il est publié par typedb. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.