# judgment-pack MCP server

> Provides an offline reference runtime to validate documents and evaluate conformance against the Judgment Pack Specification (JPS).

- Repository: https://github.com/Judgment-Pack/judgment-pack-runtime
- Page: https://hostedmcp.org/servers/judgment-pack/judgment-pack-runtime
- Transport: stdio
- Stars: 2
- License: Apache-2.0
- Latest version: 0.46.0

## Install

### Claude Code

```sh
claude mcp add judgment-pack-runtime -- docker run -i --rm ghcr.io/judgment-pack/judgment-pack:0.46.0
```

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

```json
{
  "mcpServers": {
    "judgment-pack-runtime": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/judgment-pack/judgment-pack:0.46.0"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "judgment-pack-runtime": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/judgment-pack/judgment-pack:0.46.0"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"judgment-pack-runtime","type":"stdio","command":"docker","args":["run","-i","--rm","ghcr.io/judgment-pack/judgment-pack:0.46.0"]}'
```

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

```json
{
  "mcpServers": {
    "judgment-pack-runtime": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/judgment-pack/judgment-pack:0.46.0"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add judgment-pack-runtime -- docker run -i --rm ghcr.io/judgment-pack/judgment-pack:0.46.0
```

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

```toml
[mcp_servers.judgment-pack-runtime]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/judgment-pack/judgment-pack:0.46.0"]
```

### Gemini CLI

```sh
gemini mcp add -s user judgment-pack-runtime docker -- run -i --rm ghcr.io/judgment-pack/judgment-pack:0.46.0
```

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

```json
{
  "mcpServers": {
    "judgment-pack-runtime": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/judgment-pack/judgment-pack:0.46.0"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `JPACK_CONFIG` | no | no | Path to a jpack.json project configuration (ADR-0012). Optional: without it the server reads jpack.json from its launch directory (/project in this image; mount a project there), and a project that does not use the convention still validates and evaluates pack documents passed over the wire. |

## FAQ

### What does the judgment-pack runtime do?

It serves as a vendor-neutral reference runtime for the Judgment Pack Specification (JPS), used to validate documents and perform conformance testing.

### Can an AI agent use this tool?

Yes, the mcp command allows an agent to perform offline operations like document validation through tool calls via stdio.

### Is the evaluator stable?

Tools within the experimental namespace are considered unstable and may change or be removed without compatibility promises.
