Skip to main content
Glama

MCP QA Engineer SDET

Server MCP with specialized tools for software QA. Connect to any IDE or client compatible with the Model Context Protocol and gain access to User Story analysis, test strategy, BDD/Gherkin, contract testing (Pact), integration testing (Testcontainers), performance testing (k6), security testing (OWASP), and CI/CD.


Prerequisites


Related MCP server: QA Assistant MCP

Installation

# 1. Clonar ou entrar na pasta
cd mcp-testing

# 2. Instalar dependências
npm install

# 3. Compilar TypeScript
npm run build

After building, the server will be available at dist/index.js.

For development without building:

npm run dev   # usa tsx — não requer compilação

Available Tools (tools)

Tool

Description

analyze_user_story

Complete User Story analysis: decomposition, criteria, scenarios per layer, risk map, test data, checklist

generate_test_strategy

Test strategy for the system: adapted pyramid, tools, CI/CD, coverage goals, roadmap

create_gherkin_scenarios

BDD scenarios in Gherkin: happy path, negatives, edge cases, Scenario Outline, data tables

design_contract_tests

Pact contracts (CDC): interactions, provider states, matchers, versioning, can-i-deploy

design_integration_tests

Integration tests: Testcontainers, WireMock, setup/teardown, concurrency, observability

generate_performance_plan

Complete k6 plan: smoke/load/stress/spike/soak, thresholds, results analysis

security_test_checklist

OWASP Top 10 checklist per feature type + headers, SAST/DAST, acceptance criteria

review_test_code

Test code review: anti-patterns, isolation, assertions, mocks, coverage

troubleshoot_flaky_test

Flaky test diagnosis: hypotheses, steps, code corrections, prevention policy

generate_ci_pipeline

CI/CD pipeline with stages, parallelism, cache, minimum coverage, quality gates

quality_checklist

Checklists per artifact: user story, plan, test case, code, contract, suite, bug report

Available Resources (resources)

URI

Description

qa://pyramid

Test pyramid: distribution, objectives, anti-patterns

qa://tool-matrix

Tool selection matrix by language and need

qa://gherkin-template

Complete BDD Feature File template

qa://k6-templates

Ready k6 scripts: smoke, load, stress, spike, soak

qa://glossary

Glossary of QA/SDET terms

Available Prompts

Prompt

Description

analyze-story

User Story analysis session

start-tdd

Guided TDD session (Red → Green → Refactor)

write-test-plan

Test plan elaboration

debug-failure

Failure diagnosis in test or environment


Configuration by IDE

VS Code (GitHub Copilot Agent)

Create or edit .vscode/mcp.json in the root of your workspace:

{
  "servers": {
    "qa-sdet": {
      "type": "stdio",
      "command": "node",
      "args": ["${workspaceFolder}/mcp-testing/dist/index.js"]
    }
  }
}

Requires GitHub Copilot with MCP support (VS Code 1.99+). Enable it in Settings → GitHub Copilot → MCP.

Alternative via user settings.json (global scope):

{
  "mcp": {
    "servers": {
      "qa-sdet": {
        "type": "stdio",
        "command": "node",
        "args": ["C:/caminho/absoluto/mcp-testing/dist/index.js"]
      }
    }
  }
}

Cursor

Create .cursor/mcp.json in the project root:

{
  "mcpServers": {
    "qa-sdet": {
      "command": "node",
      "args": ["./mcp-testing/dist/index.js"]
    }
  }
}

Or configure globally in Cursor → Settings → MCP via the graphical interface.


Claude Desktop

Windows — edit %APPDATA%\Claude\claude_desktop_config.json:

{
  "mcpServers": {
    "qa-sdet": {
      "command": "node",
      "args": ["C:\\Users\\SeuUsuario\\caminho\\mcp-testing\\dist\\index.js"]
    }
  }
}

macOS — edit ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "qa-sdet": {
      "command": "node",
      "args": ["/Users/seuusuario/caminho/mcp-testing/dist/index.js"]
    }
  }
}

Linux — edit ~/.config/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "qa-sdet": {
      "command": "node",
      "args": ["/home/seuusuario/caminho/mcp-testing/dist/index.js"]
    }
  }
}

Restart Claude Desktop after editing the file.


Windsurf (Codeium)

Edit ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "qa-sdet": {
      "command": "node",
      "args": ["/caminho/absoluto/mcp-testing/dist/index.js"]
    }
  }
}

Continue.dev

Edit ~/.continue/config.json (or config.yaml):

{
  "experimental": {
    "modelContextProtocolServers": [
      {
        "transport": {
          "type": "stdio",
          "command": "node",
          "args": ["/caminho/absoluto/mcp-testing/dist/index.js"]
        }
      }
    ]
  }
}

Zed

Edit the Zed configuration file (~/.config/zed/settings.json):

{
  "context_servers": {
    "qa-sdet": {
      "command": {
        "path": "node",
        "args": ["/caminho/absoluto/mcp-testing/dist/index.js"]
      }
    }
  }
}

Any MCP client (generic)

The server uses standard stdio transport. Configure with:

{
  "command": "node",
  "args": ["/caminho/absoluto/para/mcp-testing/dist/index.js"],
  "transport": "stdio"
}

Usage examples

In the IDE chat

Analise esta User Story:
"Como usuário, quero resetar minha senha para recuperar acesso à conta"

The assistant will call analyze_user_story automatically and return the structured analysis.

Crie cenários Gherkin para o fluxo de checkout com os critérios:
- Usuário com carrinho não vazio pode finalizar compra
- Pagamento com cartão inválido é rejeitado com mensagem
- Frete é calculado pelo CEP do endereço de entrega
Gere um plano de performance para POST /api/orders com SLA p95 < 400ms
Revise este código de teste:
[colar o código]

Using the pre-built prompts

In IDEs that support MCP prompts (like Claude Desktop and Cursor):

  • /analyze-story — User Story analysis

  • /start-tdd — TDD session

  • /write-test-plan — test plan

  • /debug-failure — failure diagnosis


Check if the server is running

# Executar diretamente e verificar output de inicialização
node dist/index.js
# Deve exibir em stderr: "MCP QA SDET Server v2.0.0 pronto."

# Ou via npm
npm start

Development

# Modo desenvolvimento (sem compilação)
npm run dev

# Compilar para produção
npm run build

# Watch mode (recompila ao salvar)
npx tsc --watch

Troubleshooting

"Cannot find module" when running

Run npm run build before npm start. The dist/ directory must exist.

Server not appearing in the IDE

  1. Check the absolute path in the configuration file

  2. Confirm that Node.js 18+ is installed: node --version

  3. Confirm that the build was generated: ls dist/index.js

  4. Restart the IDE after changing the configuration

TypeScript errors during build

npx tsc --noEmit   # verificar erros sem gerar arquivos

Timeout when connecting

Add timeout in the client configuration:

{
  "command": "node",
  "args": ["/caminho/dist/index.js"],
  "timeout": 10000
}

Project structure

mcp-testing/
├── src/
│   └── index.ts          # Servidor MCP completo
├── dist/                 # Gerado pelo build (não versionar)
│   └── index.js
├── package.json
├── tsconfig.json
├── SYSTEM_PROMPT.md      # Prompt de sistema QA SDET Senior
└── README.md

Technologies


Developed by Michael Maia — QA Engineer SDET

LinkedIn · GitHub · QA Playground

Available Tools

11 tools
analyze_user_storyA

Analisa uma User Story e retorna framework completo de análise QA: decomposição, critérios de aceitação, cenários por camada (unit/contrato/integração/E2E), mapa de riscos por tipo de feature, perguntas de qualidade, dados de teste e checklist de completude.

Inputs: story (required), context, tech_stack, feature_type.

create_gherkin_scenariosA

