Skip to content
MCP server
Registry

Quartet QE MCP Server

AI test framework: turn a user story into end-to-end tests for APIs, web and Android.

Quartet QE scores 65 (Good), licensed MIT and written in Java. It installs as a local process. It does not declare tools yet. Filed under Browser automation. GitHub shows 2 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by callahan-ciMITJava2 stars
Trust score
65Good
Trust score 65 of 100, Good

Good trust

65 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 65 comes from

22 + 20 + 2 + 10 + 4 + 7 = 65. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity2 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 2 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "callahan-ci-quartet-qe": {      "command": "npx",      "args": [        "-y",        "https://github.com/Callahan-ci/quartet-qe/releases/download/v0.1.0/quartet-qe-0.1.0-mac-arm64.mcpb"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

Quartet QE

An AI test framework for the whole stack, native apps included. It writes end-to-end tests from a user story, then proves its own work.

Give it context about your systems and a story. It writes the tests for your APIs, Kafka topics, databases, web apps, phone browsers and native mobile apps, in one framework and one run. It checks its own code, runs it, and hands you one page to review. After the first recording the tests replay with no AI, so your pipeline is fast, free and deterministic.

It is a framework, not a recorder or a script library. The AI writes the tests and works out how to drive each system the first time; plain Java assertions decide pass or fail; and a person approves before anything merges.

  1. Give it context. What your systems are and how your team builds.
  2. Give it a story. From a file, Jira, Azure DevOps, GitHub or GitLab.
  3. It writes the tests. For APIs, Kafka, databases, web, mobile web and native apps.
  4. You review. One page, with anything that needs your attention at the top.

Test native apps in plain English

Quartet QE tests a native mobile app the same way it tests everything else: you say what a user does, and it works out how. There are no selectors, no XPath, no element IDs and no Appium server to run.

ActResult shown = agent.act("Open the calculator, enter 7 + 8, press equals and read the result shown",
        why("A user adding two numbers must get the right answer"),
        on("calculator-app"),
        returns("text"));
assertThat(shown.get("text")).isEqualTo("15");

That test is from a real run against Fossify Calculator, an open-source Android app, on an emulator. The story had six acceptance criteria (sums, the square root key, deleting a digit, dividing by zero, the History screen) and the AI wrote six tests for them. They passed, the AI was not needed again once they were recorded, and the review page said ready to merge.

  • It reads the screen the way a screen reader does. On Android it asks the device, through adb, for the app's accessibility tree, and refers to controls by role and name, such as "button 7" or "heading History". Nothing is installed on the device. The phone or emulator only needs to be reachable by adb.
  • The AI explores once, then steps down. The first run, the AI taps through the app and every step is recorded. From then on the test replays the recorded steps with no AI, quickly, and gives the same answer each time.
  • Each test starts the app cold, from its launcher, so tests never depend on one another.
  • A redesign does not break the test. If an update renames a button, the step that no longer works goes back to the AI and is recorded again. It can change how a step is done. It can never change what the test must prove.
  • The same story can cover the app and what is behind it. One act can tap through the app and the next can check the order in PostgreSQL or the event on Kafka, in the same test, with the same review page.
  • The same test can run on every screen with @OnEverySurface: desktop browsers, phone browsers and native apps.

You need the Android SDK platform tools (adb), and an emulator or a phone with the app installed. iOS support is newer: it uses a small XCTest runner in native/ios and needs Xcode.

Follow one transaction through every system

A test that places an order through the API, finds the row in PostgreSQL and finds the event on Kafka is one transaction. Quartet QE follows it, and the run report draws it:

Transaction  orderId ORD-4821937055   3 systems · trace passed on by order-events   trace 4bf92f3577b34da6a3ce929d0e0e4736
orders-api  POST /api/orders → 201  [trace sent]  →  orders-db  pg_query → rows:some  [linked by value]  →  order-events  event on shop.orders.created  [same trace]
  • One trace per test. Every API request, every page request to the app under test and every Kafka event Quartet sends carries a W3C traceparent header with the test's trace id. Quartet adds it, not the AI, so recordings do not change and replays carry it too. A header the test sets itself is left alone, and other hosts never receive it.

  • The service proves the hop. A service that propagates trace context (OpenTelemetry does by default) passes the trace on to what it publishes. When Quartet finds that Kafka event, it reads the trace the event carried: the same trace means the service itself linked the order to the event. A test can assert it:

    assertThat(agent.trace().reached("order-events")).isTrue();
    
  • Databases are linked by value. A row carries no trace, so the report links it by the value the test passed along with with("orderId", ...).

  • Search for it. The trace id is on the report, so you can open the same transaction in Jaeger, Tempo or Grafana. No tracing backend is needed for any of the above.

The demo shop passes the trace on, and --prove plants a version that drops it, so you can see the assertion catch it.

Install

Pick one. Each needs Java 21 or newer.

In Claude Code, with nothing to clone. Type these at Claude Code's prompt (start it with claude), not in your terminal:

/plugin marketplace add Callahan-ci/quartet-qe
/plugin install quartet-qe@quartet-qe

It asks for your tests folder and, if you want them, your Jira, Azure DevOps, GitHub, GitLab and Jenkins details. The first start fetches the matching release once and checks its SHA-256 before unpacking anything. See plugin/README.md for exactly what it runs, sends and fetches.

In the Claude desktop app, download the .mcpb file for your computer from the latest release (mac-arm64 for Apple silicon Macs, mac for Intel Macs, linux or linux-arm64), double-click it and fill in the settings. The app warns that an extension has access to your computer. That is true of every local extension, and of Quartet: it runs on your machine and drives your browsers, devices and tests. SECURITY.md says what it can and cannot reach.

From source:

git clone https://github.com/Callahan-ci/quartet-qe.git
cd quartet-qe
./get-started.sh

get-started.sh checks your machine, builds the tool, and offers a menu: watch the demo, connect your chat tool, or set up tests for your own product. It remembers that you have been before.

Each release lists a SHA256SUMS file and a software bill of materials. Check a download with shasum -a 256 -c SHA256SUMS, and with gh attestation verify <file> --repo Callahan-ci/quartet-qe for the build provenance.

Or run it on a story directly:

./quartet-qe run --story stories/SHOP-142.md
Context  22 files, 12 engineering principles
Story    SHOP-142: Checkout reserves stock and confirms the order (7 acceptance criteria)
Tests    6 written: 6 passed, 0 failed, 0 skipped
Review   reports/SHOP-142/review.html (ready to merge)

Contents

What a test looks like

ActResult order = agent.act("Place an order for 2 units of SKU-1001 for customer C-42",
        why("A customer checking out is the start of the reservation journey"),
        on("orders-api"),
        returns("orderId", "status"));

assertThat(order.get("status")).isEqualTo("RESERVED");

The agent decides how to act. Plain Java assertions decide whether it worked, so the AI never marks its own homework. There are no selectors, URLs or SQL in the test: it states intent, so a redesign changes a recording, not a test.

The same test can run on every screen with @OnEverySurface("shop"): desktop browsers, phone browsers, and native Android and iOS.

Other calls:

CallPurpose
agent.act(instruction, why(...), on(target), returns(...))Do something and report named values. Every returned value must exist in a real tool result.
agent.verify(claim, on(target))Ask the agent to check a claim against a system, for example a database row or a Kafka event.

How it works

context/  +  story  ->  readiness check  ->  write tests  ->  static rules
                                                                   |
 review page  <-  prove (planted bugs)  <-  run  <-  second opinion
  1. Context. The context/ folder holds your engineering principles, service descriptions, OpenAPI and Pact contracts, event schemas, telemetry, test data and environments. The agent must read the parts that apply before it can finish.
  2. Story. Read from a markdown file or from Jira, Azure DevOps, GitHub or GitLab. A readiness check lists questions about vague stories before any test is written (check-story).
  3. Write. The agent writes JUnit 5 tests with AssertJ assertions, one package per story, keeping each test to one purpose.
  4. Check its own code. The tests are compiled and checked against your engineering principles with static rules. Blocking findings are fixed before you see anything.
  5. Second opinion. One independent review call looks through four lenses: Product Designer, Tech Lead, QA and DevOps.
  6. Run. Tests run against your real environment. Verified steps are recorded.
  7. Prove (optional). With --prove, bugs are planted in a test build and the tests must catch them.
  8. Review. reports/<story>/review.html is a branded page you open in a browser: a plain verdict, then what needs your attention first, what each acceptance criterion proved, and the evidence. It is one file with nothing to fetch, follows your light or dark setting and prints cleanly. The same review is written as review.md, which is what a pull request description uses. Merge only after a person approves. After every ./gradlew test, and in Jenkins, Quartet also writes build/quartet-report/report.html: the results of the run, what each act did step by step (including API responses), and a screenshot of each screen it touched, with click-to-enlarge. It says how many steps were replayed and how many needed the AI. Jenkins shows it as a "Quartet QE report" tab when the HTML Publisher plugin is installed, and always keeps it in the build artifacts. Set QUARTET_SCREENSHOTS=off to skip the screenshots.

Record once, replay with no AI

The first run uses the AI (an API model, or the AI in your chat) to work out how to do each step, and saves each verified step to recordings/. From then on, tests replay those steps with no AI, which is the default mode.

QUARTET_MODEBehaviour
replay (default)Uses recordings only. A missing recording fails with a message saying so.
autoReplays when it can, and asks the AI only when a recording is missing or stale. run and repair set this for you.
liveAlways asks the AI.

If a step no longer works, for example a renamed button, it is handed back to the AI and re-recorded. It is never guessed. Recordings carry a replay policy version: after an upgrade that changes the replay rules, old recordings are re-recorded in auto mode and refused in replay mode, with a message saying which step stopped and why.

A recording is proven only when its test passes. When a test fails, usually because it found a real bug, its steps are kept in recordings/_unproven/ with why it failed. Commit them with the tests: every replay, in CI too, then shows the real failure with no AI rather than "no recording". Once the bug is fixed, the next replay passes and the steps become an ordinary recording. They can never make a test pass on their own, because the test's assertions still decide.

What it can test

LayerHow
REST APIsGuided by your OpenAPI and Pact contracts.
KafkaProduces and consumes events and validates them against JSON Schema.
DatabasesPostgreSQL and MongoDB, read-only unless a target explicitly allows writes.
TelemetryReads metrics and checks them against your service objectives.
WebChromium, Firefox and WebKit through Playwright, using each browser's accessibility tree.
Phone browsersPlaywright device emulation.
Native Android appsThe app on an emulator or a phone, through adb and its accessibility tree, with nothing installed on the device and no Appium. Also on-device browsers.
Native iOS appsA small XCTest runner in native/ios (needs Xcode).

Screens

SurfaceHow it connectsNeeds
Desktop and phone browsersPlaywrightNothing extra
Android apps and on-device browsersadb directlyAndroid SDK platform tools, with ANDROID_HOME set
iOS apps and SafariThe runner in native/iosXcode

Android's accessibility layer does not expose link addresses or page width, so tests of those use kinds = "web". To see what the agent sees on a screen, run observe --target <name>.

A web target can use a hosted Chromium instead of a local one (browserless, Kernel, a Docker sidecar). Set cdpUrl on the device and the browser connects over CDP, through the same host guard as every other target:

  shop-web:
    type: screen
    baseUrl: "http://localhost:18080"
    devices:
      desktop: {kind: web, engine: chromium, cdpUrl: "wss://your-browser-host/chromium?token=..."}

When a test fails, a screenshot of every screen it reached is saved next to the report, so you can see what the page looked like.

On a screen the agent can also count what is listed (screen_count) and, on web pages, read what the accessibility tree does not show (screen_query): a star rating kept in a CSS class, an image's alt text, a link's address. Counts and attributes come from the tool, never from the AI's eyes, and an answer may name a value after what it is (bookCount for the tool's count) but not borrow a number from an unrelated field.

Why you can trust it

Every check below runs inside run. You only hear about one when it finds something.

  • No invented values. Anything the AI reports must exist in a real tool result.
  • It reads before it writes. It cannot finish without reading your principles, contracts and telemetry.
  • It checks its own code. Tests are compiled and held to your engineering principles before you see them.
  • A second opinion. An independent review looks through four lenses: Product Designer, Tech Lead, QA and DevOps.
  • Only verified steps are recorded, and they replay with no AI.
  • Repairs cannot weaken a test. No deleted assertions, no disabled tests, no changed expectations without evidence. A product bug is reported, not patched around.
  • Proof it catches bugs. With --prove, bugs are planted in a test build and the tests must catch them.
  • Proof the systems are connected. Every request and event carries the test's W3C trace, and a test can assert that a service passed it on, not just that something arrived.
  • Guard rails. Only allow-listed hosts. Databases are read-only by default, enforced by a read-only transaction and a statement check, not just a setting. Generated tests cannot run programs, read files or environment variables, or open connections of their own. Downloads cannot reach private networks. Secrets are removed from prompts, logs and reports. See SECURITY.md.

Engineering principles

context/engineering-principles/principles.yaml turns your principles into rules, each set to block, warn or off. The bundled set covers emergent reuse, evolutionary design, small and simple tests, decoupling, data stewardship, production readiness and a walking skeleton that proves the layers connect first. Edit it to match your team.

Watch the browser

By default tests run in a hidden browser, which is what CI needs. To see a test drive the browser on your own machine, add -Pwatch:

./gradlew test -Pwatch              # a real window, each step slowed down by 400 ms
./gradlew test -Pwatch -PslowMo=900 # slower, if it is still too quick to follow

A replay uses no AI, so without the slow-down it would flash by in a few seconds. Phone tests open a window sized like the phone. The get-started.sh menu has the same option. When the AI is writing and running tests in your chat, ask it to run them with watch, and it opens the window too. This needs a machine with a screen, and fails with a clear message on a server. Never use it in CI.

Keeping tests small: reusable steps

Tests that each spell out the same journey get long, and every UI change means editing them all. Quartet's answer to the page object pattern is a steps class: a class in the steps package that holds journeys written once as agent.act calls, and any test calls them.

// src/test/java/steps/Orders.java   (written once)
public final class Orders {
    private final TestAgent agent;
    public Orders(TestAgent agent) { this.agent = agent; }

    public ActResult placeOrder(String sku, int quantity) {
        return agent.act("Place an order for {{quantity}} units of {{sku}}", with("sku", sku), with("quantity", quantity),
                why("A customer checking out starts the order journey"), on("orders-api"), returns("orderId", "status"));
    }
}

// a test: a few lines, intent only
ActResult placed = new Orders(agent).placeOrder("SKU-1001", 2);
assertThat(placed.get("status")).isEqualTo("RESERVED");
  • One place to fix. A renamed button is repaired in one step, not in every test that uses it.
  • One recording per step, not per test. A recorded step is stored once (in recordings/_shared) and replayed by every test that uses it. Older per-test recordings still work. The same step on another device (iPhone, Android) is recorded separately.
  • Variables. Write a step's instruction with {{variables}} and with(...) when a value is passed as it is into one field or request, such as a customer id or a quantity, so one recording serves every value. When the value changes which steps happen (which keys to tap, which screens to open), write it into the instruction instead, so each gets its own recording.
  • The rules see through steps. A test is judged on everything it does, including the steps it calls, but a call to a step counts as one step however much it does. A problem inside a step is reported at the step. A step may take its reason as a parameter, why(reason).
  • Repetition is flagged. The same act written in two test classes gets a warning to move it into a steps class.
  • The AI uses them. list_steps shows what exists and what each step does, write_steps adds one, and the AI is told to reuse before writing. They are committed in pull requests with the tests.

On the bookshop example, three test classes each wrote "open the home page and count the books" and one test wrote four near-identical acts. Moving them into one Catalogue steps class left tests that read as intent, no act written twice, and the same existing recordings still replaying. A steps class does not make a small suite shorter, because every act is still written once. What it prevents is the suite growing in step with every test that repeats a journey.

Repairing brittle tests

./quartet-qe repair --file src/test/java/generated/shop142/OrderTest.java --selector 'generated.shop142.*'

The agent fixes a test that broke for a non-product reason, such as a changed label. An intent guard rejects any repair that deletes an assertion, disables a test or loosens an expectation. If the product is wrong, you get a bug report instead of a patch.

Use the AI you are already chatting with

You do not need an API key. Quartet QE is also an MCP server, so the AI in your chat tool (Claude, Cursor, Copilot, or any tool that supports MCP) can write the tests itself. It uses the same context, rules, review and replay as an API model.

  1. Open your tests repo (or this repo, to try the demo) in your chat tool. The server is already configured in .mcp.json:

    {"mcpServers": {"quartet-qe": {"command": "./quartet-qe", "args": ["mcp"]}}}
    

    The first start builds the tool, which takes a minute. Approve the server when your tool asks.

  2. To try the demo, start the sample shop in a terminal and leave it open: ./demo-shop.sh (no Docker needed). For your own system, it must be running and reachable too. Quartet checks this before running tests and says what to start.

  3. Ask: "Write tests for stories/SHOP-142.md using Quartet QE." The first time, Quartet asks where the tests should live (a new tests repo, an existing one, or this folder) and whether you want a Jenkins pipeline. It remembers your answers in quartet-setup.yaml. It never commits or pushes for you. To test a public website, say "Test my site https://www.example.com using Quartet QE" and describe what matters. The AI drafts the story with you, and Quartet creates the environment for that site itself. There is no file to write and nothing to restart. AGENTS.md tells the AI the order of work.

  4. The AI reads your context, writes the tests, and hands them over. Quartet checks them, runs an independent review, runs the tests, and writes the review page.

  5. You review reports/<story>/review.html. After that the tests replay with no AI at all.

You can see the whole path with no AI and no key. ./demo-chat.sh starts the real server, a stand-in chat AI and the real sample system. The stand-in answers each model step from a script, so it shows the plumbing, not AI judgement.

How it works: when a test needs a model for a step, or the independent review needs one, Quartet writes the request to a shared folder. The chat AI reads it with quartet_next_step, answers with quartet_answer_step, and Quartet carries on. Every check, recording and guard rail is the same as with an API key.

Differences to know about:

  • The independent review is a fresh conversation, but it is the same chat AI that wrote the tests. For a different model's opinion, use an API key for runs.
  • Each model step is a round trip through the chat, so a first run is slower than with an API key. Replays are unaffected.
  • Use an API key for unattended runs, such as a pipeline that writes tests for a story. Chat mode needs someone chatting.

First-time setup, with the AI

A new project needs a few things before its first test: what the product is, the URLs and systems to test, what the AI should know about them, and optionally Jira or Azure DevOps, GitHub or GitLab, and Jenkins. Ask your AI: "Help me set up Quartet QE for my product."

It calls quartet_onboarding, which returns a checklist of what is done and what is missing, and works through the open items one at a time. It asks as little as possible up front (the product's name, and where the tests should live), picks sensible defaults, and keeps going.

It also advises. Only the product and one real system to test are needed to start, but each extra makes the tests better, so Quartet ranks what is missing, says why it matters, and lets you skip any of it:

AddWhat you get
An OpenAPI spec or event schemasThe biggest win. Tests assert your real fields, status codes and events instead of guesses
Service objectives and metricsTests check response-time objectives and metrics. Without them every review lists this as a gap
Synthetic test dataRepeatable tests that never use real personal data
Source codeThe AI reads the code to settle what the contract leaves open
A git host and a remote for the tests repoA pull request with the review page as its description
Jira, Azure DevOps, GitHub or GitLab storiesStories read from where the team writes them, and results commented back
JenkinsA pipeline Quartet builds, running the tests on every branch with no AI

A setup_strength of Basic, Good or Great shows how much is in place, and the top suggestions also appear when a story starts and after the first results. For each answer it uses quartet_configure to write the right file, then quartet_verify to check the connection for real.

ItemWhat the AI asks, and what Quartet writes
ProductIts name, owner and a sentence. Written to context/manifest.yaml
URLs and systemsWeb, API, database and Kafka addresses. Written to the environment file, and only those hosts are allowed. Checked with verify environment
ContextAn OpenAPI link (downloaded into context/contracts/), event schemas, notes on how the system works
Source codeLocal folders or GitHub, GitLab and Azure DevOps repos the AI may read
Stories and git accessJira, Azure DevOps, GitHub or GitLab settings. Checked by reading one real story, or the repo
JenkinsIts address and user. Checked, then the job is created

Secrets never go through the chat. The AI only ever names a variable, such as JIRA_TOKEN. You save the value yourself in a terminal:

./quartet-qe secret JIRA_TOKEN

The value is typed hidden, is never printed, and goes into .env, which git ignores. Quartet reads .env for connectors, environments and test runs. quartet_secrets_status shows which secrets are saved, by name only. If you paste a token into the chat anyway, Quartet's tools refuse to store it, but your chat tool may have kept it, so rotate it.

Quick start

Needs Java 21 or newer. No Docker.

See it working with no key

./demo.sh

The demo runs against real Kafka, PostgreSQL, MongoDB and Chromium, using a sample shop called ShopFlow. It uses a scripted stand-in for the AI, so it shows the framework working rather than AI judgement. It runs the full journey: a vague story gets questions, a good story gets tests and a review page, a second run replays with no AI, and a brittle test is repaired without being weakened.

Start a tests repo

Tests live in their own repo, one per product or team, not in this one.

./new-tests-repo.sh ../my-product-tests

That gives you a lean repo with only what is yours: quartet.yaml, a README.md about your product (rebuilt from the repo's own files as stories and results change), context/ with your environment, the tests, recordings and reports as they appear, and the Gradle wrapper. Quartet QE is installed once per machine (at ~/.quartet/current, done for you), so no scripts, principles or framework are copied in. Quartet's built-in engineering principles and playbooks apply as they are, and ./quartet-qe defaults --copy <path> copies one in when you want to change it. A Jenkinsfile and connectors.yaml are created only when you ask for Jenkins or an integration. Helper commands: ./quartet-qe get-started, ./quartet-qe secret NAME and ./quartet-qe ai-key. Jenkins fetches the version named in quartet.yaml when an agent has no install.

In that repo:

./quartet-qe ai-key         # saves your key to .env, input hidden
./quartet-qe doctor          # checks the AI, context and environment
./quartet-qe run --story stories/MY-STORY.md
./gradlew test               # replays with no AI

Run report

One page for the last run, built from the build's own JUnit XML and an audit of every agent.act: what the tests decided, how long each took, what the AI did, and what it cost. A test that threads a value through two or more systems also gets its transaction path. Every number comes from the build, never from a model.

./quartet-qe report --results e2e-tests/build/test-results/test
# Report   e2e-tests/build/quartet-report/report.html

With --pr 42 the same numbers post as a comment on a GitHub pull request, using the token in connectors.yaml. --dry-run prints the comment without posting it.

Commands

run --story <ref>          Write tests for a story, run them, and produce one page to review
    [--prove]              Also plant bugs to prove the tests catch them
    [--no-run]             Write the tests without running them
publish --story <ref> --code <github|gitlab|ado> [--ci <jenkins|github|gitlab|ado>]
                           Run, then open a pull request with the review as its description
repair --file <Test.java> --selector <test filter>
                           Fix a brittle test without weakening it
setup-jenkins [--repo-url <url>]
                           Create the Jenkins job for this tests repo (and the Jenkinsfile if missing)
report [--results <dir>] [--audit <acts.jsonl>] [--out <report.html>] [--pr <number>] [--dry-run]
                           One page for the last run; --pr posts it as a GitHub comment
check-story --story <ref>  List questions about a story before writing tests
observe --target <name> [--device <name>] [--path /]
                           Show what the agent sees on a screen
context-search --query "text"
doctor                     Check the AI, context and environment setup
mcp                        Serve Quartet QE to a chat tool over MCP, so the AI you are chatting with writes the tests (no API key)

Story references: path/to/story.md, jira:KEY-1, ado:123, github:45, gitlab:7. Any command accepts --environment <file>.

publish runs the story, commits the tests to a new branch in your code host, opens a pull request with the review as its description, and can start your CI pipeline and follow it to the end. A person still approves the pull request.

Configuration

FilePurpose
quartet.yamlWhere the agent finds the context, environment, connectors, reports and how to run your tests
context/environments/*.yamlTargets the tests can reach, and the guard rails
connectors.yamlJira, Azure DevOps, GitHub, GitLab and Jenkins addresses. Tokens come from environment variables
.envYour AI provider and key. Never committed

An environment file lists targets and a guard:

guard:
  production: false
  allowHosts: [localhost, 127.0.0.1]   # tests can only reach these hosts
targets:
  orders-api:
    type: api                          # api | screen | kafka | postgres | mongo
    baseUrl: "${ORDERS_API_URL:-http://localhost:18080}"
    context: [contracts/openapi/orders-service.yaml]
  shop-web:
    type: screen
    baseUrl: "${SHOP_WEB_URL:-http://localhost:18080}"
    devices:
      desktop: {kind: web, engine: chromium}

Connectors

SystemReads storiesComments the review backOpens pull requestsStarts pipelines
Jirayesyes
Azure DevOpsyes (work items)yesyesyes
GitHubyes (issues)yesyesyes (Actions workflow)
GitLabyes (issues)yesyesyes
Jenkinsyes, and creates the job

Jenkins

Quartet QE sets Jenkins up for you. Put your Jenkins address, user and API token in connectors.yaml, then from the tests repo:

./quartet-qe setup-jenkins

It writes the Jenkinsfile if the repo has none, creates any missing folders, and creates a multibranch pipeline job pointed at the repo. Running it again updates the job rather than duplicating it. Jenkins then builds every branch and pull request, and each build replays the recorded steps with no AI.

publish --ci jenkins does the same before it starts a build: it makes sure the job exists, asks Jenkins to scan for the new branch, waits until Jenkins has found it, starts a build and follows it to the end.

Needs the Pipeline: Multibranch, Git and Folders plugins, which most installations already have. For a private repo, add a Jenkins credential and set credentialsId. The repo address is taken from origin, and a username or token in it is refused. The Jenkinsfile only needs an AI key for the optional stage that writes tests for a story.

AI providers

Set these in .env:

AI_PROVIDERNotes
anthropicNeeds AI_API_KEY
openaiNeeds AI_API_KEY and AI_MODEL
azure-openaiAlso needs AI_BASE_URL
geminiNeeds AI_API_KEY and AI_MODEL
openai-compatibleOllama, vLLM, LiteLLM or an internal gateway. Needs AI_BASE_URL
hostThe AI in your chat tool, over MCP. No key. Set for you by ./quartet-qe mcp

Busy or rate-limited services are retried patiently, with progress shown. The agent never needs a vendor-specific feature, so any model that can call tools will work, though test quality depends on the model.

Repository layout

FolderPurpose
quartet-coreAI providers and the agent loop
quartet-runtimeagent.act, agent.verify, screens, recordings, and drivers for API, Kafka, PostgreSQL and MongoDB
quartet-generatorThe command line tool, connectors, checks and repair
skeletonThe starting point for a tests repo
native/iosThe iOS runner
context, stories, demo-shopflow, e2e-tests, reportsThe ShopFlow demo
assetsREADME media
AGENTS.md, .mcp.jsonInstructions and server settings for chat tools. Copied into every new tests repo
GETTING-STARTED.mdThe step-by-step guide

Built with Java 21 and Gradle. ./demo.sh shows the framework with a scripted stand-in for the AI. ./demo-chat.sh shows the chat path.

Run the unit tests with:

./gradlew :quartet-core:test :quartet-runtime:test :quartet-generator:test

Licence

MIT. See LICENSE.

The quality model is based on Liam Gough's writing on quality engineering.

Frequently asked questions

What is Quartet QE MCP Server?

AI test framework: turn a user story into end-to-end tests for APIs, web and Android.

How do I install Quartet QE MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Quartet QE MCP Server runs locally from the MCP bundle https://github.com/Callahan-ci/quartet-qe/releases/download/v0.1.0/quartet-qe-0.1.0-mac-arm64.mcpb with the command npx -y https://github.com/Callahan-ci/quartet-qe/releases/download/v0.1.0/quartet-qe-0.1.0-mac-arm64.mcpb.

Is Quartet QE MCP Server free and open source?

Yes. Quartet QE MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Quartet QE MCP Server support remote (HTTP) connections?

No remote endpoint is listed for Quartet QE MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is Quartet QE MCP Server's trust score calculated?

Quartet QE MCP Server scores 65 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server