
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An MCP server that generates Cypress Page Object classes for a web page, producing TypeScript classes with locators, getters, and interaction methods.
MCP Cypress Page Object Generator is cataloged as an MCP server attributed to jprealini. An MCP server that generates Cypress Page Object classes for a web page, producing TypeScript classes with locators, getters, and interaction methods. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP Cypress Page Object Generator are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It generates complete TypeScript Page Object classes with private element locators, public getters, and interaction methods.
It covers buttons, input fields, links, select dropdowns, textareas, and forms.
The generated output can serve as a base structure that is edited with your own instruction set to fit different requirements.
README.md · a0aaec668766 · Fetched 2026-11-13 08:13:13 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
This MCP server automatically generates Cypress Page Object classes for any web page provided.
Create a page object file using the following url: https://www.saucedemo.com/
The server generates:
{ClassName}.ts)export class ExampleComLoginPage {
// Private elements
#elements = {
button_login: () => cy.get('#login-button'),
input_username: () => cy.get('input[name="username"]'),
link_home: () => cy.contains('a', 'Home')
}
// Public getters
get ButtonLogin() { return this.#elements.button_login() }
get InputUsername() { return this.#elements.input_username() }
get LinkHome() { return this.#elements.link_home() }
// Interaction methods
clickButtonLogin() { return this.#elements.button_login().click() }
typeInputUsername(text: string) { return this.#elements.input_username().type(text) }
clickLinkHome() { return this.#elements.link_home().click() }
}
Follow standard procedures to install an MCP in the client of your choice
Start the server:
node index.js
Use with an MCP client:
The server exposes a generatePageObjectFile tool that accepts a URL parameter.
Example tool call:
{
"method": "tools/call",
"params": {
"name": "generatePageObjectFile",
"arguments": {
"url": "https://example.com/login"
}
}
}
Response format: The server returns both the Page Object class:
// ===== PAGE OBJECT CLASS =====
// Save this as: ExampleComLoginPage.ts
export class ExampleComLoginPage { ... }
@modelcontextprotocol/sdk: MCP server implementationpuppeteer: Web scraping and page renderingcheerio: HTML parsing and element selectionzod: Schema validationtypescript: Type safetyThe server includes comprehensive error handling for:
The server uses Puppeteer with the following settings:
To add support for new element types, interaction methods, or test patterns, modify the generatePageObjectClass function in index.js.
If you are intending to update to the latest version of this MCP server package but the new version is not being pulled by npm, try this:
npm cache clean --force
npm install @jprealini/cypress-mcp@latest --save-dev
package-lock.json or yarn.lock), delete it and run:
npm install
npm install -g @jprealini/cypress-mcp@latest
npm list @jprealini/cypress-mcp
These steps ensure consumers always get the latest published MCP version and avoid issues with cached or locked old versions.
Below is an example of the expected Page Object format generated by MCP for saucedemo.com:
export class Swag_labsPage {
// Private elements
#elements = {
inputUsername: () => cy.get('[data-test="username"]'),
inputPassword: () => cy.get('[data-test="password"]'),
inputLoginButton: () => cy.get('[data-test="login-button"]')
}
// Element meta (currently not used for bulk actions)
// Public getters
get inputUsername() { return this.#elements.inputUsername() }
get inputPassword() { return this.#elements.inputPassword() }
get inputLoginButton() { return this.#elements.inputLoginButton() }
// Value/State getters
getValueInputUsername() { return this.#elements.inputUsername().invoke('val') }
getValueInputPassword() { return this.#elements.inputPassword().invoke('val') }
getTextInputLoginButton() { return this.#elements.inputLoginButton().invoke('text') }
// Interaction methods (per-element actions)
typeInputUsername(text) { return this.#elements.inputUsername().type(text) }
clearInputUsername() { return this.#elements.inputUsername().clear() }
typeInputPassword(text) { return this.#elements.inputPassword().type(text) }
clearInputPassword() { return this.#elements.inputPassword().clear() }
clickInputLoginButton() { return this.#elements.inputLoginButton().click() }
}
This format follows one of the mostly used page object standards, using data attributes for selectors, private element encapsulation, public getters, value/state getters, and interaction methods for each element.
If you need or expect a different pattern, you can generate this base structure using this MCP, and then use your own instruction set to edit it to fit your needs, using a prompt like:
Create a page object file using the following url: https://www.saucedemo.com/ and after creating it, edit it to meet the requirements described in my instructions.md file
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP Cypress Page Object Generator from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/cypress-test-generator)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.