Postgram for Cursor
io.github.ivo-toby/postgram
Self-hosted memory for AI agents with hybrid search, knowledge graphs, tasks, and document sync.
client:Cursor
transport:stdio
runtime:oci
Install Postgram in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"postgram": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/ivo-toby/postgram@sha256:29b61fb302bd52862b8eba43305ee2aa4fc072d5f9188652f1fe6324f49d5391"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>",
"OPENAI_API_KEY": "<OPENAI_API_KEY>",
"EMBEDDING_PROVIDER": "<EMBEDDING_PROVIDER>",
"EMBEDDING_BASE_URL": "<EMBEDDING_BASE_URL>",
"ADMIN_MFA_SECRET_KEY": "<ADMIN_MFA_SECRET_KEY>",
"ADMIN_SETTINGS_ENCRYPTION_KEY": "<ADMIN_SETTINGS_ENCRYPTION_KEY>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs