Wiring Jev into Claude Code and Codex via MCP
The most common way people first meet Jev is not by writing an API client. It is by hanging it off a coding agent that was already making too many expensive judgments.
Updated September 2026 · 6 min read
Why MCP is the right shape
MCP (Model Context Protocol) is how agents discover external tools. The reason it fits Jev so well is that a decision model is a tool: you hand it a state and a question, you get a typed value back. There is no conversational wrapper needed and nothing to summarize.
Practically, the jev-mcp server exposes Jev as a callable tool, so an agent that already speaks MCP can ask a judgment question without you writing any integration code.
Where it slots into a coding session
A coding agent already makes the three judgments TypeSafe describes, whether or not you have instrumented them:
| Moment in the session | The question | Without Jev |
|---|---|---|
| Route to the right model | Grade a request's complexity and send it to a fast, balanced, or frontier model. | A frontier call, a hardcoded rule, or nothing at all |
| Guardrail tool calls | Before an agent runs a shell command or edits a file, score the risk and allow, confirm, or block. | A frontier call, a hardcoded rule, or nothing at all |
| Compact context | Decide keep / truncate / drop for each stale tool result so long sessions shrink without a lossy rewrite. | A frontier call, a hardcoded rule, or nothing at all |
The last column is the honest one. Most agents do not have a guardrail on shell commands because a frontier call per command is absurd and a regex list is unmaintainable. The decision model is what makes the third option — actually checking — affordable.
What is worth gating
- Destructive commands. Ask a
noulbefore running anything that writes outside the working tree, force-pushes, or deletes. Branch to allow / confirm / block. - Context triage. Long sessions accumulate stale tool output. A per-item
choiceof keep / truncate / drop shrinks the window without a lossy summary pass. - Model routing. Grade the task before choosing an executor, so trivial edits stop paying frontier prices.
- Do not gate the writing. Code, explanations and commit messages are text. That is the agent's job — see the division of labour.
Coding and open-source builds here
Listings Jev filed under Coding & Code Review or Open Source:
No coding or open-source listings yet.
What we have not verified
What we can say with confidence is the shape: a credentials environment variable the agent process can read, an MCP server entry the agent can call, and — for gating — a hook that runs before a tool executes. Anything more specific than that is worth checking at the source.
Common questions
What is jev-mcp?
Does Jev work with Claude Code and Codex?
What should I gate with Jev in a coding agent?
What happens if the guardrail call fails?
BuiltOnJev is an independent community project, not affiliated with TypeSafe AI. Specs and eval numbers come from TypeSafe's published materials; directory figures come from this site's own submissions and are updated as builds arrive.