# korg MCP server

> Provides a tamper-evident, SHA-256-chained ledger to record, verify, and rewind AI agent actions as a causally-linked audit trail.

- Repository: https://github.com/New1Direction/korg
- Page: https://hostedmcp.org/servers/new1direction/korg
- Transport: stdio
- Stars: 4
- License: MIT
- Latest version: 0.1.1

## Install

### Claude Code

```sh
claude mcp add korg -- npx -y @korgg/introspect-mcp
```

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

```json
{
  "mcpServers": {
    "korg": {
      "command": "npx",
      "args": [
        "-y",
        "@korgg/introspect-mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "korg": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@korgg/introspect-mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"korg","type":"stdio","command":"npx","args":["-y","@korgg/introspect-mcp"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "korg": {
      "command": "npx",
      "args": [
        "-y",
        "@korgg/introspect-mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add korg -- npx -y @korgg/introspect-mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.korg]
command = "npx"
args = ["-y", "@korgg/introspect-mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user korg npx -- -y @korgg/introspect-mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "korg": {
      "command": "npx",
      "args": [
        "-y",
        "@korgg/introspect-mcp"
      ]
    }
  }
}
```

## FAQ

### What is Korg?

Korg is a cognitive hypervisor that acts as a runtime layer beneath AI agents, recording every decision in an immutable, cryptographically-signed ledger.

### Can I verify if an agent's session has been tampered with?

Yes, Korg uses a SHA-256-chained ledger where any edit to an event will cause the hash chain to fail verification.

### Is Korg suitable for multi-user or networked environments?

No, Korg v1 is strictly designed for local, single-user workspaces; networked deployments require authentication features not yet implemented.
