AI QA Agent MCP
Click on "Install 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., "@AI QA Agent MCPRun the regression test suite and show the summary"
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.
AI QA Agent MCP
An MCP-enabled QA automation framework built with Playwright and Node.js for executing UI and API automated tests through a Model Context Protocol (MCP) server.
The project demonstrates how traditional test automation can be exposed as reusable MCP tools, allowing an MCP-compatible client to trigger test suites and receive structured test results.
๐ Features
Playwright UI automation
API testing with Playwright
Page Object Model (POM)
MCP server integration
MCP tool-based test execution
Structured JSON test results
Login, inventory and checkout test coverage
Positive and negative test scenarios
Regression test execution
Environment-based configuration
HTML test reporting
Screenshots on failure
GitHub Actions CI/CD
Automated execution on push and pull requests
๐งฐ Tech Stack
JavaScript
Node.js
Playwright
Model Context Protocol (MCP)
MCP Inspector
Git
GitHub
GitHub Actions
๐๏ธ Architecture
MCP Client / Inspector
|
v
MCP Server
(mcp/server.js)
|
v
run_tests Tool
|
+-----------+-----------+
| |
v v
Test Tool Layer Suite Selection
(tools/*.js) login / inventory /
checkout / api /
regression
|
v
testRunner.js
|
v
Playwright
/ \
v v
UI Tests API Tests
|
v
Page Objects๐ Project Structure
my-ai-qa-agent/
โ
โโโ .github/
โ โโโ workflows/
โ โโโ playwright.yml
โ
โโโ data/
โ โโโ customer.js
โ โโโ users.js
โ
โโโ mcp/
โ โโโ server.js
โ
โโโ pages/
โ โโโ LoginPage.js
โ โโโ InventoryPage.js
โ โโโ CartPage.js
โ โโโ CheckoutPage.js
โ
โโโ tests/
โ โโโ api/
โ โ โโโ users.api.spec.js
โ โโโ login.spec.js
โ โโโ inventory.spec.js
โ โโโ checkout.spec.js
โ
โโโ tools/
โ โโโ testRunner.js
โ โโโ runLoginTests.js
โ โโโ runInventoryTests.js
โ โโโ runCheckoutTests.js
โ โโโ runApiTests.js
โ โโโ runRegressionTests.js
โ
โโโ .env.example
โโโ .gitignore
โโโ package.json
โโโ playwright.config.js
โโโ README.mdpages/
Contains reusable Page Object Model classes that encapsulate UI locators and user actions.
tests/
Contains Playwright UI and API test specifications.
tools/
Acts as the bridge between MCP requests and Playwright test execution. Individual tools select test suites while testRunner.js executes Playwright and summarizes the results.
mcp/
Contains the MCP server that exposes QA automation capabilities as MCP tools.
.github/workflows/
Contains the GitHub Actions workflow used to execute the automated test suite in CI.
โ๏ธ Installation
Clone the repository:
git clone https://github.com/bisminizzar84/ai-qa-agent-mcp
cd ai-qa-agent-mcpInstall dependencies:
npm installInstall Playwright browsers:
npx playwright installCreate a local .env file based on .env.example:
BASE_URL=https://www.saucedemo.com๐งช Running Tests
Run the complete test suite:
npm testRun tests with a visible browser:
npx playwright test --headedRun only login tests:
npx playwright test tests/login.spec.jsRun API tests:
npx playwright test tests/api/users.api.spec.jsOpen the Playwright HTML report:
npx playwright show-report๐ค MCP Integration
The project exposes QA automation through an MCP server.
Start the server through MCP Inspector:
npx -y @modelcontextprotocol/inspector@latest node mcp/server.jsThe run_tests MCP tool supports multiple suites:
logininventorycheckoutapiregression
Example request:
{
"suite": "api"
}Example response:
{
"suite": "api",
"status": "passed",
"total": 1,
"passed": 1,
"failed": 0,
"skipped": 0,
"durationMs": 1841
}The MCP layer converts test execution into structured results that can be consumed by MCP-compatible clients.
๐ CI/CD
GitHub Actions automatically executes the Playwright test suite when code is pushed to main or when a pull request targets main.
The pipeline performs:
Repository checkout
Node.js setup
Dependency installation
Playwright browser installation
Automated test execution
Playwright report upload
This provides automated regression feedback for every code change.
๐ฎ Future Enhancements
Connect an LLM to the MCP server for natural-language test execution
AI-assisted failure analysis
Automatic defect summaries
Test generation from natural-language requirements
Additional API coverage
Parallel and cross-browser execution
Dockerized test execution
Test result notifications
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MEOK MCP Test MCP โ golden-file + schema-drift + tool-failure tests for any MCP server. Drop-in
Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.
MCP server for AI access to SmartBear tools, including BugSnag, Reflect, Swagger, PactFlow, QTM4J.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/bisminizzar84/ai-qa-agent-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server