MCP.so
登录

Cypress MCP Test Generator

@mgandhi82

关于 Cypress MCP Test Generator

mcp server for cypress

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

mgandhi82

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Cypress MCP Test Generator?

Cypress MCP Test Generator is a Model Context Protocol (MCP) server that converts natural language prompts into fully functional Cypress tests. It is intended for developers who want to create Cypress end-to-end tests by describing scenarios in plain English.

How to use Cypress MCP Test Generator?

Install dependencies with npm install, build with npm run build, and configure the MCP server in VS Code by creating .vscode/mcp.json with the correct path to the built index.js. Open your project in VS Code; the server starts automatically. Use the command palette to type your test description and receive a generated test file in the cypress/e2e directory.

Key features of Cypress MCP Test Generator

  • Generate Cypress tests from natural language prompts
  • Automatically handles cookie consent dialogs
  • Includes retry mechanisms for test reliability
  • Supports TypeScript with custom commands
  • Integrated with VS Code via MCP

Use cases of Cypress MCP Test Generator

  • Convert a navigation and search scenario into an automated test
  • Generate a complete login flow test with credential entry and verification
  • Produce a form submission test that fills fields and checks success messages

FAQ from Cypress MCP Test Generator

What are the prerequisites?

Node.js v16 or higher, npm, VS Code, and TypeScript.

How do I fix "Server not starting"?

Verify the path in mcp.json is correct, check that build/index.js exists, and ensure your Node.js version is compatible.

How do I resolve test generation failures?

Check your prompt format, review server logs for errors, and confirm all dependencies are installed.

Where can I find logs and generated test files?

Server logs appear in VS Code’s Output panel (Cypress MCP Server). Generated tests are saved in cypress/e2e.

How do I troubleshoot VS Code integration issues?

Reload the VS Code window, check the output panel for errors, and validate the .vscode/mcp.json configuration.

评论

开发工具 分类下的更多 MCP 服务器