Crawler Summary

cypress-test-gen-mcp answer-first brief

MCP server for generating Cypress test cases and Page Object Models Cypress Test Generator MCP Server A Model Context Protocol (MCP) server that automatically generates Cypress test cases and Page Object Models by scraping and analyzing web pages. πŸš€ Features - **Intelligent Web Scraping**: Uses Puppeteer to render pages and extract interactive elements - **Smart Element Detection**: Identifies buttons, inputs, forms, navigation, and media elements - **Page Object Generation**: Creat Published capability contract available. No trust telemetry is available yet. Last updated 2/24/2026.

Freshness

Last checked 2/22/2026

Best For

Contract is available with explicit auth and schema references.

Not Ideal For

cypress-test-gen-mcp is not ideal for teams that need stronger public trust telemetry, lower setup complexity, or more explicit contract coverage before production rollout.

Evidence Sources Checked

editorial-content, capability-contract, runtime-metrics, public facts pack

Claim this agent
Agent DossierGitHubSafety: 80/100

cypress-test-gen-mcp

MCP server for generating Cypress test cases and Page Object Models Cypress Test Generator MCP Server A Model Context Protocol (MCP) server that automatically generates Cypress test cases and Page Object Models by scraping and analyzing web pages. πŸš€ Features - **Intelligent Web Scraping**: Uses Puppeteer to render pages and extract interactive elements - **Smart Element Detection**: Identifies buttons, inputs, forms, navigation, and media elements - **Page Object Generation**: Creat

MCPverified

Public facts

6

Change events

1

Artifacts

0

Freshness

Feb 22, 2026

Verifiededitorial-content1 verified compatibility signal

Published capability contract available. No trust telemetry is available yet. Last updated 2/24/2026.

Schema refs publishedTrust evidence available

Trust score

Unknown

Compatibility

MCP

Freshness

Feb 22, 2026

Vendor

Kerrfat

Artifacts

0

Benchmarks

0

Last release

1.0.0

Executive Summary

Key links, install path, and a quick operational read before the deeper crawl record.

Verifiededitorial-content

Summary

Published capability contract available. No trust telemetry is available yet. Last updated 2/24/2026.

Setup snapshot

git clone https://github.com/kerrfat/cypress-test-Gen-mcp.git
  1. 1

    Setup complexity is MEDIUM. Standard integration tests and API key provisioning are required before connecting this to production workloads.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence Ledger

Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.

Verifiededitorial-content
Vendor (1)

Vendor

Kerrfat

profilemedium
Observed Feb 24, 2026Source linkProvenance
Compatibility (2)

Protocol compatibility

MCP

contracthigh
Observed Feb 24, 2026Source linkProvenance

Auth modes

mcp, api_key

contracthigh
Observed Feb 24, 2026Source linkProvenance
Artifact (1)

Machine-readable schemas

OpenAPI or schema references published

contracthigh
Observed Feb 24, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance
Integration (1)

Crawlable docs

6 indexed pages on the official domain

search_documentmedium
Observed Apr 15, 2026Source linkProvenance

Release & Crawl Timeline

Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.

Self-declaredagent-index

Artifacts Archive

Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.

Self-declaredGITHUB MCP

Extracted files

0

Examples

6

Snippets

0

Languages

typescript

Executable Examples

bash

mkdir cypress-test-generator-mcp
cd cypress-test-generator-mcp

bash

npm install

bash

npm run build

json

{
  "mcpServers": {
    "cypress-test-generator": {
      "command": "node",
      "args": ["path/to/cypress-test-generator-mcp/dist/index.js"]
    }
  }
}

javascript

// Returns detailed analysis of page elements, forms, and navigation
await tools.scrape_page({ url: "https://example.com/login" })

javascript

await tools.generate_page_object({ 
  url: "https://example.com/login",
  outputPath: "./page-objects/LoginPage.ts"
})

Docs & README

Full documentation captured from public sources, including the complete README when available.

Self-declaredGITHUB MCP

Docs source

GITHUB MCP

Editorial quality

ready

MCP server for generating Cypress test cases and Page Object Models Cypress Test Generator MCP Server A Model Context Protocol (MCP) server that automatically generates Cypress test cases and Page Object Models by scraping and analyzing web pages. πŸš€ Features - **Intelligent Web Scraping**: Uses Puppeteer to render pages and extract interactive elements - **Smart Element Detection**: Identifies buttons, inputs, forms, navigation, and media elements - **Page Object Generation**: Creat

Full README

