3. Install and set up¶
This chapter gets the tools onto your machine and into your MCP client, and creates the .qa-mcp/ folder they share.
Install only what you need; each tool works on its own.
Prerequisites¶
| You need | For | Check |
|---|---|---|
| Python 3.10+ and uv | every Python tool (uvx runs each in its own environment) |
uvx --version |
| Node.js 20+ | Playwright QA, and Claude Code itself | node --version |
| Claude Code (or another MCP client) | using the tools through an agent | claude --version |
| Git | change-aware gating, contract comparisons, healing pull requests | git --version |
Tool-specific needs are covered in each chapter: a browser for the UI tools (Playwright QA installs its own Chromium; Selenium QA uses Chrome with Selenium Manager), an Appium server or device cloud for Appium QA, Kafka for Integration QA, optionally k6 for Performance QA.
Option 1: Claude Code plugins (recommended)¶
Each tool is a Claude Code plugin with its own marketplace. A plugin adds the MCP server, its slash commands and sometimes agents. In Claude Code:
| Tool | Repository | Install |
|---|---|---|
| Playwright QA | k11techlab-playwright-qa-mcp |
/plugin install playwright-qa@k11-qa-tools |
| Selenium QA | k11techlab-selenium-qa-mcp |
/plugin install selenium-qa@k11-selenium-qa |
| Appium QA | k11techlab-appium-qa-mcp |
/plugin install appium-qa@k11-appium-qa |
| API Contract QA | k11techlab-api-contract-qa-mcp |
/plugin install api-contract-qa@k11-api-contract-qa |
| API Functional QA | k11techlab-api-functional-qa-mcp |
/plugin install api-functional-qa@k11-api-functional-qa |
| API Security QA | k11techlab-api-security-qa-mcp |
/plugin install api-security-qa@k11-api-security-qa |
| Integration QA | k11techlab-integration-qa-mcp |
/plugin install integration-qa@k11-integration-qa |
| Performance QA | k11techlab-performance-qa-mcp |
/plugin install performance-qa@k11-performance-qa |
| LLM Assure | k11techlab-llm-assurance-toolkit |
/plugin install llm-assure@k11-llm-assure |
| Release Gate | k11techlab-release-gate-mcp |
/plugin install release-gate@k11-release-gate |
| Release Readiness Agent | k11techlab-release-readiness-agent |
/plugin install release-readiness@k11-release-readiness |
Everything at once
The Release Readiness Agent (Chapter 16) bundles nine of the servers (all except Appium QA) plus the orchestration that uses them. If you want the whole system, install that one plugin.
Newer Claude Code versions can also install in one step: /plugin install <plugin> --marketplace K11-Software-Solutions/<repository>.
The plugins start each server with uvx (or npx for Playwright QA) and set QA_MCP_ROOT to your project, so the tools
read and write .qa-mcp/ in the project you have open.
Option 2: any MCP client¶
Every server is also in the official MCP Registry and can be added to any MCP client by hand. In Claude Code without plugins:
claude mcp add release-gate -- uvx k11-release-gate-mcp
claude mcp add playwright-qa -- npx -y k11-playwright-qa-mcp
Or in a project .mcp.json (the same format most clients accept):
{
"mcpServers": {
"api-functional-qa": {
"command": "uvx",
"args": ["k11-api-functional-qa-mcp"],
"env": { "QA_MCP_ROOT": "${CLAUDE_PROJECT_DIR}" }
},
"integration-qa": {
"command": "uvx",
"args": ["--from", "k11-integration-qa-mcp[kafka]", "k11-integration-qa-mcp"]
}
}
}
Option 3: command line, for CI¶
Every tool has a command line that writes the same reports as its MCP tools. In CI, install what each job needs:
One environment per tool
Install tools in separate environments (separate CI jobs, separate virtual environments, or uvx), not all into one.
Some tools pin compatible versions of a shared library: API Security QA 0.1.0, for example, requires API Functional QA
below 0.2, so installing both together silently gives you the older API Functional QA. uvx and separate jobs avoid this.
Python packages are on PyPI (k11-*-mcp); Playwright QA is on npm (k11-playwright-qa-mcp).
Create .qa-mcp/¶
All tools keep settings and reports in .qa-mcp/ at the root of your project. Several tools write a commented starter file:
uvx k11-release-gate-mcp init # .qa-mcp/release-policy.yaml
uvx k11-api-security-qa-mcp init # .qa-mcp/security.yaml
uvx k11-integration-qa-mcp init # .qa-mcp/integration.yaml + an example flow
uvx k11-performance-qa-mcp init # .qa-mcp/perf.yaml
The shared file most tools need is .qa-mcp/api-test.yaml: your environments, test users and test database. A minimal one:
spec: openapi.yaml
default_environment: ci
environments:
ci:
base_url: "${ENV:API_URL}"
auth: default
auth:
default: { type: bearer, token: "${ENV:API_TOKEN}" }
Then add the report folders and saved logins to .gitignore:
Appendix A lists every file and whether to commit it.
Secrets¶
Never write a token or password into .qa-mcp/. Every setting accepts ${ENV:NAME}, read from the environment at run
time, and every report masks the value. Locally, export them in your shell; in CI, map them from your secret store:
Use test accounts and test data only. The tools refuse data-changing work on environments whose names look like
production (prod, production, live…), but they can't tell a real customer's account from a test one: that's on you.
Check it works¶
In Claude Code, ask:
Use the release-gate tools to list the rules and show what evidence you can find in this project.
The agent should call list_rules and collect_evidence. With no reports yet, it reports that nothing was found, which
is the correct answer. Chapter 15 gets the gate running on your pull requests using nothing but your existing test results.