Skip to content
Grok

CogniRelay for Grok

io.github.stef-k/cognirelay

Self-hosted agent continuity server with bounded, recoverable memory and restart orientation.

client:Grok transport:stdio runtime:pypi

Install CogniRelay 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": {
    "cognirelay": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "cognirelay"
      ],
      "env": {
        "COGNIRELAY_REPO_ROOT": "<COGNIRELAY_REPO_ROOT>"
      }
    }
  }
}

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

CogniRelay in other clients