Cypress Test Generator MCP Server

A Model Context Protocol (MCP) server that automatically generates Cypress test cases and Page Object Models by scraping and analyzing web pages.

πŸš€ Features

  • Intelligent Web Scraping: Uses Puppeteer to render pages and extract interactive elements
  • Smart Element Detection: Identifies buttons, inputs, forms, navigation, and media elements
  • Page Object Generation: Creates TypeScript Page Object classes with locators and methods
  • Comprehensive Test Suites: Generates tests for functionality, accessibility, performance, and error handling
  • Workflow Recognition: Automatically detects common patterns like login and search workflows

πŸ“¦ Installation

  1. Clone or create the project directory:
mkdir cypress-test-generator-mcp
cd cypress-test-generator-mcp
  1. Initialize and install dependencies:
npm install
  1. Build the TypeScript code:
npm run build
  1. Configure your MCP client to use the server (add to your MCP configuration file):
{
  "mcpServers": {
    "cypress-test-generator": {
      "command": "node",
      "args": ["path/to/cypress-test-generator-mcp/dist/index.js"]
    }
  }
}

πŸ› οΈ Available Tools

1. scrape_page

Analyzes a web page and returns its structure.

Parameters:

  • url (string): The URL to scrape and analyze

Example:

// Returns detailed analysis of page elements, forms, and navigation
await tools.scrape_page({ url: "https://example.com/login" })

2. generate_page_object

Creates a TypeScript Page Object class from a URL.

Parameters:

  • url (string): The URL to generate Page Object for
  • outputPath (string, optional): File path to save the generated class

Example:

await tools.generate_page_object({ 
  url: "https://example.com/login",
  outputPath: "./page-objects/LoginPage.ts"
})

3. generate_test_suite

Generates comprehensive Cypress tests for a page.

Parameters:

  • url (string): The URL to generate tests for
  • outputPath (string, optional): File path to save the test file

Example:

await tools.generate_test_suite({ 
  url: "https://example.com/login",
  outputPath: "./tests/login.spec.ts"
})

4. generate_full_test_setup

Generates both Page Object and test suite for complete test setup.

Parameters:

  • url (string): The URL to generate complete setup for
  • outputDir (string, optional): Directory to save all generated files

Example:

await tools.generate_full_test_setup({ 
  url: "https://example.com/login",
  outputDir: "./cypress-tests"
})

πŸ“‹ Generated Code Examples

Page Object Example

export class LoginPage {
  private readonly url = 'https://example.com/login';
  private readonly emailInputSelector = '#email';
  private readonly passwordInputSelector = '#password';
  private readonly loginButtonSelector = '.login-btn';

  visit(): void {
    cy.visit(this.url);
  }

  getEmailInput(): Cypress.Chainable {
    return cy.get(this.emailInputSelector);
  }

  typeEmailInput(text: string): void {
    this.getEmailInput().should('be.visible').clear().type(text);
  }

  login(email: string, password: string): void {
    this.typeEmailInput(email);
    this.typePasswordInput(password);
    this.clickLoginButton();
  }
}

Test Suite Example

describe('Login Page', () => {
  let page: LoginPage;

  beforeEach(() => {
    page = new LoginPage();
    page.visit();
    page.waitForPageLoad();
  });

  describe('Element Interaction Tests', () => {
    it('should be able to type in email input', () => {
      const testText = '[email protected]';
      page.typeEmailInput(testText);
      page.getEmailInput().should('have.value', testText);
    });
  });

  describe('Accessibility Tests', () => {
    it('should have proper accessibility attributes', () => {
      cy.injectAxe();
      cy.checkA11y();
    });
  });
});

🎯 Use Cases

1. Rapid Test Development

// Generate complete test setup for a new page
await tools.generate_full_test_setup({ 
  url: "https://myapp.com/dashboard",
  outputDir: "./tests/dashboard"
})

2. Page Object Maintenance

// Regenerate Page Object when UI changes
await tools.generate_page_object({ 
  url: "https://myapp.com/updated-form",
  outputPath: "./page-objects/UpdatedFormPage.ts"
})

3. Cross-browser Testing Setup

// Generate tests for multiple pages
const pages = [
  "https://myapp.com/login",
  "https://myapp.com/signup", 
  "https://myapp.com/profile"
];

for (const url of pages) {
  await tools.generate_full_test_setup({ url, outputDir: "./tests" });
}

4. Regression Testing

