Connecting the Chrome DevTools MCP to a local Cypress session lets an AI agent directly access the live browser state during test failures — including DOM state, console logs, network requests, and Cypress command logs. Setup requires just two steps: setting a Chrome remote debugging port in the MCP config and passing the same port via CYPRESS_REMOTE_DEBUGGING_PORT when launching cypress open. This complements Cypress Cloud MCP (for CI triage) by covering the local development loop, enabling agents to autonomously diagnose and fix failing tests without manual context-relaying.

4m read timeFrom cypress.io
Post cover image
Table of contents
Seeing It in ActionWhat the Agent Can Work WithHow to Set It Up: Two Simple StepsHow It Fits with Cypress Cloud MCPTry It Out

Sort: