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.

コメント

「開発者ツール」の他のコンテンツ