Skip to main content
Glama
AI Test Automation MCP Server

AI Test Automation MCP Server

by abhirise1981

OmniQE: Enterprise Autonomous AI Quality Engineering Platform

OmniQE is a production-grade, multi-agent autonomous Quality Engineering platform built in 100% TypeScript. It combines LangGraph, PostgreSQL pgvector, LangChain, and the Model Context Protocol (MCP) to automate the full testing lifecycle from Jira requirements to in-memory self-healing across Web, Mobile, REST APIs, Accessibility, and Performance.


πŸ† 100% Live Verified Test Execution Scorecard

All 76 automated test specs across all 7 layers of the framework pass deterministically in CI/CD:

Test Layer

CLI Command

Tests

Status

Execution Time

Scope

🧠 AI & Autonomous Pipeline

npm run test:ai

37

100% PASSED

942 ms

LangGraph StateGraph, pgvector <=> Cosine Search, Chunking, Guardrails, & Autonomous Pipeline (Planner, Generator, Healer).

🌐 Desktop Web UI

npm run test:ui

9

100% PASSED

53.3 s

Playwright Desktop Chrome end-to-end critical flows (Registration, Search, Cart & Order Checkout).

πŸ“± Mobile Web Emulation

npm run test:mobile

6

100% PASSED

52.7 s

Mobile-Chrome & Mobile-Safari responsive emulation across viewport breakpoints.

πŸ“² Mobile Selenium / Appium

npm run test:mobile-selenium

5

100% PASSED

22.0 s

Mobile WebDriver harness testing navigation, hamburger menus, and touch targets.

πŸ”Œ REST API Layer

npm run test:api

6

100% PASSED

2.0 s

GET, POST, PUT, DELETE functional and schema validation.

πŸ›‘οΈ API Security (OWASP Top 10)

npm run test:security

9

100% PASSED

6.5 s

SQL injection rejection, XSS escaping, verb tampering, and auth parameter enforcement.

β™Ώ Accessibility (WCAG 2.2 AA)

npm run test:accessibility

4

100% PASSED

8.0 s

Automated @axe-core/playwright scanning, label associations, and keyboard navigation.

TOTALS

Full Framework

76

76 / 76 PASSED

~2.5 mins

Zero Flakiness. 100% Deterministic.


Related MCP server: Vigilis

πŸ›οΈ Executive Architecture: The Autonomous Multi-Agent Loop

Rather than running brittle, static scripts, OmniQE coordinates a 4-agent state machine in ai-rag/pipeline/pipeline.ts:

========================================================================================================================
                          OMNI-QE AUTONOMOUS IN-MEMORY EXECUTION LIFECYCLE
========================================================================================================================

                 [ Jira Ticket Key (e.g. "PROD-409: Cancel Order") ]
                                         β”‚
                                         β–Ό
         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
         β”‚ 1. PLANNER AGENT (LangGraph Node)                            β”‚
         β”‚ - Uses Built-in Tool: mcp_fetch_jira                         β”‚
         β”‚ - Uses Built-in Tool: mcp_search_policies (pgvector RAG)     β”‚
         β”‚ - Writes Markdown Plan to in-memory state (0 Disk Writes!)   β”‚
         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                        β”‚
                                        β–Ό
         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
         β”‚ 2. GENERATOR AGENT (LangGraph Node)                          β”‚
         β”‚ - Uses Built-in Tool: mcp_inspect_live_dom (Playwright MCP)   β”‚
         β”‚ - Synthesizes Playwright TypeScript Spec in-memory in state  β”‚
         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                        β”‚
                                        β–Ό
         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
         β”‚ 3. EXECUTOR AGENT (LangGraph Node)                           β”‚
         β”‚ - Evaluates generated spec in memory                         β”‚
         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                        β”‚
                             β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                          [ PASS ]              [ FAIL ] (Broken Locator)
                             β”‚                     β”‚
                             β–Ό                     β–Ό
                          [ END ]       β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                                        β”‚ 4. HEALER AGENT (LangGraph Node)             β”‚
                                        β”‚ - Uses Built-in Tool: mcp_heal_locator       β”‚
                                        β”‚ - Diagnoses DOM delta & computes confidence  β”‚
                                        β”‚ - Patches code in-memory in LangGraph state  β”‚
                                        β”‚ - Emits patch diff to inMemoryArtifacts      β”‚
                                        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                                               β”‚
                                                               β–Ό
                                                            [ END ]

⚑ Key Architectural Innovations

1. Zero Disk Writes & In-Memory MCP Execution

Traditional AI authoring tools write scratch files (temp.spec.ts) to disk, causing file clutter and CI permission errors. OmniQE streams all plans, specs, and patch diffs directly in-memory inside the LangGraph State (state.inMemoryArtifacts).

2. Multi-Provider Resilient LLM Layer

Avoids single-vendor lock-in:

  • Primary: OpenAI (gpt-4o) configured with maxRetries: 3 and automatic exponential backoff.

  • Automatic Failover: Chained via LangChain's native .withFallbacks() to Anthropic Claude 3.5 Sonnet upon any unrecoverable API rate limits or 503 outages.

  • Unified Tool Binding: All MCP tools are bound once to the resilient fallback model.

3. PostgreSQL pgvector Semantic Store

  • Real PostgreSQL DDL schema with vector(128) column.

  • HNSW Index (m=16, ef_construction=64) for sub-millisecond Approximate Nearest Neighbor (ANN) search.

  • <=> Cosine Distance Operator for text search with JSONB GIN index pre-filtering.

4. Deterministic L1 Security Guardrails

  • Intercepts prompt injections, jailbreaks, and PII leakage before retrieval touches the database or LLM.

  • 100% deterministic, running in under 2ms with zero external API calls.


πŸ“ Repository Structure

omni-qe-core/
β”œβ”€β”€ .github/workflows/
β”‚   └── playwright.yml            # 8-stage cloud infrastructure pipeline + quality gate
β”œβ”€β”€ ai-guardrails/
β”‚   └── lib/guard.ts              # L1 deterministic prompt injection & PII guard
β”œβ”€β”€ ai-rag/                       # Enterprise Agentic AI & RAG Engine
β”‚   β”œβ”€β”€ chunking/textSplitter.ts  # LangChain RecursiveCharacterTextSplitter
β”‚   β”œβ”€β”€ embeddings/
β”‚   β”‚   β”œβ”€β”€ vectorStore.ts        # VectorStore interface & deterministic embeddings
β”‚   β”‚   └── pgvectorStore.ts      # PostgreSQL pgvector DDL, HNSW index & <=> search
β”‚   β”œβ”€β”€ evals/ragMetrics.ts       # Faithfulness & Context Relevance evaluators
β”‚   β”œβ”€β”€ graph/ragAgentGraph.ts    # 5-node LangGraph StateGraph agent workflow
β”‚   └── pipeline/pipeline.ts      # Autonomous Multi-Agent Pipeline (Planner, Generator, Healer)
β”œβ”€β”€ mobile-selenium/              # Standalone Selenium WebDriver 4 mobile harness
β”‚   └── tests/mobileEcommerce.test.ts
β”œβ”€β”€ load-tests/
β”‚   └── ecommerce.gatling.ts      # Gatling TypeScript load test (1,000 users / 15s)
β”œβ”€β”€ tests/
β”‚   β”œβ”€β”€ ui/ecommerce.spec.ts      # Playwright Desktop Web UI tests
β”‚   β”œβ”€β”€ api/location.spec.ts      # REST API functional & contract tests
β”‚   β”œβ”€β”€ security/api-security.spec.ts # OWASP API Top 10 security tests
β”‚   β”œβ”€β”€ accessibility/accessibility.spec.ts # WCAG 2.2 AA Axe-Core scan
β”‚   β”œβ”€β”€ ai-guardrails/guardrails.spec.ts    # Prompt injection & guardrail tests
β”‚   └── ai-rag/                   # SDET AI automated test suites
β”‚       β”œβ”€β”€ chunking.spec.ts
β”‚       β”œβ”€β”€ embeddings-vectorstore.spec.ts
β”‚       β”œβ”€β”€ pgvector.spec.ts
β”‚       β”œβ”€β”€ langgraph-agent.spec.ts
β”‚       └── autonomous-qe-pipeline.spec.ts # Planner, Generator, Healer in-memory tests
β”œβ”€β”€ package.json
└── playwright.config.ts

πŸš€ Quick Start Guide

1. Install Dependencies & Browsers

npm install
npx playwright install --with-deps

2. Run All Tests

# Run the complete Autonomous AI suite (37 tests in ~940ms):
npm run test:ai

# Run Web UI tests:
npm run test:ui

# Run Mobile Web emulation tests:
npm run test:mobile

# Run Mobile Selenium WebDriver tests:
npm run test:mobile-selenium

# Run REST API tests:
npm run test:api

# Run Security tests:
npm run test:security

# Run Accessibility WCAG 2.2 AA tests:
npm run test:accessibility

3. View Rich HTML Reports

npx monocart show-report test-results/report.html

πŸ“– Deep-Dive Architectural Documentation

  • docs/AI_RAG_LANGGRAPH.md: Exhaustive technical guide covering pgvector DDL, HNSW vs IVFFlat indexing, distance operators (<=>), 500-page PDF chunking mathematics, LangGraph state machine internals, and senior interview answers.

  • docs/PLAYWRIGHT_AGENTS.md: Details on the Playwright native agent loop (Planner, Generator, Healer) and human-in-the-loop review architecture.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI models (Claude, ChatGPT, GitHub Copilot) to run and analyze local tests, rerun failures, and orchestrate QA workflows using existing UI and API test frameworks.
      -
    • F
      license
      A
      quality
      C
      maintenance
      A licensed, locally run Playwright E2E testing MCP server for Claude Desktop and Cursor. It lets AI coding agents inspect semantic accessibility structure, validate role-based browser flows with explicit assertions, and generate reusable Playwright tests.
      3
      -