QA MCP Server

QA MCP Server

Enables AI-powered QA workflows including requirement analysis, test case generation/review, versioned project persistence, and import/export through MCP tools.

Category
Visit Server

README

QA MCP Server

An extensible Model Context Protocol (MCP) server designed to become a unified AI-powered QA platform.

Current Status

Phase 1 — Foundation & QA Intelligence

COMPLETED

Step Capability Status
1 Project foundation COMPLETED
2 MCP server + health COMPLETED
3 LLM provider abstraction COMPLETED
4 Requirement Analyzer COMPLETED
5 Test Case Generator COMPLETED
6 Test Case Reviewer COMPLETED
7 End-to-End QA Workflow COMPLETED

Phase 2 — Project Context, Persistence, Versioning & Portability

Step Capability Status
1 QA Project Context COMPLETED
2 SQLite Persistence COMPLETED
3 QA Suite Versioning COMPLETED
4 Import / Export COMPLETED

1. Vision

The long-term goal is to build a reusable QA MCP platform exposing QA capabilities to MCP-compatible AI clients.

MCP Client / AI Assistant
          |
          v
      QA MCP Server
          |
   +------+------+------+
   |             |      |
   v             v      v
QA Intelligence Connectors Automation
   |             |      |
Analyze        Jira    UI
Generate       GitHub  API
Review         Slack   Mobile
                       Performance
          |
          v
       QA Agent
          |
          v
 Persistent QA Context
          |
          v
 Project / Requirement / Suite Versions
          |
          v
 Import / Export

2. Phase 1 Architecture

Requirement
     |
     v
Requirement Analyzer
     |
     v
RequirementAnalysis
     |
     v
Test Case Generator
     |
     v
TestCaseResponse
     |
     v
Test Case Reviewer
     |
     v
TestCaseReview
     |
     v
QASuiteResult

Core MCP capabilities:

analyze_requirement
generate_test_cases
review_test_cases
generate_qa_suite

3. LLM Architecture

LLMProvider
     |
     +---- MockLLM
     |
     +---- BedrockLLM

LLM access is provider-independent so the QA tools can be tested locally and later connected to AWS Bedrock or another provider.

AI output is validated using Pydantic models before downstream processing.


4. Phase 2 Step 1 — QA Project Context

Status: COMPLETED

A QA project contains:

QAProject
 |
 +-- project_id
 +-- name
 +-- description
 +-- application
 +-- environment
 +-- metadata

Core service:

ProjectContext
 |
 +-- create_project()
 +-- get_project()

MCP tools:

create_qa_project
get_qa_project

5. Phase 2 Step 2 — SQLite Persistence

Status: COMPLETED

Projects are persisted in:

data/qa_mcp.db

SQLite table:

qa_projects

Architecture:

ProjectContext
       |
       v
ProjectRepository
       |
       v
SQLiteProjectRepository
       |
       v
SQLite

The core context does not depend directly on SQLite.

Persistence was verified across separate Python processes.


6. Phase 2 Step 3 — QA Suite Versioning

Status: COMPLETED

QA requirements and generated suites are versioned and persisted independently.

Requirement versions

QA Project
   |
   +-- Requirement v1
   +-- Requirement v2
   +-- Requirement v3

Each requirement version contains:

  • version_id
  • project_id
  • version
  • requirement
  • application
  • environment
  • created_at

Versions are maintained independently per project.

Suite versions

Each suite records the requirement version that produced it:

Requirement v1
      |
      v
Suite v1

Requirement v2
      |
      v
Suite v2

Each suite version contains:

  • suite_id
  • project_id
  • requirement_version_id
  • version
  • test_cases
  • review
  • created_at

Architecture

core/
└── versioning/
    └── service.py
        |
        v
infrastructure/
└── versioning/
    ├── repositories.py
    └── sqlite_version_repository.py
        |
        v
      SQLite

The two versioning folders are intentional:

  • core/versioning contains business logic.
  • infrastructure/versioning contains repository interfaces and SQLite implementations.