Cria cenários BDD em Gherkin (Given-When-Then) a partir de critérios de aceitação. Inclui happy path, negativos, edge cases, Esquema do Cenário com tabelas e checklist de step definitions.

Inputs: feature_name (required), acceptance_criteria (required), context, user_role.

design_contract_testsB

Projeta testes de contrato Consumer-Driven (Pact) entre consumer e provider. Retorna estrutura de interações, provider states, matchers recomendados, versionamento e integração CI/CD com can-i-deploy.

Inputs: consumer (required), provider (required), interactions (required), tech_stack, +1 more.

design_integration_testsA

Projeta testes de integração entre dois componentes. Retorna estrutura de teste com Testcontainers, setup/teardown, cenários happy path, erro e concorrência, estratégia de isolamento e observabilidade.

Inputs: component_a (required), component_b (required), scenarios, tech_stack, +1 more.

generate_ci_pipelineB

Gera configuração CI/CD para GitHub Actions (e outros) com stages por camada de teste, paralelismo, cache, cobertura mínima, relatórios e gates de qualidade.

Inputs: tech_stack (required), test_types (required), context, platform, +1 more.

generate_performance_planA

Gera plano de performance com script k6 completo (smoke, load, stress, spike, soak), thresholds derivados do SLA, comandos de execução e guia de análise de resultados.

Inputs: target (required), sla, tech_stack, test_types, +1 more.

generate_test_strategyB

Gera estratégia completa de testes: pirâmide adaptada, ferramentas por camada, fluxo CI/CD, metas de cobertura, SLA de execução e roadmap faseado de implementação.

Inputs: system_description (required), team_size, tech_stack, constraints, +1 more.

quality_checklistC

Retorna checklist de qualidade para um artefato específico: user story, plano de testes, caso de teste, código de teste, contrato de API, suíte completa, bug report ou critérios de aceitação.

Inputs: artifact_type (required), artifact_content.

review_test_codeA

Revisa código de teste e retorna framework de análise com categorias: design, anti-patterns críticos, isolamento, qualidade de asserções, mocks, performance e cobertura de gaps.

Inputs: code (required), context, language, framework.

security_test_checklistA

Retorna checklist de segurança OWASP Top 10 adaptado ao tipo de feature, com vetores de ataque, casos de teste, headers obrigatórios, ferramentas SAST/DAST e critérios de aceitação de segurança.

Inputs: feature_type (required), context, tech_stack.

troubleshoot_flaky_testA

Diagnostica testes instáveis (flaky). Retorna hipóteses ordenadas por probabilidade, passos de diagnóstico, correções por causa raiz com exemplos de código e política de prevenção.

Inputs: symptoms (required), description (required), code, framework.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 11 tools

    Disambiguation4/5

    Each tool has a clearly defined primary purpose, spanning story analysis, test design, strategy, performance, security, CI, and code review. A few tools overlap conceptually—analyze_user_story and quality_checklist both cover user story criteria, and generate_test_strategy mentions CI/CD while generate_ci_pipeline produces actual config—but descriptions are specific enough to guide an agent to the right tool.

    Naming Consistency4/5

    Most tools follow a consistent verb_noun pattern like analyze_user_story, generate_test_strategy, and review_test_code. However, security_test_checklist and quality_checklist are noun phrases without a clear verb, which breaks the pattern slightly. Overall naming remains predictable and readable.

    Tool Count5/5

    With 11 tools, the server is well-scoped for a QA/SDET engineering domain. Each tool covers a distinct part of the QA lifecycle, from story analysis through test design, review, and CI/CD, without unnecessary redundancy or bloat.

    Completeness4/5

    The toolkit covers a broad QA workflow: strategy, BDD scenarios, contract/inetegration/performance/security testing, code review, flaky diagnosis, CI/CD, and checklists. Minor gaps exist—such as no dedicated unit test generation or accessibility testing—but these can be worked around using the existing tools. no critical dead ends are obvious.

    Related MCP Connectors

    Related MCP Servers