- FLAKY
- SLOW
- HUMAN
- ACTION
Short answer
How can I find flaky and slow tests using AI?
Your agent queries Cypress Cloud to isolate tests that fail inconsistently or take too long to run. You'll get a clear list of problematic specs to investigate. This breakdown shows how it works.
The results you get.
Where your test issues land.
The AI categorizes your Cypress Cloud data into these four areas.
FLAKY
Unstable test reports
The agent uses report_flaky to find tests that pass and fail on the same commit. You get a list of the most unreliable specs.
SLOW
Pipeline bottlenecks
Using report_slow, your agent identifies which specific files are increasing your total CI duration. You'll see exactly which specs are the culprits.
HUMAN
Manual debugging
The AI identifies the problematic tests, but you still need to step in to fix the actual code or environment. It points you to the problem, not the solution.
ACTION
Prioritized fix lists
The agent compiles a list of tests that need attention. You can use this to decide which tests to optimize first.
The workflow
What your AI does when the data arrives.
Instead of you digging through dashboards, your agent handles the data retrieval.
Scan test history
Your agent looks through recent Cypress Cloud runs to find patterns in execution time.
report_slowIsolate instability
The AI flags specific test files that show non-deterministic behavior across different runs.
report_flakyIdentify bottlenecks
The agent compares spec durations to find the files slowing down your deployment.
report_slowSummarize findings
Your agent presents a clean list of the most problematic tests so you know where to start.
report_flakyreport_slow
Try it
Copy these to start.
Use these prompts to trigger the analysis immediately.
Starting points
These are opening lines. Swap out the project names or repo names to match your setup.
Cypress Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_IKhVCeL6avFJPY6iQ838105q3zZBtwMa7WMfyaRI/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Cypress capabilities are ready to use.
{
"mcpServers": {
"cypress-cloud-mcp": {
"url": "https://edge.vinkius.com/vk_preview_IKhVCeL6avFJPY6iQ838105q3zZBtwMa7WMfyaRI/mcp"
}
}
}Show me a report of all flaky tests in my 'frontend-e2e' project.
Which specs in my 'mobile-app' suite are making my pipeline slow?
Identify the top 5 slowest tests in my current Cypress Cloud dashboard.
List all intermittent failures for the 'auth-service' repo from the last 24 hours.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Cypress Cloud once, then ask.
Just link your account once. Your credentials stay encrypted, and you can start asking questions in any MCP-compatible client.
Connect Cypress Cloud to your AIFAQ
How this task behaves.
- 01
Can the AI fix my flaky tests automatically?
No. The AI identifies which tests are flaky, but you have to write the code to fix them.
- 02
Does the AI delete any test data in Cypress Cloud?
No. The AI only reads data to generate reports. It cannot delete or modify your test results.
- 03
Can I use this with Cursor or Claude?
Yes. Once connected via Vinkius, you can use these tools in any MCP-compatible client like Claude, Cursor, or Windsurf.
- 04
How does it know which tests are slow?
The agent uses the report_slow tool to pull duration data directly from your Cypress Cloud history.
- 05
Will this work with my local Cypress runs?
No. This specific connector works with data stored in Cypress Cloud.
More questions about Cypress Cloud? The Connector page answers them. See everything the Cypress Cloud Connector can do
Connect Cypress to Claude, Cursor, ChatGPT & more