// Quickly generate tests for critical user journeys
await tools.generate_test_suite({ 
  url: "https://myapp.com/checkout",
  outputPath: "./tests/critical/checkout.spec.ts"
})

πŸ”§ Configuration Options

Puppeteer Configuration

The server uses Puppeteer with these default settings:

  • Headless mode enabled
  • Network idle wait strategy
  • 30-second timeout
  • Sandbox disabled for Docker compatibility

Element Detection

The scraper identifies:

  • Interactive Elements: buttons, inputs, selects, links
  • Forms: with field analysis and submission detection
  • Navigation: menu items and navigation links
  • Media: images, videos, audio elements
  • Accessibility: ARIA labels, roles, and attributes

Selector Priority

  1. id attributes
  2. data-testid or data-test-id attributes
  3. name attributes
  4. CSS classes
  5. Text content (for short text)
  6. nth-child selectors (fallback)

πŸ—οΈ Project Structure

cypress-test-generator-mcp/
β”œβ”€β”€ src/
β”‚   └── index.ts          # Main MCP server code
β”œβ”€β”€ dist/                 # Compiled JavaScript
β”œβ”€β”€ page-objects/         # Generated Page Objects
β”œβ”€β”€ tests/               # Generated test suites
β”œβ”€β”€ package.json
β”œβ”€β”€ tsconfig.json
└── README.md

πŸ” Advanced Features

Workflow Detection

The generator automatically detects common workflows:

  • Login flows: email/password + submit button
  • Search functionality: search input + search button
  • Form submissions: form fields + submit actions

Test Categories

Generated tests include:

  • Functional tests: Element interactions and workflows
  • Accessibility tests: ARIA compliance and keyboard navigation
  • Performance tests: Page load timing
  • Responsive tests: Multiple viewport sizes
  • Error handling: Network errors and validation

Smart Naming

Elements are intelligently named based on:

  • ID attributes (#user-email β†’ userEmailInput)
  • Name attributes (name="password" β†’ passwordInput)
  • Placeholder text (placeholder="Search..." β†’ searchInput)
  • Button text ("Sign In" β†’ signInButton)

🚨 Error Handling

The server includes robust error handling for:

  • Invalid URLs or unreachable pages
  • Timeout issues during page loading
  • Puppeteer browser launch failures
  • File system write errors
  • Malformed HTML parsing

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

πŸ“„ License

MIT License - see LICENSE file for details

Contract & API

Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.

Verifiedcapability-contract

Contract coverage

Status

ready

Auth

mcp, api_key

Streaming

No

Data region

global

Protocol support

MCP: verified

Requires: mcp, lang:typescript

Forbidden: none

Guardrails

Operational confidence: medium

Contract is available with explicit auth and schema references.
Trust confidence is not low and verification freshness is acceptable.
Protocol support is explicitly confirmed in contract metadata.
Invocation examples
curl -s "https://www.xpersona.co/api/v1/agents/mcp-kerrfat-cypress-test-gen-mcp/snapshot"
curl -s "https://www.xpersona.co/api/v1/agents/mcp-kerrfat-cypress-test-gen-mcp/contract"
curl -s "https://www.xpersona.co/api/v1/agents/mcp-kerrfat-cypress-test-gen-mcp/trust"

Reliability & Benchmarks

Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.

Missingruntime-metrics

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

No benchmark suites or observed failure patterns are available.

Media & Demo

Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.

Missingno-media
No screenshots, media assets, or demo links are available.

Related Agents

Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.

Self-declaredprotocol-neighbors
Ard RegistryUpdated 0h agoRank 94

Brainiall NLP

Sentiment, toxicity, entity extraction, PII, translation, summary, QA, fraud scoring, safety audit.

MCPmcpmcp-registry
Ard RegistryUpdated 1h agoRank 94

Revuo

Agent-callable B2B SaaS directory: capability-structured, continuously verified listings.

MCPmcpmcp-registry
Ard RegistryUpdated 2h agoRank 94

Inferventis MCP Server

Loan & mortgage calculator, compound interest, ROI, crypto prices, FX conversion for AI agents.

MCPmcpmcp-registry
Ard RegistryUpdated 2h agoRank 94

ShortlistLens

Structured website and review evidence for AI-assisted local-business shortlisting.

MCPmcpmcp-registry
Machine Appendix

Contract JSON

{
  "contractStatus": "ready",
  "authModes": [
    "mcp",
    "api_key"
  ],
  "requires": [
    "mcp",
    "lang:typescript"
  ],
  "forbidden": [],
  "supportsMcp": true,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": "https://github.com/kerrfat/cypress-test-Gen-mcp#input",
  "outputSchemaRef": "https://github.com/kerrfat/cypress-test-Gen-mcp#output",
  "dataRegion": "global",
  "contractUpdatedAt": "2026-02-24T19:46:47.637Z",
  "sourceUpdatedAt": "2026-02-24T19:46:47.637Z",
  "freshnessSeconds": 19614728
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://www.xpersona.co/api/v1/agents/mcp-kerrfat-cypress-test-gen-mcp/snapshot",
    "contractUrl": "https://www.xpersona.co/api/v1/agents/mcp-kerrfat-cypress-test-gen-mcp/contract",
    "trustUrl": "https://www.xpersona.co/api/v1/agents/mcp-kerrfat-cypress-test-gen-mcp/trust"
  },
  "curlExamples": [
    "curl -s \"https://www.xpersona.co/api/v1/agents/mcp-kerrfat-cypress-test-gen-mcp/snapshot\"",
    "curl -s \"https://www.xpersona.co/api/v1/agents/mcp-kerrfat-cypress-test-gen-mcp/contract\"",
    "curl -s \"https://www.xpersona.co/api/v1/agents/mcp-kerrfat-cypress-test-gen-mcp/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "MCP"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_MCP",
      "generatedAt": "2026-10-09T20:18:56.334Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "MCP",
      "type": "protocol",
      "support": "supported",
      "confidenceSource": "contract",
      "notes": "Confirmed by capability contract"
    },
    {
      "key": "cypress",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "testing",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "automation",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "mcp",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "page-objects",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "test-generation",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    },
    {
      "key": "cli",
      "type": "capability",
      "support": "supported",
      "confidenceSource": "profile",
      "notes": "Declared in agent profile metadata"
    }
  ],
  "flattenedTokens": "protocol:MCP|supported|contract capability:cypress|supported|profile capability:testing|supported|profile capability:automation|supported|profile capability:mcp|supported|profile capability:page-objects|supported|profile capability:test-generation|supported|profile capability:cli|supported|profile"
}

