Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CWDYesThe path to the Cypress project directory

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
cypress_discoverA

Discover and map the entire Cypress test suite. Returns all specs with test counts, describe blocks, and test names. Use this first to understand what tests exist before writing or running anything.

cypress_analyze_specA

Deep analysis of a single spec file. Extracts describe/it blocks with line numbers, cy.visit URLs, cy.intercept routes, fixtures used, and custom commands called.

cypress_list_specsB

List all Cypress spec files in the project. Returns file paths and test counts.

cypress_run_specA

Run a single Cypress spec file headless. Returns structured results with pass/fail counts, failure details, screenshot paths, and recommended next actions.

cypress_run_testA

Run a specific test by name within a spec file using grep. Returns structured results with recommended next actions for the agent.

cypress_rerun_lastA

Replay the exact last run_spec or run_test invocation. Removes friction when iterating on the same failure — no need to reconstruct arguments.

cypress_get_last_runA

Return the full structured results of the most recent Cypress test run including runId, args used, and all test details.

cypress_get_failure_contextA

Get a compact debugging bundle for the most recent failure. Returns the failing test, error, stack hint, screenshot paths, relevant spec excerpt, and recommended next actions. This is the key tool for the fix-and-rerun loop.

cypress_get_screenshotA

Find screenshot files from Cypress test failures. Returns absolute file paths that multimodal AI agents can read directly.

cypress_get_envA

Return the contents of cypress.env.json with sensitive values masked. Safe to display.

cypress_doctorA

Comprehensive health check of the Cypress project. Validates config file, binary, spec files, support file, and directories. Use this to diagnose setup issues.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jams4code/cypress-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server