Jev
Connects to OpenAI-compatible endpoints, including OpenAI's API, to run SystemOne decision models for code review, action safety gating, screening, verification, comparison, and judging.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
SystemOne: Universal Decision Model Runner & MCP Server
Model Context Protocol (MCP) server, CLI runner, and TypeScript SDK for System One Decision Models (Laya, Jev, and OpenAI-compatible engines). Built for Claude Code, Oh My Pi (OMP), Cursor, Windsurf, Cline, and terminal workflows.
Works with any OpenAI-compatible endpoint, direct TypeSafe decision gateway, or local offline CPU inference.
⚡ Quickstart
1. Interactive Setup (Zero Install)
Run the setup wizard to configure your agent automatically:
npx -y -p systemone-judge systemone setupThe wizard auto-detects Claude Code, Oh My Pi, Cursor, or local workspaces and configures the connection.
2. Run MCP Server Directly
# In your .mcp.json or agent config:
npx -y -p systemone-judge systemone-mcp3. One-Liner System Install (Standalone Binaries)
No Node.js or Bun runtime required.
Linux & macOS:
curl -fsSL https://raw.githubusercontent.com/Ridlo543/systemone-judge/main/install.sh | bashWindows (PowerShell):
irm https://raw.githubusercontent.com/Ridlo543/systemone-judge/main/install.ps1 | iexRelated MCP server: jev-domain-mcp
🧠 Supported Engines: Jev & Laya
systemone supports two decision engines depending on your latency, privacy, and context length requirements:
Engine | Execution Environment | Context Window | Typical Latency | Cost / Auth | Best Used For |
TypeSafe Jev | Cloud / Router (OpenAI-compatible) | 16k–64k tokens | ~500ms–1.5s | Requires API key | Large diffs, multi-file code reviews, deep logic gating |
Laya | Local CPU (via ONNX Runtime) | 512 tokens | ~300ms | 100% Free & Offline | Command safety gates, fast triage, assertion checks, offline workflows |
Running with Laya (Local CPU)
When running locally with Laya, simply pass --laya or set SYSTEMONE_MODEL=laya:
# Boolean assertion on local CPU (300ms, offline)
s1 "1 + 1 = 2" "Is 1+1 equal to 2?" --laya
# Screen command before executing
s1 "rm -rf /var/log/*" "Is this safe to run automatically?" --layaNote: If using Laya locally, start the local runner with laya start (or node server.mjs on port 20130).
🔌 Agent Integration (MCP Configuration)
Claude Code (~/.claude.json)
{
"mcpServers": {
"systemone": {
"type": "stdio",
"command": "npx",
"args": ["-y", "-p", "systemone-judge", "systemone-mcp"],
"env": {
"SYSTEMONE_BASE_URL": "https://api.openai.com/v1",
"SYSTEMONE_MODEL": "systemone",
"SYSTEMONE_API_KEY": "${API_KEY}"
}
}
}
}Oh My Pi (~/.omp/agent/mcp.json)
{
"mcpServers": {
"systemone": {
"type": "stdio",
"command": "systemone-mcp",
"args": [],
"env": {
"JEV_BASE_URL": "http://127.0.0.1:20130/v1",
"JEV_MODEL": "laya",
"JEV_API_KEY": "none"
}
}
}
}Cursor & Windsurf (.cursor/mcp.json or .cline/mcp.json)
{
"mcpServers": {
"systemone": {
"type": "stdio",
"command": "npx",
"args": ["-y", "-p", "systemone-judge", "systemone-mcp"],
"env": {
"SYSTEMONE_BASE_URL": "https://api.openai.com/v1",
"SYSTEMONE_MODEL": "systemone",
"SYSTEMONE_API_KEY": "${API_KEY}"
}
}
}
}💻 CLI Usage & Deterministic Contracts
systemone (or short alias s1) enforces strict input contracts: files are strictly read from disk, inline strings are never mistaken for files, and - reads from standard input.
1. Code Review (s1 review)
Evaluates patch correctness, specification alignment, test coverage gaps, and blast radius:
# From file:
s1 review -f path/to/changes.patch --request "Fix division by zero in math module"
# Piped from git:
git diff | s1 review - --request "Refactor auth middleware to JWT"2. Definition-of-Done Acceptance Gating (s1 gate)
Verifies diff quality and audits completion claims against test output to prevent fake completion:
git diff | s1 gate - \
--request "Add connection pooling" \
--evidence-file test-results.log \
--claim "Unit tests pass with 100% coverage" \
--claim "No secret keys logged"3. Action Safety Screening
Evaluates command risk with defense-in-depth enforcement:
s1 "rm -rf / --no-preserve-root" "Is this command destructive?" --laya4. Categorical Classification
s1 -s "PostgreSQL connection pool exhausted" -c "network,database,client"🛠️ Tool Reference
By default, systemone exposes 8 core orthogonal tools to eliminate cognitive ambiguity in agents (with action_gate and legacy jev_* supported as aliases):
Tool | Category | Input | Output |
| Safety | Action + Context |
|
| Coding | Diff + Task (+ Claims) | Rubric scores ($0..2$), composite, safe-to-apply verdict |
| Guardrails | Text content | Prompt injection / jailbreak flags, substance score |
| Research | Candidates + Priorities | Best option, requirement matrix, escape hatches |
| Verification | Claims + Evidence | Verified / Contradicted / Unsupported line-by-line audit |
| Research | Two passages / docs |
|
| Research | Query + Candidates | Top relevant candidate, |
| Universal | State + Questions | Calibrated probabilities, choices, and rubric scores |
(Set SYSTEMONE_TOOLS="all" in environment to expose the extended 14-tool surface including regex field extractors).
📊 Formatter Output Examples
systemone_review
🔍 Diff Review: 🟢 AUTO (Composite: 0.88 / 1.0)
Safe to Apply:
trueDecision Recommendation:
auto
Rubric Metric | Score (0..2) |
Correctness |
|
Spec Match |
|
Test Gap |
|
Blast Radius |
|
### `systemone_action_gate`
### 🛡️ Action Safety Gate: 🛑 BLOCK (Risk: 2.85 / 3.0)
- **Action/Command:** `rm -rf / --no-preserve-root`
- **Recommendation:** **BLOCK**
- **Destructive Operation:** `YES`
- **Requires Human Escalation:** `YES`
- **Safety Analysis:** Destructive root recursive deletion detected⚙️ Configuration Hierarchy
Settings resolve in order of precedence:
Explicit CLI flags (
--base-url,--api-key,--model,--protocol,--laya)MCP client environment (
envblock in.mcp.json)Local configuration file (
jev.config.json)Local
.envfileSystem environment variables
Environment Variable | Description | Default |
| Endpoint URL |
|
| Model ID ( |
|
| Provider API Key |
|
|
|
|
| Request deadline in milliseconds |
|
| Exposed tool surface: |
|
📦 Standalone Binaries
Download precompiled standalone binaries from GitHub Releases:
Windows x64:
systemone-windows-x64.exe&systemone-mcp-windows-x64.exe(aliases:jev-windows-x64.exe)Linux x64:
systemone-linux-x64&systemone-mcp-linux-x64(aliases:jev-linux-x64)Linux arm64:
systemone-linux-arm64&systemone-mcp-linux-arm64macOS Apple Silicon (arm64):
systemone-darwin-arm64&systemone-mcp-darwin-arm64
🧪 Verification & Testing
Run the automated test suite:
bun testCovers fail-closed Zod schemas, deterministic argument contracts, defensive truncation, calibration normalizations, and live inference regression suites.
📄 License
MIT License. Copyright (c) 2026 TypeSafe Jev Decision Runner Contributors.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Calibrated judgments for text: yes/no probabilities, picks from your options, or scores.
Check AI work against requirements and return structured verdicts, findings, and repair steps.
Run AI evaluations, record agent traces and gate releases on evidence, with scoped org access.
Pre-execution governance for AI agents. Deterministic PASS/FAIL/REVIEW verdicts, replayable proof.
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides agents with fast, typed, calibrated decision tools for classification, scoring, yes/no checks, and gating risky tool calls.5234 npm3MIT
- AlicenseAqualityCmaintenanceEnables agents to call typed code-review and content-moderation decision tools, returning structured verdicts, probabilities, and confidence-gated actions.2MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to obtain calibrated probabilities, option picks, scale scores, and multi-question judgments for batches of short text, returning numeric results for sorting, filtering, and counting.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to submit a state and typed questions and receive structured judgments such as yes/no probabilities, named choices, and rubric scores, with no text generation or parsing.MIT