# IA-QA — QA Augmented by AI: Use AI to Test, Test What Uses AI > IA-QA (https://www.ia-qa.com) gives QA engineers, and teams shipping AI, testing primitives that return a verdict a pipeline can gate on — PASS/FAIL, PASS/FIX/BLOCK or a score — not a chat answer. Free, no account. Two halves: use AI to test (a local QA app that repairs broken end-to-end tests, test cases from a ticket, risk from a diff) and test what uses AI (prompts, RAG pipelines, agents, MCP servers, eval contracts in CI). Where to go in this file: - Setting IA-QA up for someone: "Install — instructions for AI agents" below — one tested prompt for any MCP client, which says what each piece sends off the machine. - A QA engineer who wants AI to help: "Working as a QA engineer with AI — start here". - Testing an LLM, a RAG pipeline or an agent: "Testing an LLM, RAG pipeline or AI agent with IA-QA — start here" — what you test, the tools to call, the output field to gate on. - Checking a live endpoint or an MCP server: "Check a live endpoint or an MCP server". - Building an Agent Skill, an agent or an MCP server: https://www.ia-qa.com/build — tutorials that each end on a check that can fail. - Every tool, one by one: https://www.ia-qa.com/llms-full.txt What runs where: the MCP server and `@ia-qa/cli` run every tool on ia-qa.com's server, which receives what you send them, including your own provider key for a bring-your-own-key tool. `@ia-qa/pal`, `@ia-qa/self-healing` and `@ia-qa/qa-discovery` run on your machine and send nothing to ia-qa.com. Many of the 139 free tools on the site run entirely in the browser tab; LangChain and LangGraph runs, VLM tests and eval contracts send your key through ia-qa.com's server. ## Working as a QA engineer with AI — start here You test web applications and want AI to take the repetitive part. A person always decides what is applied: nothing here rewrites your tests without you choosing it. 1. **Read the method** — step by step as a QA: https://www.ia-qa.com/method#augmented-qa-journey · as a team lead: https://www.ia-qa.com/method#augmented-qa-team · what a machine may decide on its own, and what it may not: https://www.ia-qa.com/method#machine-decidable 2. **Your end-to-end tests break after every redesign** — `@ia-qa/pal`, a local QA app: it tours your app, says what broke, proposes repairs to your Playwright, Cypress or Selenium tests and re-runs them once you choose. It runs on your machine and sends nothing to ia-qa.com. In your project: `npm i -D @ia-qa/pal`, then `npx -p @ia-qa/pal ia-qa-pal ui`. To see the mechanism first with nothing to install: the UI Drift Sandbox, https://www.ia-qa.com/devtools/sandbox 3. **Test cases from a ticket** — Jira → Test Suite Generator, https://www.ia-qa.com/qatools/jira-test-generator (your own API key) · MCP tools: `jira_to_test_suite`, `generate_test_cases` 4. **Where a change is likely to break** — Diff-Aware Bugs, https://www.ia-qa.com/qatools/diff-aware-bugs · MCP tools: `analyze_diff_bugs`, `run_pr_gate_pipeline` 5. **Hand it to your AI agent** — the install prompt below sets up the MCP server and the local QA app and says what each piece sends off the machine. An agent working with pal reads its instructions with `npx -p @ia-qa/pal ia-qa-pal skill --print`. ## Testing an LLM, RAG pipeline or AI agent with IA-QA — start here Pick what you are testing, call its tools — as MCP tools, or from a shell with `npx @ia-qa/cli ` — and act on the named output field. From an MCP client, `get_testing_guidelines` with no topic returns this same map; with the topic shown, the thresholds and pitfalls. **Order your assertions** 1. Deterministic first — exact rules, schema, regex, scans. Free, reproducible, and they fail correctly. 2. Semantic next — cosine / ROUGE against a reference answer, or invariance between phrasings. 3. An LLM judge last, only on what survived 1 and 2, and only as a gate once calibrated against human labels (Pearson r or Cohen's kappa ≥ 0.75), pinned model, temperature 0. **By goal** - **A prompt or chatbot answer is correct and well-formed** — `guardrail_test` · `llm_json_schema_check` · `run_semantic_tests` guardrail_test → all_passed · llm_json_schema_check → valid · run_semantic_tests → verdict (PASS/FAIL). tfidf mode is free; use embeddings mode (BYOK) when valid answers are paraphrases. (guidelines topic: `llm-unit-testing`) - **A repeatable suite of scenarios run against a real model** — `generate_eval_yaml` · `run_eval_contract` · `generate_ci_workflow` run_eval_contract → per-scenario PASS/FAIL. generate_ci_workflow with the eval_contract gate commits it to GitHub Actions (provider key as a repo secret). (guidelines topic: `eval-framework`) - **A RAG pipeline retrieves the right documents and answers from them** — `rerank_evaluate` · `hallucination_check` · `run_semantic_tests` Retrieval first: rerank_evaluate → PASS/FAIL on Precision@k / Recall@k. Then hallucination_check → verdict; needs_review means a specific in the answer is not in the context — it is never a pass. (guidelines topic: `rag-pipeline`) - **Answers stay stable across rephrasings and repeated runs** — `metamorphic_check` · `consistency_check` metamorphic_check → verdict (PASS/FAIL/INVALID; gate on the case and typo relations in tfidf mode; ready CI gate in generate_ci_workflow). consistency_check → verdict needs_review when figures differ between runs. Stability is not correctness: pair with run_semantic_tests. (guidelines topic: `prompt-stability`) - **Choose between two prompts or two models** — `compare_responses` · `ab_test_report` A decision, not a CI gate: compare_responses → verdict on two produced outputs; ab_test_report → winner over score arrays from the same test set. (guidelines topic: `prompt-ab-testing`) - **Guardrails: prompt injection, PII, leaked secrets, toxic output** — `prompt_injection_scan` · `redact_pii` · `secret_scan` · `toxicity_scan` · `shield_analyze` prompt_injection_scan → injection_detected · redact_pii → pii_found · secret_scan → secrets_found · toxicity_scan → overall_risk (lexical, not a semantic classifier) · shield_analyze → PASS/FIX/BLOCK on one response. prompt_injection_scan, secret_scan and toxicity_scan have ready CI gates in generate_ci_workflow. (guidelines topic: `security`) - **An AI agent calls the right tools with the right arguments** — `validate_agent_trajectory` · `function_call_validate` · `llm_json_schema_check` validate_agent_trajectory → verdict on declarative assertions over the trace (order, must_call, must_not_call, max_calls, no_error, recovery). function_call_validate / llm_json_schema_check → valid. (guidelines topic: `agent-observability`) - **A multi-turn conversation keeps its context** — `conversation_analyze` No verdict: context_retention and topic_drift are metrics. Track them as a trend, never as a gate. (guidelines topic: `llm-unit-testing`) - **A vision-language model reads images correctly** — `run_vlm_test_suite` · `run_vlm_test_suite_batch` run_vlm_test_suite → per-case PASS/FAIL and an overall PASS/WARNING/FAIL (BYOK). Include questions about objects absent from the image to measure hallucination. (guidelines topic: `multimodal`) - **An MCP server behaves as its schema says** — `mcp_server_evaluate` · `validate_mcp_response` · `mcp_schema_lint` mcp_server_evaluate → protocol verdict on a live URL, never about answers (read what_this_does_not_prove); validate_mcp_response → checks on one tool result. (guidelines topic: `api-testing`) - **The E2E/UI tests of the app around the model keep working after a UI change** — `sandbox_scenario` · `diff_mappings` diff_mappings → PASS/FIX/BLOCK. Capturing pages needs the local @ia-qa/self-healing package; see the selector-drift topic. (guidelines topic: `selector-drift`) - **Put any of the above in CI** — `generate_ci_workflow` The generated workflow reads each tool's verdict field and fails the step. Do not gate on the CLI exit code alone: @ia-qa/cli exits non-zero only on an error, never on a finding. (guidelines topic: `ci-cd`) **Do not gate on** - response_quality_score — it scores only the criteria you pass (expected keywords, max length) and returns total_score null without them; keyword presence is not correctness. - prompt_test_suite — it writes a test plan and executes nothing. - An uncalibrated LLM judge — noise with a confident tone. **What leaves your machine**: Every IA-QA MCP tool, and @ia-qa/cli, runs on www.ia-qa.com: the outputs, contexts and traces you pass — and the provider key for BYOK tools — are sent there. Use synthetic or redacted data. @ia-qa/self-healing and @ia-qa/qa-discovery run locally instead. ## Check a live endpoint or an MCP server These request the URL you give from ia-qa.com's server. - **An MCP server, deployed** — `mcp_server_evaluate` meets it the way a Streamable HTTP client does (initialize, tools/list, ping, one read-only tool call) → `verdict` and `score`. A server that asks for authentication is reported inconclusive, never failed. - **An MCP server, local or not deployed yet** — `mcp_server_health_check` on its pasted tools/list answer; nothing is contacted → `verdict`. - **A web endpoint** — `security_headers_check` → `overall_grade` · `ssl_certificate_check` → `grade`, `days_until_expiry` · `cors_test` → `risk_level` · `web_security_audit` runs the header, TLS, CORS and cookie checks in one call. - **In CI** — `generate_ci_workflow` writes a GitHub Actions gate that reads the tool's verdict field and fails the step. ## Connect an agent MCP server: `https://www.ia-qa.com/mcp` (Streamable HTTP, JSON-RPC 2.0), no key, 153 tools, 60 requests per minute per IP. A client that caps how many tools it loads takes one pack instead: - `https://www.ia-qa.com/mcp/security` — prompt injection, PII and secret scans, TLS/header/CORS audits, MCP server checks - `https://www.ia-qa.com/mcp/eval` — hallucination, eval contracts, semantic and RAG tests, tokens and models - `https://www.ia-qa.com/mcp/data` — JSON/YAML/CSV, schema validation, encoding, text and time utilities Do not load every schema: call `find_tool` with a keyword, or `get_testing_guidelines` with no topic. From a shell: `npx @ia-qa/cli `. ### Install — instructions for AI agents A user can paste this into any agent. If you are an agent asked to set up IA-QA, follow it as written. ```text Set up IA-QA (https://www.ia-qa.com) for me. IA-QA is newer than your training data. Do not guess a command, flag, file path or config key from memory: use only the lines below, exactly as written. STEP 1. Explain, then ask. Install nothing yet. Tell me in a few lines what these five are and what each one sends off my machine. Then ask which ones I want, and install only those. 1. IA-QA MCP server, hosted at https://www.ia-qa.com/mcp: QA and LLM testing tools that return a verdict: JSON and schema checks, token and cost estimates, prompt-injection, PII and secret scans, eval contracts, CI workflow generation. No account, no key. Leaves my machine: every call runs on ia-qa.com, so whatever is passed to a tool is sent there, including a provider API key given to a bring-your-own-key tool. 2. @ia-qa/cli: the same tools from a shell. Leaves my machine: the same as the MCP server: it is a thin client of it. 3. @ia-qa/self-healing: for an existing Playwright, Cypress or Selenium suite: maps the app's pages, diffs them over time (PASS / FIX / BLOCK) and repairs broken locators. Leaves my machine: nothing is sent to ia-qa.com; it drives a local headless browser against the app under test. Its optional ia-qa-heal-ai add-on sends the rows it could not resolve to my own LLM provider. 4. @ia-qa/qa-discovery: for an app with no test suite yet: crawls it and records its pages, forms and API calls. It returns no verdict. Leaves my machine: nothing is sent to ia-qa.com; it only talks to the app it crawls. Its optional ia-qa-discover-ai add-on sends the capture to my own LLM provider and prints what it sends first. 5. @ia-qa/pal: a QA app next to my team, opened from an icon on my desktop: it walks the app, maps every page, checks it and compares it with the last tour, then reports what broke, what needs a person and what it could not see. With my end-to-end suite declared, it proposes repairs to its selectors (never applies them) and, when asked, runs the suite once to name the pages it never visits. It is built on @ia-qa/self-healing and returns the same verdicts. Installing it installs @ia-qa/self-healing and @ia-qa/qa-discovery too, and its MCP server (ia-qa-pal) also answers every tool of theirs — pick it and the other two are included. Leaves my machine: nothing is sent to ia-qa.com; it drives a local headless browser against the app under test only, and runs my own test command only when I ask for it. Its tour calls no LLM; the discovery tools its MCP server includes (classify_app, plan_pages) send the capture to my own LLM provider, only when called. STEP 2. Find the client you are running in and use its lines only. Never mix two clients' formats. In a "merge" line, keep only the servers I picked. Claude Code hosted: claude mcp add --transport http ia-qa https://www.ia-qa.com/mcp local: claude mcp add ia-qa-heal -- npx -y -p @ia-qa/self-healing ia-qa-heal-mcp local: claude mcp add ia-qa-discover -- npx -y -p @ia-qa/qa-discovery ia-qa-discover-mcp local: claude mcp add ia-qa-pal -- npx -y -p @ia-qa/pal ia-qa-pal-mcp verify: claude mcp get ia-qa (it must print "Connected") Codex CLI hosted: codex mcp add ia-qa --url https://www.ia-qa.com/mcp local: codex mcp add ia-qa-heal -- npx -y -p @ia-qa/self-healing ia-qa-heal-mcp local: codex mcp add ia-qa-discover -- npx -y -p @ia-qa/qa-discovery ia-qa-discover-mcp local: codex mcp add ia-qa-pal -- npx -y -p @ia-qa/pal ia-qa-pal-mcp verify: codex mcp list shows it; only a tool call in a new session proves it connects Gemini CLI hosted: gemini mcp add -t http ia-qa https://www.ia-qa.com/mcp local: gemini mcp add ia-qa-heal npx -- -y -p @ia-qa/self-healing ia-qa-heal-mcp local: gemini mcp add ia-qa-discover npx -- -y -p @ia-qa/qa-discovery ia-qa-discover-mcp local: gemini mcp add ia-qa-pal npx -- -y -p @ia-qa/pal ia-qa-pal-mcp verify: gemini mcp list (it must print "Connected"; servers stay disabled in an untrusted folder) Claude Desktop hosted: not in a file. Settings → Connectors → Add custom connector, URL https://www.ia-qa.com/mcp. Tell me to do it; you cannot. file: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows) merge: {"mcpServers":{"ia-qa-heal":{"command":"npx","args":["-y","-p","@ia-qa/self-healing","ia-qa-heal-mcp"]},"ia-qa-discover":{"command":"npx","args":["-y","-p","@ia-qa/qa-discovery","ia-qa-discover-mcp"]},"ia-qa-pal":{"command":"npx","args":["-y","-p","@ia-qa/pal","ia-qa-pal-mcp"]}}} verify: fully quit and relaunch it, then ask it to list its MCP tools Cursor file: .cursor/mcp.json (this project) or ~/.cursor/mcp.json (all projects) merge: {"mcpServers":{"ia-qa":{"url":"https://www.ia-qa.com/mcp"},"ia-qa-heal":{"command":"npx","args":["-y","-p","@ia-qa/self-healing","ia-qa-heal-mcp"]},"ia-qa-discover":{"command":"npx","args":["-y","-p","@ia-qa/qa-discovery","ia-qa-discover-mcp"]},"ia-qa-pal":{"command":"npx","args":["-y","-p","@ia-qa/pal","ia-qa-pal-mcp"]}}} verify: restart it, then ask it to list its MCP tools VS Code (GitHub Copilot, agent mode) file: .vscode/mcp.json merge: {"servers":{"ia-qa":{"type":"http","url":"https://www.ia-qa.com/mcp"},"ia-qa-heal":{"command":"npx","args":["-y","-p","@ia-qa/self-healing","ia-qa-heal-mcp"]},"ia-qa-discover":{"command":"npx","args":["-y","-p","@ia-qa/qa-discovery","ia-qa-discover-mcp"]},"ia-qa-pal":{"command":"npx","args":["-y","-p","@ia-qa/pal","ia-qa-pal-mcp"]}}} verify: restart it, then ask it to list its MCP tools Windsurf file: ~/.codeium/windsurf/mcp_config.json merge: {"mcpServers":{"ia-qa":{"serverUrl":"https://www.ia-qa.com/mcp"},"ia-qa-heal":{"command":"npx","args":["-y","-p","@ia-qa/self-healing","ia-qa-heal-mcp"]},"ia-qa-discover":{"command":"npx","args":["-y","-p","@ia-qa/qa-discovery","ia-qa-discover-mcp"]},"ia-qa-pal":{"command":"npx","args":["-y","-p","@ia-qa/pal","ia-qa-pal-mcp"]}}} verify: restart it, then ask it to list its MCP tools Any other MCP client: the hosted server is Streamable HTTP at https://www.ia-qa.com/mcp; each local server is stdio, with the command and args shown above. A client that caps how many tools it loads (Cursor about 40, VS Code Copilot 128 per request) takes one pack instead of https://www.ia-qa.com/mcp, as the same kind of remote server: https://www.ia-qa.com/mcp/security (prompt injection, PII and secret scans, TLS/header/CORS audits, MCP server checks); https://www.ia-qa.com/mcp/eval (hallucination, eval contracts, semantic and RAG tests, tokens and models); https://www.ia-qa.com/mcp/data (JSON/YAML/CSV, schema validation, encoding, text and time utilities). A pack lists only its tools, so for one outside it add https://www.ia-qa.com/mcp or the pack that lists it. A chat with no shell and no file access: explain, give me the lines for my client, and do not say you installed anything. Rules for every client: - Keep "-p" in every npx line. Each package ships several binaries; without -p, npx stops with "could not determine executable to run". - Use https://www.ia-qa.com, with "www". The bare domain answers with a 301 redirect, and a POST that follows a 301 can arrive as a GET without its body. - Merge into an existing config file. Never remove a server that is already there. - If I picked @ia-qa/pal, add only its local server (ia-qa-pal): it already answers the ia-qa-heal and ia-qa-discover tools. Add those two servers only if I picked them without pal. - A client does not load a server added during the conversation: tell me to restart it before you test. STEP 3. Shell tools, only if I picked them. Nothing to install: - @ia-qa/cli: npx -y @ia-qa/cli list, then npx -y @ia-qa/cli --help before each tool you run. - @ia-qa/self-healing: npx -y -p @ia-qa/self-healing ia-qa-heal skill --print - @ia-qa/qa-discovery: npx -y -p @ia-qa/qa-discovery ia-qa-discover skill --print - @ia-qa/pal: npx -y -p @ia-qa/pal ia-qa-pal skill --print Each prints that package's agent instructions on stdout and installs nothing. Read the whole output before running any other command from that package: it carries the order the verbs go in, what each refusal means, and what you must never run. Do not skip it and work from --help — the flags are there, the reasons are not. Add "skill --install" instead of "--print" to drop the same file into .claude/skills/, so your next session has it without asking. STEP 3a. The QA app, only if I picked @ia-qa/pal. It is an application on my desktop, not only a command: - Which folder: the one holding my end-to-end tests, because pal reads them and proposes repairs to them. If my tests live in their own repository, that repository; if I have none yet, my app's folder. Ask me when it is not obvious. - In that folder: npm i -D @ia-qa/pal. It brings @ia-qa/self-healing and @ia-qa/qa-discovery with it, and it stays there, unlike npx's cache, so the icon below keeps working. If the folder has no package.json, ask me before creating one with npm init -y. - Then: npx -y -p @ia-qa/pal ia-qa-pal ui --shortcut. It puts an icon named "ia-qa-pal — " on my desktop and returns at once; tell me where it is. - Then tell me the app is ready: I double-click the icon (or type npx ia-qa-pal in that folder), the page asks where my app lives and how it logs in, and starts the first tour from a button. Do not run that bare command yourself: without a terminal it only prints the help. If I would rather you do it for me, go on with STEP 3b. - If any command says "No usable browser found", ask me before running npx playwright install chromium: it downloads about 150 MB from Playwright's servers. STEP 3b. Set my project up. Ask me, never guess: - Where my app lives (the URL I would type in a browser). - How it logs in: none, by hand in a browser, or a storageState file my suite already writes (then ask for its path). - Where my end-to-end tests are, if I have any: a folder inside the project. Skip it rather than guess a folder. Then, with my answers: npx -y -p @ia-qa/pal ia-qa-pal setup --url --login --yes (add --tests when I have tests). Then npx -y -p @ia-qa/pal ia-qa-pal tour --background and follow it with npx -y -p @ia-qa/pal ia-qa-pal status. Report its "Not seen" section as well as its verdict: a first tour is a baseline, never a pass. Never apply the repairs it proposes without my review, and never add --suite (it runs my whole test suite) without asking me. Through MCP the same steps are pal_project, pal_setup, pal_tour and pal_status. If I chose "by hand in a browser", give me the login command to run myself and wait. You cannot log in for me. STEP 3c. An LLM provider key, ONLY if I ask for the optional AI layers (ia-qa-heal-ai, ia-qa-discover-ai). Everything else works without one. - Ask me which provider I have a key for: anthropic, openai, google, or openai-compatible. That last one is a shape, not a vendor: DeepSeek, Groq, Mistral, OpenRouter, Together, vLLM and Ollama all serve the same endpoint, and it needs a "baseUrl" in the config. A localhost baseUrl means the call never leaves my machine. Never pick one for me. - Preferred: tell me to store it in my machine's credential store, which keeps it out of the environment every process you launch inherits. I run it myself, in my own terminal — it asks for the value and refuses a pipe or an argument: npx -y -p @ia-qa/self-healing ia-qa-heal secret set . Then the reference is {"source": "keychain", "key": ""}. You can confirm it resolves without ever seeing it: npx -y -p @ia-qa/self-healing ia-qa-heal secret check . There is no command that prints a stored value, and you must not look for one. - Otherwise, or in CI where no store exists: ask me to export the key in my own shell and tell you only the VARIABLE NAME, then use {"source": "env", "key": ""}. Do not ask me to paste the key, and if I paste it anyway, tell me to rotate it. - Either way, write only the reference into the config, never the value: {"ai": {"provider": "", "model": "", "apiKey": {"source": "", "key": ""}}} - These CLIs read the environment only and never load .env files. If my key lives in .env, prefix the command with npx dotenv-cli -- - Run the verb with --dry-run first and show me exactly what it would send, and to whom, before any real call. A key in a config file is a leaked credential: the file is committed. The CLI refuses a key-shaped value there, and that refusal is not something to work around. STEP 4. Prove it, do not claim it. Run the verify line for my client, or call the find_tool tool with {"query": "json"} and show me what it returns. For the CLI, run npx -y @ia-qa/cli generate_uuid and show the output. Then give me two lists: what you checked by running it, and what you could not check, with the reason. Nothing in the second list counts as installed. STEP 5. Use it on my project. Once a tool call works, call get_testing_guidelines with no topic (from a shell: npx -y @ia-qa/cli get_testing_guidelines). It maps what is being tested to the tools to call and the output field to gate CI on. Ask me what I am testing. Propose the tools for it and the output field each verdict is read from, then run them on my real outputs. Before each call, tell me in one line what you are about to send to ia-qa.com. Use synthetic or redacted data unless I say otherwise. Report each verdict as the tool returned it. Never state a verdict a tool did not give. If my client needs a restart before the server loads, give me one sentence to paste in the new session to resume at this step. Never run these yourself: ia-qa-heal login, ia-qa-heal ui, ia-qa-discover login, ia-qa-pal ui (ia-qa-pal ui --shortcut is the exception: it only writes the desktop icon and returns). Each one waits for a person at a browser; give me the command instead. Never write an API key into a config file or into any file that gets committed. ``` ## About Built by Jean-Christophe Jamet, QA Engineering Manager in France: https://medium.com/@jean-christophe.jamet · https://www.linkedin.com/in/jean-christophe-jamet-b043618a/ ## Optional - [Full catalogue](https://www.ia-qa.com/llms-full.txt): every web tool and every MCP tool, the HTTP API, the MCP registry, resources - [The IA-QA testing method](https://www.ia-qa.com/method): how to test LLMs, RAG, agents and web apps, and what a machine may decide alone - [Build & Verify](https://www.ia-qa.com/build): build an Agent Skill, a tool-using agent, an MCP server or an eval contract, each ending on an IA-QA check - [Learn by map](https://www.ia-qa.com/learn): one idea per fiche, ending on something that runs - [MCP server documentation](https://www.ia-qa.com/mcp-server): install per client and a live playground - [Tool manifest](https://www.ia-qa.com/mcp): `GET` returns every tool; `GET /mcp/tool/{name}` one schema - [QA & AI live feed](https://www.ia-qa.com/veille)