ninjaeval-mcp

v0.1.2
ninjaeval-mcp Checked 1 day ago Published 24 days ago

NinjaEval 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.

ParameterTypeDescription
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…

ParameterTypeDescription
project_id *string
code_shastring
model
notestring
params
provider
stage
system_prompt
timeout_secondsinteger
tools
trialsinteger
waitboolean

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).

ParameterTypeDescription
test_id *string
timeout_secondsinteger
waitboolean

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.

ParameterTypeDescription
item_ids *array
test_id *string
timeout_secondsinteger
waitboolean

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.

ParameterTypeDescription
test_id *string