Expose typed jev_decide/jev_health over stdio for closed-enum governance routing; credentials stay in ~/.secrets/jev and out of git.
24 lines
824 B
Markdown
24 lines
824 B
Markdown
# MCP servers (stdio)
|
|
|
|
Zero-dependency Node MCP wrappers used by Cursor (see [`.cursor/mcp.json`](../../.cursor/mcp.json)).
|
|
|
|
| Server | Script | Purpose |
|
|
|---|---|---|
|
|
| `agentctl` | `agentctl-mcp.mjs` | Lease / docs apply / validate / queue |
|
|
| `jev` | `jev-mcp.mjs` | Typed decide/health against local or remote jev-service |
|
|
|
|
```bash
|
|
# from repo root
|
|
node scripts/mcp/agentctl-mcp.mjs
|
|
node scripts/mcp/jev-mcp.mjs
|
|
```
|
|
|
|
## jev credentials (not in git)
|
|
|
|
- `~/.secrets/jev/api.key` (chmod 600) or env `JEV_API_KEY`
|
|
- `~/.secrets/jev/base-url` or env `JEV_BASE_URL` (default `http://127.0.0.1:8767`)
|
|
|
|
Reload MCP after checkout. See skill `.cursor/skills/jev-decide/SKILL.md`.
|
|
|
|
`lease_run` / `validate` take `command` as an argv array (no shell). Set `AGENTCTL_REPO` only when the agentctl script is not under the repo tree.
|