What does the server output?
It outputs two files: a TypeScript Page Object class (`.ts`) and a Cypress test suite (`.cy.ts`) containing positive, negative, workflow, accessibility, performance, and edge case tests.
@jprealini
基本信息
With an already setup Cypress framework, pass the URL of the page you need to create a Page Object class and test cases for, and it will create the page object class with all locators, action methods (type, click), get methods, and main workflow methods, and a test file (cy.ts or
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"cypress-mcp": {
"command": "npx",
"args": [
"-y",
"@jprealini/cypress-mcp"
]
}
}
}Crear archivos Page Object y Tests directamente en el proyecto Cypress
Generar Page Object y Tests de Cypress
This MCP server automatically generates complete Cypress Page Object classes and comprehensive test suites for any web page by scraping the page with Puppeteer and parsing HTML with Cheerio. It is for developers who want to quickly create structured Cypress test infrastructure.
Install via npm, then start the server with npx tsx main.ts. Use an MCP client to call the generateLocator tool with a URL parameter; it returns both a TypeScript Page Object class and a Cypress test suite.
It outputs two files: a TypeScript Page Object class (`.ts`) and a Cypress test suite (`.cy.ts`) containing positive, negative, workflow, accessibility, performance, and edge case tests.
The server requires Node.js, and its dependencies include @modelcontextprotocol/sdk, puppeteer, cheerio, zod, and typescript.
Yes, Puppeteer runs in headless mode and waits for network idle to capture dynamically loaded content.
The server uses the Model Context Protocol (MCP) with a tool-based interface; no specific authentication is mentioned.
The server only generates tests based on the current page state; it may not capture every dynamic interaction. Error handling includes invalid URLs and network failures.

Verified distributed compute for humans, applications, and agents. Submit Blender, Octane, and video workloads, route them across qualified GPUs, track asynchronous execution, download finished artifacts, and verify FARP

Console, Backend and CLI to manage Capgo Instant update and Native build for Capacitor apps Build and upload to app store your mobile app

Let your cloud agents talk to you. Grok Bot, Meta Muse, ChatGPT, Claude, Devin and others report progress to Heard, which reads it out loud on your Mac, and they pick up the replies you send back.

One case file per task — shared by every session, agent and person that touches it. Self-hosted MCP server and live board. MIT.
评论