OpenJEV

v0.2.0
io.github.markylaredo/openjev-mcp Checked 4 days ago Published 1 month ago

Typed AI judgments for agents: choice, score, and yes/no probabilities instead of prose.

Values you need

VariableWhat it is
OPENJEV_API_KEYrequired secret OpenJEV API key from https://openjev.sh/dashboard
OPENJEV_MODELoptional Model alias used when a call does not name one (default: openjev)
OPENJEV_TIMEOUT_MSoptional Per-attempt timeout in milliseconds, 1000-600000 (default: 30000)
OPENJEV_MAX_RETRIESoptional Retries after the first attempt, 0-10 (default: 2)
OPENJEV_BATCH_CONCURRENCYoptional Requests one jev_batch call keeps in flight at once, 1-16 (default: 4)

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add openjev-mcp -e 'OPENJEV_API_KEY=<OPENJEV_API_KEY>' -- npx -y openjev-mcp@0.2.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "openjev-mcp": {
      "args": [
        "-y",
        "openjev-mcp@0.2.0"
      ],
      "command": "npx",
      "env": {
        "OPENJEV_API_KEY": "<OPENJEV_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "openjev-mcp": {
      "args": [
        "-y",
        "openjev-mcp@0.2.0"
      ],
      "command": "npx",
      "env": {
        "OPENJEV_API_KEY": "<OPENJEV_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "OPENJEV_API_KEY",
      "id": "openjev-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "openjev-mcp": {
      "args": [
        "-y",
        "openjev-mcp@0.2.0"
      ],
      "command": "npx",
      "env": {
        "OPENJEV_API_KEY": "${input:openjev-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.openjev-mcp]
command = "npx"
args = ["-y", "openjev-mcp@0.2.0"]
env = { "OPENJEV_API_KEY" = "<OPENJEV_API_KEY>" }

For AI agents

  1. Ask the user for: OPENJEV_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: jev_ask, jev_choice, jev_score, jev_noul, jev_batch.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json