Cypress Test Generator

Automates Cypress test generation by analyzing web pages with Puppeteer to extract DOM elements and generate structured page objec

jprealini 22 ↓ 7.7k
Claude CodeClaude DesktopGeneric
View source ↗

MCP server implementation by Juan P. Realini that generates Cypress page objects and test scripts by analyzing web pages through automated browser interaction. The implementation uses Puppeteer to navigate to specified URLs, extract DOM elements and their properties, and leverages Cheerio for HTML parsing to identify testable components like forms, buttons, and interactive elements. Built with the Model Context Protocol SDK and designed for QA engineers and developers who need to quickly scaffold Cypress test automation code, the server provides a 'generateLocator' tool that takes a URL parameter and returns structured page object models with appropriate selectors and test patterns, streamlining the process of creating maintainable end-to-end test suites for web applications.

Source

Repository: https://github.com/jprealini/cypress-mcp

Maintain Cypress Test Generator?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

Cypress Test Generator on getagentictools
[![Cypress Test Generator on getagentictools](https://getagentictools.com/badge/mcp/jprealini-cypress-mcp.svg)](https://getagentictools.com/mcp/jprealini-cypress-mcp?ref=badge)