Core services

QARequirementVersioningService
QASuiteVersioningService

Repository interfaces

RequirementVersionRepository
SuiteVersionRepository

SQLite implementations

SQLiteRequirementVersionRepository
SQLiteSuiteVersionRepository

MCP tools

Requirement:

create_requirement_version
get_requirement_version
list_requirement_versions

Suite:

create_suite_version
get_suite_version
list_suite_versions

7. Phase 2 Step 4 — Import / Export

Status: COMPLETED

The QA MCP server now supports portable project artifacts containing:

QA Project
    |
    +-- Requirement Versions
    |
    +-- Suite Versions

Export

The export flow is:

SQLite
   |
   +-- Project
   +-- Requirement Versions
   +-- Suite Versions
           |
           v
QAImportExportService
           |
           v
QAProjectExport
           |
           v
JSON

Export is based on persisted data, not caller-assembled objects.

MCP tool:

export_qa_project

Input:

project_id

Output:

{
    "project_id": "...",
    "export_version": "1.0",
    "payload": "..."
}

Import

The import flow is:

JSON
  |
  v
Parse
  |
  v
QAProjectExport validation
  |
  v
Relationship validation
  |
  v
Duplicate project check
  |
  v
SQLite persistence

MCP tool:

import_qa_project

Import validates:

  • Export JSON
  • Export structure
  • Project identity
  • Requirement → project relationship
  • Suite → project relationship
  • Suite → requirement-version relationship
  • Duplicate project protection

Existing projects are not silently overwritten.

Round-trip verification

The complete round trip has been verified:

SQLite DB A
    |
    v
EXPORT
    |
    v
JSON
    |
    v
IMPORT
    |
    v
SQLite DB B
    |
    v
Compare

Verified artifacts:

Project           ✅
Requirements      ✅
Suites            ✅
Relationships     ✅

Test isolation

MCP import/export tests use isolated temporary SQLite databases.

This prevents test execution from polluting:

data/qa_mcp.db

and allows repeated test execution without relying on previous test state.

P2-S4 verification baseline

Import/Export focused tests: 7 passed
MCP Import/Export tests:     2 passed
Full regression:            49 passed
Application-code warnings:   0
Known external warning:      1

The remaining warning is the known external pydantic_settings warning concerning the lifespan field's unresolved forward reference.


8. Project Structure

Current important source structure:

qa-mcp/
|
+-- src/
|   +-- qa_mcp/
|       |
|       +-- core/
|       |   +-- config.py
|       |   +-- llm.py
|       |   +-- project/
|       |   |   +-- context.py
|       |   |
|       |   +-- versioning/
|       |   |   +-- service.py
|       |   |
|       |   +-- import_export/
|       |       +-- service.py
|       |
|       +-- infrastructure/
|       |   +-- project_repository.py
|       |   +-- sqlite_project_repository.py
|       |   |
|       |   +-- versioning/
|       |       +-- repositories.py
|       |       +-- sqlite_version_repository.py
|       |
|       +-- models/
|       |   +-- schemas.py
|       |
|       +-- tools/
|       |   +-- requirement/
|       |   +-- testcase/
|       |   +-- workflow/
|       |
|       +-- server.py
|
+-- tests/
+-- config/
+-- data/
|   +-- qa_mcp.db
|
+-- README.md

9. Local Setup

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Run tests:

pytest -q

Current verified baseline:

49 passed

Run the MCP server:

python -m qa_mcp.server

Verify server imports:

python -c "from qa_mcp.server import mcp; print('MCP server imports OK')"

10. Development Guidelines

We follow this workflow for every implementation step:

IMPLEMENT
    |
    v
FOCUSED TESTS
    |
    v
FULL REGRESSION
    |
    v
RUNTIME / MCP VERIFICATION
    |
    v
FIX / REFINE
    |
    v
MARK STEP COMPLETE
    |
    v
UPDATE README
    |
    v
DOWNLOAD NEW README CHECKPOINT
    |
    v
