Postgram for Windsurf
io.github.ivo-toby/postgram
Self-hosted memory for AI agents with hybrid search, knowledge graphs, tasks, and document sync.
client:Windsurf
transport:stdio
runtime:oci
Install Postgram in Windsurf
~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"postgram": {
"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>"
}
}
}
}
Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs