Treant for Cursor
io.github.ashkmb/treant-memory
Self-hosted graph memory for AI coding agents: Postgres + pgvector, isolated workspaces.
client:Cursor
transport:stdio
runtime:oci
Install Treant in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"treant-memory": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/ashkmb/treant-memory:0.1.1"
],
"env": {
"TREANT_DATABASE_URL": "<TREANT_DATABASE_URL>",
"TREANT_EMBED_URL": "<TREANT_EMBED_URL>",
"TREANT_EMBED_MODEL": "<TREANT_EMBED_MODEL>",
"TREANT_EMBED_DIMS": "<TREANT_EMBED_DIMS>",
"TREANT_BIND": "<TREANT_BIND>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs