kairo
Provides integration with OpenAI for generating Playwright tests and recommending fixes based on failure classification.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@kairoAnalyze project, generate Playwright tests, and run them."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Kairo
Kairo is an MCP server that closes the loop between code generation and test verification.
It autonomously analyzes a project → generates Playwright tests via OpenAI → runs them → classifies failures → recommends fixes — iterating up to 3 times.
How it works
analyze → generate tests → run → classify → fix → rerun (max 3x)Exit conditions: all pass · iteration 3 reached · only flaky/env failures · app unresponsive
Related MCP server: QA Automation MCP Server
Install
npm install -g @kairo/mcpOr use via npx (no install needed):
{
"mcpServers": {
"kairo": {
"command": "npx",
"args": ["-y", "@kairo/mcp"],
"env": {
"OPENAI_API_KEY": "sk-..."
}
}
}
}MCP Tools
Tool | Description |
| Detect stack, routes, endpoints, auth strategy |
| Generate Playwright tests via OpenAI |
| Execute with double-run flakiness detection |
| bug / flaky / env / security |
| Fix recommendations with confidence levels |
Dashboard
Start the API:
cd apps/api && pnpm devStart the dashboard:
cd apps/dashboard && pnpm dev
# → http://localhost:5173Development
pnpm install
pnpm typecheck # typecheck all packages
pnpm build # build all packages
pnpm test # run all testsEnvironment Variables
Variable | Required | Description |
| Yes | OpenAI API key for test generation and fix recommendations |
| No | SQLite path (default: |
| No | API port (default: |
Stack
packages/analyzer — Project analysis (stack, routes, auth)
packages/generator — OpenAI-powered test generation
packages/runner — Playwright executor with double-run
packages/classifier — Deterministic failure classification
packages/fixer — OpenAI fix recommendations
packages/mcp — MCP server + orchestration loop
apps/api — Express REST API + SQLite
apps/dashboard — React + Vite + HeroUI dashboard
This server cannot be deployed
Maintenance
Related MCP Connectors
Agentic testing: HyperExecute jobs, test failure triage, SmartUI visual diffs, a11y audits
AI QA tester — real browsers scan sites for bugs, SEO, perf, and accessibility issues via chat.
Independent preview-URL QA for coding agents. Playwright heuristics, pass/fail pack.
Browser-based QA for AI-built software. Test pages with real browsers via agents.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables automated end-to-end testing powered by Playwright where test cases are defined in natural language and executed by AI. Uses lightweight snapshot analysis with vision mode fallback for sophisticated testing scenarios.3Apache 2.0
- FlicenseAqualityDmaintenanceAn AI-powered QA automation tool that crawls web pages, generates Playwright-based pytest tests using an LLM, runs them, and automatically heals failing tests.3-
- AlicenseNot gradedqualityBmaintenanceAutonomous QA platform powered by Claude + Playwright that allows AI to write, run, and fix tests for any project.MIT
- AlicenseNot gradedqualityDmaintenanceAutomates repository analysis, test planning, and generation of end-to-end tests with Playwright, acting as an intelligent quality assistant.10 npmMIT