How to check Cursor's code changes before you commit.
Add Veridu to Cursor as an MCP server and add one line to your project rules asking Cursor to send each change to Veridu, fix the findings that hold up and check again. You can also just ask: "verify this change with Veridu". Either way you can see what is still open before anything is committed.
Add a remote (streamable HTTP) MCP server with just the URL, in Cursor's MCP settings or your mcp.json:
{
"mcpServers": {
"veridu": { "url": "https://api.veridu.io/mcp" }
}
}Browser sign-in works in any client that signs in through a local (127.0.0.1 or localhost) redirect. If the sign-in fails (some clients use an app-specific redirect, which Veridu does not accept), create a token with the MCP only scope on the Tokens page and send it as a Bearer header. Full-access tokens are not accepted by the MCP server.
{
"mcpServers": {
"veridu": {
"url": "https://api.veridu.io/mcp",
"headers": { "Authorization": "Bearer <MCP-ONLY TOKEN>" }
}
}
}Add this line to your project rules:
Before committing, call Veridu's verify_change. Review and fix valid findings, then run it again to check what is still open.
Or ask for a check when you want one: "verify this change with Veridu". No repository to connect.
- 1Cursor sends the change. When it follows the rule (or you ask it to), it calls verify_change with the diff, the full content of the files it changed and a sentence on what the change is for. Independent reviewers check it in an isolated sandbox with no internet access, usually in one to two minutes.
- 2It gets findings it can act on. An outcome (pass, review or block) and findings with the file, line, severity and evidence. Veridu tries to keep each finding's id the same across follow-ups, matching on the file, the code and the nearby lines.
- 3It fixes what holds up and checks again. When it checks the fixed change, Veridu links the follow-up to the first check automatically. The follow-up reports which findings persist, which are new (possibly introduced by the fix) and which are no longer reported, which is not proof of a fix. The first two linked follow-ups are free.
A real example: one change checked four times, where a finding that went quiet came back under the same id.
It sees only the files Cursor sends, not your whole repository. For the code a change affects elsewhere, review the pull request too: how to review AI-generated pull requests.
Does browser sign-in work in Cursor?
Browser sign-in is tested with Claude Code, Codex and ChatGPT. It works in any client that signs in through a local (127.0.0.1 or localhost) redirect. If sign-in fails in your client, use a token with the MCP only scope instead, as shown above.
Does Veridu read my whole repository?
No. Cursor sends the diff and the full content of the files it changed, and Veridu reviews only those, in an isolated sandbox with no internet access. For PHP it also traces callers and overrides within the files it was sent. Results are advisory for that reason.
Do I need an OpenAI or Anthropic API key?
No. Only a Veridu sign-in, or an MCP-only token from the Tokens page.
Does it use my Cursor plan?
Only for the ordinary tool calls that send the change and read the result. Veridu's reviewers run on Veridu's own OpenAI and Anthropic API access, which Veridu pays for, and a new change counts against your Veridu reviews.
Does a finding that disappears mean it was fixed?
No. A follow-up says whether the flagged line changed, but a reviewer can also simply not mention it again, so "no longer reported" is not proof of a fix. Read the diff before you commit.
What does it cost?
Each new change uses one review. The first two follow-ups linked to it are free, and resending the exact same request within seven days returns the earlier result at no cost. The free tier includes up to 20 reviews a month with no card. A change linked to a private repository needs a paid plan.
What are the limits?
Text files only (no binaries, renames, mode changes or symlinks). The diff can touch up to 60 files and be up to 256 KB. The files sent with it can be up to 120, at most 256 KB each and 512 KB in total.
The same loop works there: Claude Code, Codex. Other MCP clients are covered in the docs.