Skip to content
Grok

Postgram for Grok

io.github.ivo-toby/postgram

Self-hosted memory for AI agents with hybrid search, knowledge graphs, tasks, and document sync.

client:Grok transport:stdio runtime:oci

Install Postgram in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "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>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Postgram in other clients