qa-ai-agents
Provides integration with local Ollama models as an alternative to cloud-based LLMs for running the QA pipeline, useful for development and debugging.
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., "@qa-ai-agentsRun the full QA pipeline for the login feature"
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.
QA AI Agents
An AI-powered QA automation pipeline built with TypeScript, Claude API, and the Model Context Protocol (MCP).
Architecture
Four specialised agents run in sequence, each grounded in feature requirements, business rules, and API contracts:
Agent 1 — Functional Tester: Generates test scenarios across happy path, negative, security, edge cases, UI states, and business rules
Agent 2 — Test Architect: Assigns each scenario to the correct test pyramid layer (unit / API / component / E2E), sets automation priority (P1/P2/P3), and flags manual-only scenarios
Agent 3 — Test Engineer: Writes production-grade Playwright tests for unit, API, and component layers using Page Object Model (POM). E2E tests are excluded — these are handled at SIT/UAT level
Agent 4 — Code Reviewer: Audits generated tests for selector quality, assertion completeness, and Playwright best practices
Related MCP server: QA Automation MCP Server
MCP Server
Exposes the pipeline as 4 MCP tools callable from Claude Desktop or Claude Code:
run_qa_pipeline— full 4-agent pipelinegenerate_test_scenarios— Agent 1 onlyset_feature_input— write to input/feature.mdget_pipeline_report— read last pipeline report
Tech Stack
TypeScript + Node.js
Anthropic Claude API (Sonnet 4.6 + Haiku 4.5)
Ollama (local LLM support — toggle via USE_OLLAMA)
Playwright (generated test output)
Model Context Protocol (MCP) SDK
Setup
git clone https://github.com/abchahal/qa-ai-agents.git
cd qa-ai-agents
npm install
cp .env.example .env
# Add your ANTHROPIC_API_KEY to .envRunning the pipeline
# Via terminal
npm run pipeline
# Via Claude Desktop / Claude Code
# Type: "Run the full QA pipeline using input/feature.md"Input files
File | Purpose |
| Feature requirements, business rules, UI selectors |
| API schema (optional) |
| Source code context (optional) |
Output
output/
├── pages/ ← Page Object classes (one per page, shared across scenarios)
├── tests/
│ ├── unit/ ← Unit test spec files
│ ├── api/ ← API test spec files
│ └── component/ ← Component test spec files
└── pipeline_report.mdModel Strategy
Agent | Model | Reason |
Agent 1 | Haiku 4.5 | Structured JSON output |
Agent 2 | Haiku 4.5 | Classification task |
Agent 3 | Sonnet 4.6 | Code generation — requires higher quality output |
Agent 4 | Haiku 4.5 | Analysis and scoring |
MCP Setup via CLI
Step 1 — Create the batch file
Create start-mcp.bat in the project root:
@echo off
cd /d "C:\path\to\qa-ai-agents"
node --loader ts-node/esm src/server.tsReplace C:\path\to\qa-ai-agents with your actual project path.
Step 2 — Register the MCP server
claude mcp add -s user qa-ai-agents "C:\path\to\qa-ai-agents\start-mcp.bat"Step 3 — Verify connection
# List all MCP servers and their status
claude mcp list
# Check your server specifically
claude mcp get qa-ai-agentsExpected output:
qa-ai-agents:
Scope: User config (available in all your projects)
Status: ✔ Connected
Type: stdio
Command: C:\path\to\qa-ai-agents\start-mcp.batStep 4 — Remove the server (if needed)
claude mcp remove qa-ai-agents -s userSwitching between Ollama and Claude API
Ollama → Claude API
Step 1 — Update .env:
USE_OLLAMA=false
ANTHROPIC_API_KEY=sk-ant-your-actual-key-hereStep 2 — Restart the MCP server to pick up new env:
claude mcp remove qa-ai-agents -s user
claude mcp add -s user qa-ai-agents "C:\path\to\qa-ai-agents\start-mcp.bat"Step 3 — Verify correct provider is loaded:
npm run agent1You should see:
Using Claude API: claude-sonnet-4-6Claude API → Ollama
Step 1 — Make sure Ollama is running and model is pulled:
ollama list
# Should show qwen2.5-coder:7b or your preferred modelIf model is not pulled yet:
ollama pull qwen2.5-coder:7bStep 2 — Update .env:
USE_OLLAMA=true
OLLAMA_MODEL=qwen2.5-coder:7bStep 3 — Restart the MCP server:
claude mcp remove qa-ai-agents -s user
claude mcp add -s user qa-ai-agents "C:\path\to\qa-ai-agents\start-mcp.bat"Step 4 — Verify correct provider is loaded:
npm run agent1You should see:
Using Ollama local model: qwen2.5-coder:7bProvider comparison
Ollama (local) | Claude API (cloud) | |
Cost | Free | ~$0.18 per pipeline run |
Speed | 15–25 minutes | 45–90 seconds |
Quality | Good | Best |
Internet required | No | Yes |
Best for | Development and debugging | Production runs and demos |
Tip: Use
USE_OLLAMA=truewhile writing and debugging agent code to avoid burning API credits. Switch toUSE_OLLAMA=falsefor actual pipeline runs and portfolio demos.
Environment variables
Variable | Required | Description |
| Yes (if USE_OLLAMA=false) | Your Anthropic API key from console.anthropic.com |
| Yes |
|
| No | Ollama model name. Default: |
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 Servers
- Alicense-qualityCmaintenanceEnables 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.Last updated3Apache 2.0
- FlicenseAqualityCmaintenanceAn AI-powered QA automation tool that crawls web pages, generates Playwright-based pytest tests using an LLM, runs them, and automatically heals failing tests.Last updated3
- Flicense-qualityDmaintenanceEnables AI agents to run reusable Playwright test fixtures against live deployments, providing structured test results, screenshots, and assertions.Last updated
- Alicense-qualityBmaintenanceAutonomous QA platform powered by Claude + Playwright that allows AI to write, run, and fix tests for any project.Last updatedMIT
Related MCP Connectors
AI QA tester — real browsers scan sites for bugs, SEO, perf, and accessibility issues via chat.
Browser-backed QA with evidence and fix-ready reports for coding agents.
AI Agent with Architectural Memory. Impact analysis (free), tests and code from the graph (pro).
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/abchahal/qa-ai-agents'
If you have feedback or need assistance with the MCP directory API, please join our Discord server