NEXT STEP

Rules:

  1. Implement one step at a time.
  2. Test every feature.
  3. Existing tests must remain green.
  4. No step is complete until locally verified.
  5. Update README at every verified milestone.
  6. Core business logic must remain independent of MCP transport.
  7. Persistence and external integrations stay behind interfaces.
  8. LLM providers remain replaceable.
  9. AI output must be validated.
  10. Tests must remain repeatable against persistent storage.
  11. Do not delete persistent databases merely to make tests pass.
  12. Use isolated databases for persistence-focused tests.
  13. Do not manually copy assistant conversation into README.
  14. The README is the authoritative development checkpoint.
  15. No major feature is complete until its MCP/runtime path is verified.

11. Architectural Principles

  1. Core business logic belongs in core.
  2. Persistence belongs in infrastructure.
  3. MCP transport belongs in server.py and MCP-facing tools.
  4. Domain/data models belong in models.
  5. Core services must not depend directly on SQLite implementations.
  6. External integrations must be isolated behind interfaces.
  7. LLM providers remain replaceable.
  8. AI-generated output must be validated before downstream use.
  9. Persistent data must not be confused with test fixtures.
  10. Tests must be repeatable.
  11. Import operations must validate relationships before persistence.
  12. Imports must not silently overwrite existing projects.
  13. Completed milestones require regression verification.
  14. README updates are part of milestone completion.

12. Phase 2 Roadmap

Step Capability Status
1 QA Project Context COMPLETED
2 SQLite Persistence COMPLETED
3 QA Suite Versioning COMPLETED
4 Import / Export COMPLETED
5 Jira Connector NEXT
6 Jira → QA Workflow Planned
7 Automation Case Generator Planned
8 QA Agent Planned
9 GitHub / CI Integration Planned
10 Internet Deployment Planned

13. Planned Final Architecture

                    MCP CLIENT / AI ASSISTANT
                              |
                              v
                       +-------------+
                       |   QA MCP    |
                       |   Server    |
                       +------+------+
                              |
              +---------------+----------------+
              |               |                |
              v               v                v
        QA Intelligence   Connectors      Automation
              |               |                |
        +-----+-----+     +---+---+       +----+----+
        |     |     |     |   |   |       |    |    |
     Analyze Gen  Review Jira GitHub    UI   API  Perf
                                            Mobile
              |
              v
          QA Agent
              |
              v
       Persistent Context
              |
              v
     Project / Requirement
        / Suite Versions
              |
              v
       Import / Export

14. Current Baseline

Phase 1
  Steps 1–7  COMPLETED

Phase 2
  Step 1 — QA Project Context       COMPLETED
  Step 2 — SQLite Persistence       COMPLETED
  Step 3 — QA Suite Versioning      COMPLETED
  Step 4 — Import / Export          COMPLETED

Current verification:

49 tests passed
SQLite persistence verified
Requirement versioning verified
Suite versioning verified
Import/export contract verified
Import validation verified
Round-trip persistence verified
MCP import/export verified
MCP server imports successfully
Test isolation verified

Known warning:

pydantic_settings
IncompleteFieldDefinitionWarning
Field 'lifespan'

This is an external dependency warning and is not currently blocking functionality or tests.


15. Next Development Step

Phase 2 → Step 5
       |
       v
Jira Connector

The next phase of implementation should begin only after this README checkpoint has been retained.


16. Milestone History

Phase 1
  |
  +-- Foundation
  +-- LLM abstraction
  +-- Requirement analysis
  +-- Test generation
  +-- Test review
  +-- QA suite workflow
  +-- MCP integration
  |
  v
Phase 1 COMPLETE

Phase 2
  |
  +-- QA Project Context
  +-- SQLite Persistence
  +-- Requirement/Suite Versioning
  +-- Import / Export
  |
  v
Phase 2 Step 4 COMPLETE

This README represents the project state after successful verification of Phase 2 → Step 4 — Import / Export.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured