ninjaeval-mcp
v0.1.2NinjaEval as an MCP server: a coding agent tests a prompt, model or tool change and reads the verdict and the diagnosis before calling it done.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
whoami
The workspace this server acts in, and what its API key may do.
list_projects
The workspace's projects (AI apps under test). Use project_id in the other tools.
get_project
A project's production version (provider, model, system prompt, tools), release gate, test suites and recent change tests. Read this before test_change to see what production is.
| Parameter | Type | Description |
|---|---|---|
project_id * | string |
test_change
Test a change against production. Copies production and applies only the fields you pass: system_prompt (the full new prompt), model, provider, params, tools ([{name, description, parameters}]). For an endpoint project whose change is in code, deploy it where the project's endpoint runs it and pass code_sha. note says what changed and why. stage runs only that stage's cases (e.g. "smoke"; quick, can't ship). trials > 1 runs each case several times. With wait=true (default) it returns when the verdict and the regressions' diagnoses are in, or at timeout_seconds (then call g…
| Parameter | Type | Description |
|---|---|---|
project_id * | string | |
code_sha | string | |
model | ||
note | string | |
params | ||
provider | ||
stage | ||
system_prompt | ||
timeout_seconds | integer | |
tools | ||
trials | integer | |
wait | boolean |
get_change_test
A change test's verdict, rules, regressions with their diagnoses and fixes, and the next step. With wait=true, first waits for the runs and the diagnoses to finish (up to timeout_seconds).
| Parameter | Type | Description |
|---|---|---|
test_id * | string | |
timeout_seconds | integer | |
wait | boolean |
diagnose_cases
Diagnose failing cases that weren't diagnosed automatically (regressions are). item_ids come from get_change_test's still_failing. Each diagnosis runs 3 times and re-runs its fix to check it.
| Parameter | Type | Description |
|---|---|---|
item_ids * | array | |
test_id * | string | |
timeout_seconds | integer | |
wait | boolean |
get_report
The change test's full report as Markdown: both versions, every case result, the gate and the diagnoses. Good for a pull request description.
| Parameter | Type | Description |
|---|---|---|
test_id * | string |