Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Cypress MCP

MCP server by jprealini Verified · npm:@jprealini

Generates Cypress Page Object classes from a web page URL. It is built for developers who write Cypress tests and want a starting point for page objects.

  • Score 61
  • 22 stars
  • 389 a week
  • MIT
  • Updated

Install Cypress MCP

Built from the published package, never by AI.

claude mcp add cypress-mcp -- npx -y @jprealini/cypress-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Cypress MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the cypress-mcp block.

About

Cypress MCP is an MCP server that generates Cypress Page Object classes for a web page you provide by URL. It exposes a generatePageObjectFile tool that takes a url argument. The server uses Puppeteer to fetch and render the page, and Cheerio to parse the HTML and extract element information.

The returned TypeScript class includes private element locators, public getters, and interaction methods such as click and type. The source describes it as a base structure that can be edited to match other patterns. It suits developers who write Cypress tests and want a starting point for page objects.

Written from the project's README and checked against it.

Tools it gives your assistant

  • generatePageObjectFileTakes a url argument and returns a Cypress Page Object class for that page.

What you need

  • Node.js
  • npm, to install @jprealini/cypress-mcp
  • An MCP client

Try asking

  • Create a page object file using the following url: https://www.saucedemo.com/
  • Generate a Cypress page object for https://example.com/login
  • Create a page object file for this URL, then edit it to match my instructions.md file

Good to know

  • The generated class is a base structure that may need editing to fit your own patterns.
  • Adding new element types or interaction methods requires changing generatePageObjectClass in index.js.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Cypress MCP

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Cypress MCP: common questions

What does Cypress MCP generate?

It generates a TypeScript Page Object class for a given URL. The class includes private element locators, public getters, and interaction methods.

How does it read the page?

It uses Puppeteer to fetch and render the page in headless mode, then uses Cheerio to parse the HTML and extract element information.

Which tool does the server expose?

The server exposes a generatePageObjectFile tool that accepts a url parameter.

How do I install Cypress MCP?

In Claude Code run claude mcp add cypress-mcp -- npx -y @jprealini/cypress-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Cypress MCP the official server?

Cypress MCP is published by npm:@jprealini from its verified domain in the official MCP Registry.

Is Cypress MCP free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Cypress MCP safe to use?

It scores 61 of 100. Grades: maintenance D, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Cypress MCP?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Cypress MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Cypress MCP Install

Add to stack

Loading.