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.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
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"
]
}
}
}