jev-mcp
# jev-mcp (patched for thejevai.com)
Fork of [codaaiteam/jev-mcp](https://github.com/codaaiteam/jev-mcp) with two fixes for `sk_*` keys against [thejevai.com](https://thejevai.com):
1. Default `JEV_BASE_URL` for non-`jv_live_` keys is `https://thejevai.com/v1/systemone` (stock historically defaulted to `api.typesafe.ai` and 401'd).
2. Unwrap thejevai's success envelope `{ code, data: { result: { answers, usage, … } } }` before reading `answers.*` (stock expects a flat `{ answers }` body and crashes with `Cannot read properties of undefined (reading 'result')`).
## Cursor Cloud Agents (any repo)
Cloud agents **do not** read `~/.cursor/mcp.json` on the VM. Configure once at [cursor.com/agents](https://cursor.com/agents) → MCP → Add / Custom:
| Field | Value |
| --- | --- |
| Type | stdio |
| Name | `jev` (or `jev-mcp`) |
| Command | `npx` |
| Args | `-y` `github:abaljeu/jev-mcp` |
| Env | `TYPESAFE_API_KEY` = your `sk_…` key |
| Env | `JEV_BASE_URL` = `https://thejevai.com/v1/systemone` |
Enable it for Cloud. **Start a new** cloud agent after saving (existing runs keep the old MCP list).
For hosted `jv_live_…` keys, omit `JEV_BASE_URL` or set it to `https://jevtypesafeai.com/api/v1/decide`.
## Local / Grok Bot box
```bash
TYPESAFE_API_KEY=sk_… npx -y github:abaljeu/jev-mcp
```
## Tools
`jev_classify`, `jev_score`, `jev_check`, `jev_gate`, `jev_decide`
TDQS
Scored across 5 tools
The four primitives (choice, scale, yes/no, action screening) each map to a distinct question shape, and descriptions make the boundary between jev_check and jev_gate reasonably clear. The main overlap is that jev_decide is an explicit superset of jev_classify, jev_score, and jev_check, so an agent must decide between the convenience wrapper and the batch call, but this is a documented composition rather than true redundancy.
Every tool follows the same jev_<verb> pattern in snake_case (classify, score, check, gate, decide). Verb choice is consistent and readable across the whole set.
Five tools is well-scoped for a judgment/inference service: one tool per question type plus a batching tool. Each tool earns its place and there is no filler.
The surface covers the core primitives (choice, ordered score, binary probability, action gating) and offers a batched round trip via jev_decide. Minor gaps exist, such as pairwise comparison/ranking and multi-label selection, but agents can emulate these by composing existing primitives.