Facts JSON

[
  {
    "factKey": "docs_crawl",
    "category": "integration",
    "label": "Crawlable docs",
    "value": "6 indexed pages on the official domain",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "MCP",
    "href": "https://www.xpersona.co/api/v1/agents/mcp-kerrfat-cypress-test-gen-mcp/contract",
    "sourceUrl": "https://www.xpersona.co/api/v1/agents/mcp-kerrfat-cypress-test-gen-mcp/contract",
    "sourceType": "contract",
    "confidence": "high",
    "observedAt": "2026-02-24T19:46:47.637Z",
    "isPublic": true
  },
  {
    "factKey": "auth_modes",
    "category": "compatibility",
    "label": "Auth modes",
    "value": "mcp, api_key",
    "href": "https://www.xpersona.co/api/v1/agents/mcp-kerrfat-cypress-test-gen-mcp/contract",
    "sourceUrl": "https://www.xpersona.co/api/v1/agents/mcp-kerrfat-cypress-test-gen-mcp/contract",
    "sourceType": "contract",
    "confidence": "high",
    "observedAt": "2026-02-24T19:46:47.637Z",
    "isPublic": true
  },
  {
    "factKey": "schema_refs",
    "category": "artifact",
    "label": "Machine-readable schemas",
    "value": "OpenAPI or schema references published",
    "href": "https://github.com/kerrfat/cypress-test-Gen-mcp#input",
    "sourceUrl": "https://www.xpersona.co/api/v1/agents/mcp-kerrfat-cypress-test-gen-mcp/contract",
    "sourceType": "contract",
    "confidence": "high",
    "observedAt": "2026-02-24T19:46:47.637Z",
    "isPublic": true
  },
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Kerrfat",
    "href": "https://github.com/kerrfat/cypress-test-Gen-mcp",
    "sourceUrl": "https://github.com/kerrfat/cypress-test-Gen-mcp",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-02-24T19:43:14.176Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://www.xpersona.co/api/v1/agents/mcp-kerrfat-cypress-test-gen-mcp/trust",
    "sourceUrl": "https://www.xpersona.co/api/v1/agents/mcp-kerrfat-cypress-test-gen-mcp/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "docs_update",
    "title": "Docs refreshed: Sign in to GitHub Β· GitHub",
    "description": "Fresh crawlable documentation was indexed for the official domain.",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  }
]

Sponsored

Ads related to cypress-test-gen-mcp and adjacent AI workflows.