MCP server that shows an AI assistant the last cypress run: command log, errors, screenshots and DOM of failed tests. For headless runs and CI.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add cypress -- npx -y @miroslavmyrha/cypress-mcp~/.codex/config.toml
[mcp_servers.cypress]
command = "npx"
args = ["-y", "@miroslavmyrha/cypress-mcp"]
# codex mcp add cypress -- npx -y @miroslavmyrha/cypress-mcp~/.cursor/mcp.json
{
"mcpServers": {
"cypress": {
"command": "npx",
"args": [
"-y",
"@miroslavmyrha/cypress-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"cypress": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@miroslavmyrha/cypress-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"cypress": {
"command": "npx",
"args": [
"-y",
"@miroslavmyrha/cypress-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"cypress": {
"command": "npx",
"args": [
"-y",
"@miroslavmyrha/cypress-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"cypress": {
"command": "npx",
"args": [
"-y",
"@miroslavmyrha/cypress-mcp"
]
}
}
}