Have a coding agent run monito check
Claude Code, Cursor, and Codex can run monito check or call the MCP server. The verdict comes back as JSON. Localhost needs the local server.
A coding agent can ask Monito whether the change works. The check is the same one you would run: a URL, a sentence, a verdict.
monito check https://your-app.example/signup "The form rejects a malformed email and explains why" --jsonExit 0 is passed. Exit 1 is failed or error. The JSON carries status, cause, causeLabel, reportUrl, and firstFailure. The agent should read reportUrl rather than guess. Setup for each client is Claude Code, Cursor, and Codex. The overview is AI agent usage.
For example, a verified failure could return this excerpt. The IDs and result are illustrative:
{
"checkId": "scenario_example",
"runId": "run_example",
"done": true,
"status": "failed",
"cause": "product_defect",
"causeLabel": "App bug",
"reportUrl": "https://www.monito.dev/session/session_example",
"firstFailure": "The form rejects a malformed email and explains why"
}MCP
Hosted MCP is https://www.monito.dev/api/mcp. No CLI install. The agent calls typed tools. The default tools cover checking, reading evidence, and saving a test. all adds the rest of the catalog, including CI setup on the local server. Tool names and arguments are the MCP docs.
For hosted MCP in Claude Code:
claude mcp add --transport http monito https://www.monito.dev/api/mcpRun /mcp, select monito, and sign in through the browser. Cursor uses the same URL in its MCP configuration. For the local server, sign in once, then configure your client to launch the second command:
npx -y @monitodev/cli auth login
npx -y @monitodev/cli mcp --toolsets check,coreThe client guide has the Cursor JSON and Codex TOML configuration. The local server reuses your CLI login.
Hosted MCP cannot open localhost. For a dev server, the agent uses monito check or the local stdio server, monito mcp. Keep that process running for the whole check.
monito check save <checkId> --name "Test name" is how a one-off check becomes a saved test. It does not create a schedule.
Check, inspect, fix, check again
Start with check and an explicit expectation. Example tool arguments:
{
"url": "http://localhost:3000/signup",
"expectation": "The form rejects a malformed email and explains why"
}The tools return different parts of the result:
checkreturnscheckId,runId,done, and, when finished, the verdict, cause, duration, credits, report URL and first failure.wait_for_runtakesrunIdand returnsdone, the run andreportUrl. If its wait ends first, it returnsdone: falsewith aresumeinstruction. Call it again for the same run.get_runtakesrunIdand returns the run, verdict reason, bug reports, failed requests, console messages and screenshot file names. It does not return image bytes.get_screenshottakesrun.sessionIdand afileNamefromget_run'sevidence.screenshots. It returns that screenshot as an MCP image. Default on hosted MCP; on the local server from CLI 4.8.1, start it with--toolsets check,core(or--toolsets all).save_checktakescheckIdandname. It returns the savedscenariowith the same ID and keeps the run history. It neither launches a run nor spends credits.
After inspecting the evidence and fixing the code, call check again with the same expectation. Before opening the PR, read the new verdict and attach its report link. Save the check if it should be reused; add an automation separately.
For an example of evidence worth inspecting, this dead-button benchmark run failed because the Add button had no handler. It is a benchmark run from 2026-10-05. The reliability page explains the corpus and its limits.
CI, if you want it blocking
After monito auth login and gh auth login, the agent can plan, apply, and verify a GitHub Actions workflow. plan is read-only. apply writes the workflow. The job uses GitHub OIDC. It does not print an API key. monito ci verify --remote-auth checks auth and spends no credits. A real dispatched run spends credits, and the CLI asks you to confirm.
The CLI does not commit or push. Fork pull requests are skipped.
What the agent must not be told
Monito does not heal a failing scenario. It does not decide which flows matter. Chromium only. A localhost check cannot be scheduled. Prices are on /pricing.
Related posts
- Run the same checks on every deploy
- What a “cannot verify” verdict means
- Check localhost with monito check --local