# CogniRelay

> CogniRelay is an MCP server. Self-hosted agent continuity server with bounded, recoverable memory and restart orientation. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **MCP Registry name:** io.github.stef-k/cognirelay
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add cognirelay --env COGNIRELAY_REPO_ROOT='<COGNIRELAY_REPO_ROOT>' -- uvx cognirelay
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "cognirelay": {
      "command": "uvx",
      "args": [
        "cognirelay"
      ],
      "env": {
        "COGNIRELAY_REPO_ROOT": "<COGNIRELAY_REPO_ROOT>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "cognirelay": {
      "command": "uvx",
      "args": [
        "cognirelay"
      ],
      "env": {
        "COGNIRELAY_REPO_ROOT": "<COGNIRELAY_REPO_ROOT>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "cognirelay": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "cognirelay"
      ],
      "env": {
        "COGNIRELAY_REPO_ROOT": "<COGNIRELAY_REPO_ROOT>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "cognirelay": {
      "command": "uvx",
      "args": [
        "cognirelay"
      ],
      "env": {
        "COGNIRELAY_REPO_ROOT": "<COGNIRELAY_REPO_ROOT>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "cognirelay": {
      "command": "uvx",
      "args": [
        "cognirelay"
      ],
      "env": {
        "COGNIRELAY_REPO_ROOT": "<COGNIRELAY_REPO_ROOT>"
      }
    }
  }
}
```

## FAQ

### How do I add CogniRelay to Claude Code?

Run this command in your terminal: claude mcp add cognirelay --env COGNIRELAY_REPO_ROOT='<COGNIRELAY_REPO_ROOT>' -- uvx cognirelay

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/cognirelay
