Plune
OfficialAllows Plune to use OpenAI models as an LLM provider when running assertion suites. Configure provider type openai and a model in plune.yaml; Plune calls the OpenAI API, evaluates assertions against model outputs, caches results, and reports token cost using the OPENAI_API_KEY environment variable.
@plune-ai/cli
AI-powered assertion testing for LLM apps — a test runner for model behaviour.
Plune runs an assertion suite against an LLM provider and gives you a pass/fail report —
locally, in CI, or as a regression diff between two runs. You describe the checks in one
plune.yaml; Plune calls the model, evaluates each assertion, caches results, and reports
token cost. Ten built-in assertion types cover plain text, JSON-schema, LLM-as-judge, and
RAG metrics (faithfulness, answer-relevance, context-precision).
Links: plune.ai | npm | GitHub Action on Marketplace
Install
npm install -g @plune-ai/cli # or: pnpm add -g @plune-ai/cli
plune --versionOr run it without installing:
npx -y @plune-ai/cli runRequires Node.js ≥ 20.
The completion cache uses better-sqlite3, an optional dependency with prebuilt binaries for Node 20 to 26 on Windows (x64, arm64), macOS and Linux. If the binary cannot be downloaded (proxy, offline mirror) and there is no C++ toolchain with Python to build it, npm skips it: the install still succeeds and plune run prints completion cache disabled and runs without the cache. To turn the cache on, fix the download or install the build tools (Visual Studio Build Tools on Windows), then run npm rebuild better-sqlite3 -g.
Related MCP server: squish-mcp
Quickstart
# 1. Scaffold plune.yaml, an example dataset, and .env.example
plune init
# 2. Add your provider key (read from the environment / .env — never written to disk)
echo 'ANTHROPIC_API_KEY=sk-ant-...' >> .env
# 3. Run the assertions
plune run
# → 3 passed · 0 failed · 0 errored · 3 total · $0.0008 · 1840ms
# 4. Re-render the last run, or diff two runs to catch regressions
plune report --format markdown
plune diff baseline.json current.json --fail-on-regressionEach run writes its full result to .plune/last-run.json; a --dry-run writes nothing there.
Configuration
Plune reads a single plune.yaml, discovered by walking up from the working directory (or
passed with -c <path>). A minimal example:
version: 1
provider:
type: anthropic # anthropic | openai | openrouter
model: claude-sonnet-5-5
evals:
- id: example
prompt: "Answer concisely. {{question}}" # {{vars}} come from each dataset row
dataset: datasets/example.jsonl # a file path, or an inline `examples:` list
assertions:
- type: contains
value: "Paris"Datasets are JSONL, one row per line, shaped { "vars": { ... }, "expected"?: "..." }. A line that
is not valid JSON or not a row (no vars, or vars that is not an object) stops the run before
any model call with <file>:<line> and what is wrong, exit code 2, like any other configuration
error. The provider API key is read from the environment based on provider.type:
Provider |
| Environment variable |
Anthropic |
|
|
OpenAI |
|
|
OpenRouter |
|
|
provider may also be a list of models: every eval then runs on each, and plune run and plune report show a model × eval table (see the configuration guide). model is any id the provider serves; plune init starts you on claude-sonnet-5-5. A run's cost
is priced from a built-in table of current models — a model it does not list costs 0, with a
warning, until you add its rates under pricing: (input_per_1k_usd, output_per_1k_usd). Leave
temperature out for Claude models released after Opus 4.6: they take none, and the API answers 400
to any value but the default. Plune sends no temperature unless the config sets one.
Where the CLI reads its settings
Every command reads them the same way: from the environment first — what your shell or CI job
exported — then from a .env beside the config you named with -c, then from a .env in the
current directory. The first place that sets a variable wins, so a .env never overrides what is
already exported. That covers the provider keys above and every PLUNE_* variable (PLUNE_TOKEN,
PLUNE_API_URL, PLUNE_RUN, …) for run, report, sync, ingest, login and run import,
start and finish alike — no dotenv wrapper in your scripts. The token plune login saved is
the last resort, used only when PLUNE_TOKEN is set nowhere else. Nothing writes a .env for you;
plune init writes .env.example.
Assertion types
Type | Passes when… |
| output equals |
| output contains |
| output contains at least one of |
| output contains every one of |
| output validates against the JSON |
| an LLM grades the output against |
| embedding similarity to |
| output is grounded in |
| output actually answers the |
|
|
Commands
Command | Summary |
| Run the suite. Flags: |
| Re-render the most recent run. Flags: |
| Compare two |
| Scaffold |
| Save a Plune platform API token so |
| Remove the saved token. |
| Serve the Plune tools to an AI agent (Claude Code, Codex, any MCP client) over MCP stdio. See Plune tools for AI agents. Flags: |
| Check that any MCP server starts and answers: handshake, protocol version, capabilities, the lists, |
| Check the tool list of any MCP server for what confuses a model — no account, no model. See Checking any MCP server. Flags: |
| Write the contract of any MCP server — tools, resources, resource templates, prompts, capabilities, instructions — as one stable JSON file to commit. See Contract snapshots. Flags: |
| Compare a snapshot with another snapshot file or a live server: every change |
| Pin the tools, prompts and resource templates of any MCP server in |
| Scan what a model or a person cannot see in any MCP server, sending no probe unless |
| Check any MCP server against the protocol: a catalog of checks with their requirement level and spec section, a score from the |
| Upload the latest local run to the platform. Flags: |
| Turn a JUnit XML or Playwright JSON report, a k6 summary or Lighthouse JSON report, a folder of JUnit XML files (Maven Surefire's |
| Open a platform run — or join the one already carrying |
| Close a platform run. This is what the reporter tells you to do for a run it had to leave open. Flags: |
| Open a run, run the command inside it, close the run — and exit with whatever the command returned. Sets |
| Delete a run and everything it produced — its results and the review-queue entries it raised. Approved test cases and the audit log stay. Recoverable for 30 days (an owner of the project can put it back from Settings → Bin), then gone for good. No prompt: it is your data, and this command belongs in scripts. |
| Replay |
| Record a Cairn run in Plune. Omit |
| Write the project's test cases as one Markdown document — Testomat's classical format, plus Plune's own columns — to |
| Send the document back. Cases are matched by |
| Import requirements from a Markdown file (an SRS, a PRD, a page exported from a wiki). With no mapping flags it lists the tables and sections the file has and exits |
| Import a traceability matrix (a Markdown table of requirement key to test) as links between requirements and cases. With no flags it lists the tables the file has and exits |
| Compare the project's automated cases with the Playwright tests in the code, read-only. Prints both sides: cases in Plune that the code no longer has (already |
| Write the Plune case id of each Playwright test that names none into a mapfile, |
| Run Cairn's |
| Print a test plan as one |
| Print a run's automated cases as one |
Global flags: -c, --config <path> · -v, --verbose · --no-color.
Exit codes: 0 everything passed · 1 an assertion failed · 2 configuration or execution error · 3 pull refused to overwrite uncommitted changes · 4 push had refusals · 5 plune run --cache-strict found rows with no cache entry (it wins over 1 and 2: the run is incomplete).
Completion cache
plune run keeps model answers in .plune/cache.db, keyed by provider, model, temperature, max_tokens, the resolved prompt and the cache policy version. Never by time or run id.
What is stored. An answer is cached only when it has text, was not cut off by the token limit (
finish_reasonlength), carries no provider error, and has the format the eval expects (ajson-schemaeval needs JSON in the answer). An answer that is well formed but wrong (the schema or acontainscheck fails) is cached: the model would say the same thing again.What is dropped. A stored answer that no longer has the expected format is deleted and the model is asked once in the same run. A provider failure deletes nothing. A damaged entry or file is a miss, never a crash.
Policy version.
CACHE_POLICY_VERSIONis part of the key. When it is raised, older entries stop answering, are dropped, and the run sayscache policy changed, N entries are staleonce on stderr.--cache-strict. Every row must be in the cache; the model is not called for completions (judge assertions such asllm-judgestill call it). A miss ends the run with exit code5and lists the rows with no entry. Not combinable with--no-cache(exit2), and neither is--cache-max-age. An entry with the wrong format is left in place in this mode (there is no retry).--cache-max-age <duration>.90s,15m,12h,7dor milliseconds. An older entry is a miss; a fresh one is a hit.Summary. The console report and the JSON (
summary.cache) show rowsfrom_cache,from_model,missedanderrored(the provider failed; the four add up to the rows run), and the tokens and cost the cache saved (saved, the sum of each row'scache_saved).
Design: docs/features/C7-completion-cache/adr/0001-completion-cache-hardening.md.
Requirements from a Markdown file
plune requirements import <file.md> reads a requirements document (UTF-8, at most 1 MiB, at most 2000 requirements) and brings it into the project in two steps. It sends the file as it is and changes nothing by itself: you say which table or section holds the requirements and which column is which, and the platform tells you what it would do before it does it.
1. See what the file holds. With no mapping flags:
plune requirements import srs.mdIt lists every table (number, nearest heading, header cells, row count, and <- looks like requirements where the first column holds ids and a header names a requirement) and every section (number, heading, bullets and sub-headings under it), then the commands to try next. Exit 0.
2a. A table. Name the table and its columns by their header text (any case):
plune requirements import srs.md --table 0 --key-column ID --text-column Requirement --priority-column Priority --map-priority "Critical=Must-have,High=Should-have"--key-column, --title-column or --text-column (one of the two: the title is the first line of the text and the whole text is kept as the description), --description-column, --priority-column, --category-column, --type-column, --status-column (draft, active or done), --criteria-column; --map-priority and --map-category ("Quality=non-functional") rename values; --type user_story|feature|epic is the type of a row that has none.
2b. A section. One requirement per bullet or per sub-heading:
plune requirements import prd.md --sections Requirements --unit bullets --key-prefix REQ---sections takes the heading or its number; --unit bullets|subheadings (default: sub-headings when the section has any); --key-prefix is text a bullet starts with that carries its key (REQ-12: The system shall ...; no pattern is accepted); --priority-from subheading makes the bullets under a sub-heading take its text as their priority.
2c. Several tables in one run. A PRD keeps its functional and non-functional requirements in different tables. Repeat --table and put each table's columns inside it, after the number and a colon:
plune requirements import prd.md \
--table "1:key=ID,text=Requirement,priority=Priority,fixed-category=functional" \
--table "2:key=ID,text=Requirement,fixed-category=non-functional" \
--map-priority "Must=Must-have"Inside a --table the names are key, title or text (one of the two), description, priority, category, type, status, criteria, plus fixed-category=functional|non-functional|other and fixed-type=user_story|feature|epic — one meaning for the whole table, used where a row has none of its own. Names are separated by commas, so a header that contains a comma cannot be named in this form. --map-priority, --type and --map-category are shared by all tables. A table number may be given once. The single-table form (--table 0 --key-column ...) keeps working, but the two forms are not mixed: --key-column and the other column flags are refused together with --table "<n>:...". The plan shows table #N "heading" in front of each row.
3. Read the plan, then write it. Without --yes nothing is written. The report is the summary line (create 3 · update 0 · unchanged 12 · skip 1), the rows grouped by action with their line in the file, key, title and reason (a skipped row says why), the priority and category values seen and what they map to, and what was not imported (other tables, other sections, frontmatter keys). It ends with dry run — nothing was written; add --yes to apply. Add --yes to apply the same plan in one transaction. A row with a key matches the requirement of that key; one without matches by exact title; running the same file again changes nothing (every row is unchanged). A skipped row does not fail the command. Rows that are only placeholders ([Behavior]) are skipped with the reason template placeholder; a key that appears twice in the file is skipped with first on line N, again on line M. When every row is a placeholder the plan says this file is an empty template (--json has "emptyTemplate": true) and the exit code is 0, like any plan whose rows are skipped: nothing is written, and nothing is an error.
--json prints the platform's answer instead. The project is the only one of the account, or --project <id> / PLUNE_PROJECT (a token only works in the project it was minted in). Exit 0 on success, 2 for a flag combination that cannot work (--table with --sections, --title-column with --text-column, a --table "<n>:..." spec with the single-table column flags), an unreadable or over-limit file, or a rejected token, 1 when the platform refuses (400, 403, 409 a key taken meanwhile, 413) or does not have the routes yet.
Links from a traceability matrix
Requirements documents often end with a table of requirement id to test. plune requirements links <file.md> imports it as links between requirements and cases, in the same two steps as requirements import: it sends the file as it is, and you say which table and which two columns.
plune requirements links matrix.md # lists the tables, exit 0
plune requirements links matrix.md --table 0 --requirement-column "Requirement" --test-column "Test" # dry run
plune requirements links matrix.md --table 0 --requirement-column "Requirement" --test-column "Test" --yesA requirement is matched by its key (import the requirements first, with --key-column). A test is matched by the exact title of a case, or for an automated case by its source path (e2e/login.spec.ts or e2e/login.spec.ts#title); put several tests in one cell on separate lines (<br>). A requirement cell with several keys is split by --separator (1 to 3 characters, default ,; nothing else is guessed). The report lists what it would link, what is already linked, and every row that matched nothing, with the reason (unknown key, archived requirement, no such case, a title that names several cases). A second import changes nothing. Links never change a requirement's coverage, which still comes from each case's last result.
Exit 0 after a dry run or a write, even when rows are unmatched; --fail-on-unmatched makes any unmatched row exit 1. A wrong flag or file is 2; a read-only member, a rejected mapping or a matrix over 2000 rows (after splitting) is 1 with the platform's reason. --json prints the platform's answer; --project <id> / PLUNE_PROJECT picks the project.
A release gate: --fail-on-failures
plune run finish, plune run exec, plune run import and plune sync take --fail-on-failures. The exit
code is then the platform's verdict on the run, not the runner's: the summary the platform froze at finish
(for sync, one GET /v1/runs/:id/summary after the upload). The platform counts a muted case's failure under
muted, so a mute set in Plune is honoured without the CLI knowing about it.
The run | Exit |
a |
|
an expected case that never reported ( |
|
only |
|
no verdict: the platform could not be reached, the finish was refused, the run was left open or terminated |
|
no result reached the run and nothing was expected of it: |
|
| the command's own code |
Without the flag every command exits as it always did. plune run (local evals) is not affected: it stays the
raw local signal and works offline.
Already running tests? Bring the results in
Everything above generates checks, which is why it needs a provider key. If you already have a suite, there is nothing to generate — the results exist and only have to arrive, and that route costs nothing beyond a Plune token.
plune login # once, on your machine; in CI export PLUNE_TOKEN instead
plune run import ./junit.xml # Jest, Vitest, pytest, PHPUnit, Surefire, Cypress, …
plune run import target/surefire-reports # or a folder of JUnit files: Maven, Gradle — see Java below
plune run import ./playwright.json # or Playwright's own JSON report
plune run import ./allure-results # or the folder an Allure adapter wrote — see below
plune run import ./summary.json # or a k6 summary, thresholds as pass or fail — see below
plune run import ./lighthouse.json # or a Lighthouse report, a category per result — see belowThe format is read from the file, not from its name. Statuses go over as the report wrote them and
Plune maps them per project, so error can mean something different to your team than to ours.
A test Plune has no case for is counted, and --create offers it to the review queue instead —
nothing becomes a test case until a person approves it.
For a Playwright suite there is also @plune-ai/playwright,
which reports as the run happens and needs no second step:
// playwright.config.ts
reporter: [['list'], ['@plune-ai/playwright']],Either way a Playwright suite brings its screenshots: every image an attempt kept as a file — PNG,
JPEG or WebP, up to 2 MB each, 20 per result — is uploaded to that result, a passed test's too, so a
run in Plune shows each test with what it looked at. plune run import finds them where the report
says they are, so run it where the report was written; the summary counts any it could not find.
JSON and plain text come the same way — the answer of an API, a log — whether a test attached them
with a path or as a body (a report holds a body itself, so plune run import needs no file for
it). Only application/json and text/plain, as the attachment names them; UTF-8 without NUL
bytes, up to 512 KiB each and 10 per result. The summary counts them apart from the screenshots.
A project that has connected its own storage bucket in Plune takes more. Every file an attempt kept
— screenshots, text, a Playwright trace, a video — goes straight from this machine into that bucket
over short-lived links Plune hands out per file, so a trace of up to 100 MB is streamed from disk,
never read into memory. Up to 16 files go at once (PLUNE_UPLOAD_CONCURRENCY). The limits there are larger: 10 MiB for an
image, 5 MiB for a text, 50 MiB for any other file and 100 MiB for a video or a trace, 30 files a
result. The links are write keys to your bucket, so they are never printed — not in the log, not with
--verbose, not in an error; a line names the file and a code. The first time a run finds the
bucket it says so, and the summary reads N file(s) uploaded to your bucket, with the number
skipped or failed when there are any. A file that does not arrive is a warning, never a failed
import. Without a bucket, screenshots and text go as before, and a trace or a video is not stored —
the log says so once and the summary counts them.
Files from a JUnit report
JUnit has no field for a file, so the runners that keep one print a line of their own in the test's
output, as Jenkins and GitLab read it: [[ATTACHMENT|path]] on a line by itself, in system-out or
system-err of the test. plune run import reads that line in every test case and sends the file the
way the Playwright reporter sends one: into your bucket if the project has one, to the result if it is a
PNG, JPEG, WebP, JSON or plain text; any other file (a trace, a video) needs the bucket and is counted as
not stored without one. Any extension is read. A relative path
counts from the folder of the report, so run the import where the report and its files were written.
pytest (junit_logging=system-out is what puts the output into the report):
def test_checkout(page):
page.screenshot(path="artifacts/checkout.png")
print("[[ATTACHMENT|artifacts/checkout.png]]")pytest --junitxml=report.xml -o junit_logging=system-out
plune run import report.xmlJava, JUnit 5 (Maven Surefire writes the test's output into its testcase; Gradle only with
reports.junitXml.outputPerTestCase = true). The path counts from the folder the XML file is in
(target/surefire-reports, build/test-results/test), so the file has to be below it:
@Test
void checkout() {
// ... save the screenshot as target/surefire-reports/artifacts/checkout.png
System.out.println("[[ATTACHMENT|artifacts/checkout.png]]");
}A file that is not there (a cleaned-up workspace, a typo, a screenshot that was never taken) does not
fail the import: every result still goes to Plune. Each one gets a line, always, not only with
--verbose, and the end of the output counts them:
plune: attachment not found — "shop.Cart › rejects a negative quantity": artifacts/missing-trace.zip
Imported 120 results · 34 files uploaded · 2 files not foundA CI step that should go red for it passes --fail-on-missing-attachments: exit code 1, with the
results already sent. A path that leaves the folder of the report (../../etc/passwd, an absolute path
elsewhere, a link that points outside) is refused with the same line, and the file is never read.
Console output kept per suite rather than per test (jest-junit) names no test, so nothing is read from it.
For Jest, use Allure below.
A trace link per result
A result can carry the link to its trace in your own observability (a Langfuse or OTel trace): Plune keeps
the link with the result, never the trace itself. A JUnit report gives it as a property of
the test case, and a Playwright JSON report as a PluneTrace annotation, named as PluneId is:
<testcase classname="shop.Checkout" name="pays by card">
<properties>
<property name="plune.trace.url" value="https://langfuse.example.com/project/shop/traces/7f3c2a"/>
</properties>
</testcase>test('pays by card', async () => {
// a static link can also go in the test's details: { annotation: { type: 'PluneTrace', description: url } }
test.info().annotations.push({ type: 'PluneTrace', description: traceUrl });
});In Playwright JSON each attempt's own annotation wins, so a retry keeps its own trace. Playwright's
junit reporter writes an annotation as a property of the same name, <property name="PluneTrace" …/>,
and a JUnit import reads that too, so the same PluneTrace annotation works through either reporter.
A test case that carries both properties sends plune.trace.url. The link is trimmed; one the platform would refuse
(not https://, no host, a user name or password, a space or control character, over 2048
characters) is not sent, the result is sent without it, and the import says so:
plune: "checkout › refuses an expired card": trace link not sent (must be an https address) — the result is imported without it.An allure-results folder
Every Allure adapter (pytest, JUnit 5, TestNG, Playwright, Cypress, Jest, Vitest, WebdriverIO, .NET) writes
the same folder: a *-result.json per test, a *-container.json per suite, and the files the tests attached.
Point plune run import at the folder (a folder with a *-result.json in it is read as Allure, no flag needed). Each test arrives with its
name, its status as Allure shows it (passed, failed, broken, skipped), its time, the failure message and
trace, and its steps; a test run again (same historyId) is one test with attempts, the last one counting.
The files come from the test, from its steps and from its fixtures (befores, afters), each with the
type Allure wrote, and go the way a JUnit file goes: your bucket, or the result for a picture or a text. A
source counts from the folder, and one that leaves it is refused. A missing file, --fail-on-missing-attachments
and the summary line work as for JUnit above.
pytest (allure-pytest):
pip install allure-pytest
pytest --alluredir=allure-results
plune run import allure-resultsimport allure
def test_checkout(page):
with allure.step("pay"):
allure.attach.file("artifacts/checkout.png", name="checkout", attachment_type=allure.attachment_type.PNG)Java. Maven Surefire and Gradle write JUnit XML on their own, a TEST-<class>.xml per class, so a Java suite
needs no Allure: point the import at the folder.
mvn test
plune run import target/surefire-reports
./gradlew test
plune run import build/test-results/testEvery *.xml in the folder that is a JUnit report is read, in the order of the file names, and together they make
one run. The folder's other files and its subfolders (Gradle's binary/) are not opened; an *.xml that is not a
JUnit report is skipped with a line in the output. Each test arrives with its class and name as the key
(cart.CartTest#addsAnItem from Surefire; Gradle keeps the brackets, cart.CartTest#addsAnItem()), its status
(pass, failure, error, skipped), the failure's message, type and stack trace, and its duration. Gradle writes
a timestamp on the suite, and a test's span starts there; Surefire writes none, so a Maven test's span ends when the
import reads the report. A file reaches a test only
through a [[ATTACHMENT|path]] line in its own output, as above, the path counted from
the folder the XML file is in. Gradle puts that output in the test's testcase only with
reports.junitXml.outputPerTestCase = true (by default it writes it once per suite).
Allure adds the steps, and files attached without printing a line. The JUnit 5 adapter is
io.qameta.allure:allure-jupiter (from 2.35.1, allure-junit5 is only a relocation to it, with no jar), with the
AspectJ agent from Allure's setup. It writes allure-results in the working folder; to have it in the build's
output, set allure.results.directory (in src/test/resources/allure.properties, or as a system property) to
target/allure-results for Maven or build/allure-results for Gradle:
mvn test # with allure.results.directory=target/allure-results
plune run import target/allure-results@Test
void checkout() {
Allure.addAttachment("checkout", "image/png", new FileInputStream("target/artifacts/checkout.png"), ".png");
}Jest has no per-test output in JUnit; allure-jest gives it one (allure.attachment(...) in a test or a step).
Tests are matched to Plune cases by the same key as a JUnit report's, classname#name, where the adapter's
names allow it (pytest, JUnit 5, Playwright); for Vitest, Jest and Cypress the key is the runner, the file and the
test's full name (vt:test/cart.test.js#cart adds an item, jest:…, cy:…). For JUnit 5 the name carries the
method's parentheses in Allure and in Gradle's JUnit XML (shop.CartTest#coupon()) but not in Surefire's
(shop.CartTest#coupon), so a project that moves between Allure and Surefire meets its cases under other keys. A file whose name starts with _
is not sent: the core hides it as Playwright's own reports do, and Allure has no such convention, so name
attachments without a leading underscore.
For a JUnit report, check that the output reaches the report: Gradle writes it only with reports.junitXml.outputPerTestCase = true,
and Maven Surefire moves it out of the XML when redirectTestOutputToFile is true. As in the Playwright
reporter, a file whose name starts with an underscore is skipped, and a file several tests name is uploaded once per test.
A k6 summary or a Lighthouse report
Plune runs no load or page-speed tests of its own: it takes the results of the tools that do, as a run.
k6. Import the end-of-test summary, written with k6 run --summary-export=summary.json script.js or
from handleSummary (return { 'summary.json': JSON.stringify(data) }; both have the same metrics).
Each threshold of each metric is one result, named after the metric and the expression
(http_req_duration p(95)<500): passed when k6 says the threshold held, failed when it was crossed. The
metric's measured values (avg, p(95), rate, …) are the result's message. A summary with no
thresholds is refused (exit 2) and nothing is imported: k6 judged nothing, so there is nothing to pass or fail.
A threshold is known by the file's name as well as the metric and the expression, so smoke.json and
load.json imported under one --key stay two results each; renaming the summary file starts a new test.
Only the file's base name counts, not its folder: a/summary.json and b/summary.json give the same keys.
So when the jobs of a matrix import into one run under one --key, each job names its summary file
apart, or every job's thresholds land on one result (the same key twice is a duplicate, not a second
result) and all but one job's verdict is lost:
- run: k6 run --summary-export=summary-${{ matrix.scenario }}.json script.jsWhat a verdict does: a crossed k6 threshold, or a Lighthouse category under its bar, is a failed result,
and only that. The run takes it like any other failed test and is finished as usual — neither the run nor
the import is stopped or refused for it — and plune run import exits 0. To have the job fail, add
--fail-on-failures: the command then exits 1 when the summary the
platform froze has a failed (or broken) result, 0 when every threshold held and every category reached its
bar. The results are sent either way. A shard that leaves a shared run open has no verdict yet; gate on the
step that finishes it.
Lighthouse. Import the JSON report, lighthouse <url> --output=json --output-path=lighthouse.json. Each
category in it (performance, accessibility, best-practices, seo, …) is one result, named after the
category, the page and the form factor Lighthouse ran as (performance (https://example.com/, mobile)), so a
mobile and a desktop report of one page imported under one --key are two sets of results, with the score as Lighthouse shows it, 0–100. It passes at or above the bar:
--min-score performance=80 sets it per category (repeat the flag), and a category you do not name needs 90,
where Lighthouse's own "good" band starts. A category Lighthouse could not score (null) fails and says so;
a report that stopped on a runtime error (NO_FCP, …) fails every category with that error's message
(NO_ERROR, which older Lighthouse writes into a clean report, is no error). A --min-score for a category
the report does not have (perf=95 for performance) is refused with exit 2 and the categories it does have,
and so is --min-score for any report that is not Lighthouse, a folder included; no run is opened either way.
plune run import summary.json
plune run import lighthouse.json --min-score performance=80 --min-score seo=95Both are recognised by their own keys (metrics for k6, lighthouseVersion and categories for
Lighthouse), never by the file name; --format k6 or --format lighthouse says it outright. A report file
that starts with a UTF-8 byte order mark is read as if it did not, in every format.
Several jobs, one run
Two suites, or a sharded matrix, report into a single run when every job shares a key and knows it is not the last one:
PLUNE_SHARED_RUN=1 plune run import ./junit.xml --key "$GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT"
PLUNE_SHARED_RUN=1 plune run import ./app/junit.xml --key "$GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT"
plune run finish "$RUN_ID" # once, when they are all donePLUNE_SHARED_RUN=1 is what stops a job closing a run its siblings are still reporting into; the
key alone says where the results go, not who ends the run. Leave it unset in the last job and that
job closes the run instead of the explicit finish.
plune run exec sets it for you — anything reporting inside it, this command included, joins
without closing.
Closing a sharded run by itself: PLUNE_SHARD
When you know how many shards there are, let them close the run instead of a final finish step:
PLUNE_SHARD=2/4 plune run import ./junit.xml --key "$GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT"PLUNE_SHARD=k/N says "this job is shard k of N" (k counts from 1, 1 <= k <= N <= 1000; a Playwright
--shard=2/4 user passes the same string). It implies PLUNE_SHARED_RUN: the job uploads its results, then tells
Plune that shard k is done. The run closes once, when N different shards have said so, in whatever order and however
often a shard is retried (a repeat counts once; a red shard counts too). The job's exit code does not depend on the counts.
plune: shard 2 of 4 done — 2 of 4 shards reportedThe shard that is the Nth also prints plune: run closed just above that line, so the shard ... done line is always the last one.
A value that is not
k/N(0/4,5/4,2,a/b) is a configuration error: nothing is sent and the command fails. Every shard of a run must use the same N; a different one fails with a message naming both numbers, and the run is left as it was.The index is not guessed from CI variables (matrix indexes are 0-based on some runners and 1-based on others); set it.
On a platform that does not support it yet, the job warns once (
the platform does not support shard auto-close yet) and leaves the run open, asPLUNE_SHARED_RUNdoes: close it withplune run finish.With
--fail-on-failures, the shard that closes the run gates on its summary; the others have no verdict yet.
A combination per job of a matrix: PLUNE_CONFIGURATION
The jobs of a matrix of browsers and systems report into one run, each under its own combination of configuration values:
strategy:
matrix:
browser: [Chrome, Firefox]
os: [Windows, macOS]
env:
PLUNE_RUN: ${{ github.run_id }}-${{ github.run_attempt }}
PLUNE_SHARED_RUN: 1
PLUNE_CONFIGURATION: "Browser=${{ matrix.browser }};Operating system=${{ matrix.os }}"PLUNE_CONFIGURATION is Group=Value pairs split by ;, with the names of the groups and values as in
Settings → Configurations. Case does not matter, spaces around a name or a value are dropped, and so is an
empty pair (;;, a ; at the end); a value may hold =, since a pair splits at its first one. Every results
batch of plune run import and of the Playwright reporter carries it, and Plune files the results under that
combination of the run: one the run already has (a run launched from the dashboard with configurations, joined
by its key), or one it adds. A value that is not in Settings is taken as sent, marked "not in the list". Unset
or blank, the batch is sent as before. The run is closed once at the end, as above.
A pair without
=, without a group or without a value, or one group named twice, is a configuration error: nothing is sent and the command fails.Every job of a run names the same groups. Plune refuses with 422 a batch that names other groups, or one that would take the run past its limits (25 combinations, 40 000 results to expect); its message is printed as it came, and the batch goes to the fallback file like any other refused batch.
The fallback file keeps the combination, and
plune run reportsends the batch back into it.
A time limit for the import
The whole plune run import stops after 600 seconds by default, so a platform that stops answering cannot hold a CI job until its own timeout kills it. Raise it for a very large report, or turn it off with 0:
PLUNE_IMPORT_TIMEOUT=1200 plune run import ./playwright.json # seconds, 0 to 86400; 0 is no limit
plune run import ./playwright.json --timeout 1200 # the same, as a flag (it wins)At the limit the command sends terminate for the run it opened (not for a run other jobs share), says in one line that the platform may have received part of the results, and exits 1. Import the report again afterwards.
Many screenshots: upload concurrency and retries
Files go to Plune up to 100 to a request: uploads-batch announces them (with the SHA-256 of each, read as a stream,
so a file the platform already has is answered exists and is not sent again), the bytes go straight to your bucket
(or, for a project without one, 100 files or 6 MiB at a time through direct-batch), and complete-batch confirms
them. Every file has its own verdict: one that is refused is reported and the rest of its request goes through. A
report of 2760 screenshots is about 56 requests to Plune instead of 5500. The bytes themselves still go one request each,
so the PUTs to a bucket are bound by the round trip, not by bandwidth: 16 at a time by default, lower it on a runner
with a fragile link or a bucket that throttles:
PLUNE_UPLOAD_CONCURRENCY=4 plune run import ./playwright.json # 1 to 32, default 16
plune run import ./playwright.json --upload-concurrency 4 # the same, as a flag (it wins)When the platform answers 429 with a Retry-After (seconds or an HTTP date, never waited longer than 60 s),
the request is tried again after that time plus up to half as much, and every other request of the import
waits through the same pause. PLUNE_UPLOAD_RETRIES (0 to 20, default 6) says how many times; a 429 that
carries a quota object in its body is the quota and is not retried, with or without Retry-After (the message names the
limit and when it resets); one with neither the object nor a Retry-After is read the same way. A platform that is down (a 5xx or no answer) is still tried
twice (three times for a bucket). A 429 on a whole request waits the same way; a file that the bucket did not
answer for at complete is confirmed again, on its own. A file that stays refused is reported without it, never fails
the import, and is counted in the line printed before the summary:
plune: files — 2758 uploaded, 0 skipped, 0 already there (skipped), 14 retried, 0 dropped, in 41.2 s (16 at once, 56 request(s) to Plune).
already there are the files Plune had from an earlier import of the same report (same result, name, type and bytes):
none of them is sent again. Against a platform older than the bulk routes (it answers 404 to uploads-batch) the CLI
sends one request per file, as before; it decides by that answer, not by a version. A value outside the range is
ignored with a warning, and the default is used. The Playwright reporter reads the same variables.
A secret in an error or a text attachment
Before a result goes out, its error text and its text attachments (text/plain and application/json, not
traces or pictures) are checked with the same rules that mask the code snapshot. Something that looks like a secret
gets a warning that names the test, the text, the line and the value's length, never the value; the result is sent as
it is:
plune: the error text of "signs in" holds what looks like a secret on line 4 (40 characters) — sent as it is; mask it in the test, or set PLUNE_SECRET_CHECK=0 to turn this check off.The check is on by default, in plune run import and in the Playwright reporter. PLUNE_SECRET_CHECK=0 (or false,
no, off) turns it off.
When a test is deleted
A test that vanishes from the code stays in Plune as an active case until something says otherwise. The run that covers the whole suite is what says it:
PLUNE_FULL_RUN=1 plune run import ./junit.xml # or the same variable on the Playwright reporter's jobWhen that run finishes having reported everything it expected, every case its source used to
report and did not this time is marked detached — not deleted, not retired: it keeps its history
and its place, and the dashboard shows it with the run as the reason. The next result on it brings
it back by itself. Set the variable only on the job that runs everything: a run of one file or a
--grep also reports everything it expected, and with the flag it would detach the rest. A run that
lost a shard (notRun is not empty) never detaches anything. plune run start has no list of
tests to compare against, so the flag means nothing there.
A failures-only Playwright JSON report (onlyFailures: true on the json reporter, or
PLAYWRIGHT_JSON_ONLY_FAILURES=1) holds only the tests that failed or were flaky, so it is not the
list of what ran: the import sends its results as usual and ignores PLUNE_FULL_RUN for it, saying
so in one line. The import knows such a report by the reporter's options in it, or by its stats
counting no test that passed or was skipped. When nothing failed, the report is empty: the import
says there is nothing to import and exits 0 without opening a run. To detach deleted tests, run
the full suite with a report that keeps every test. A JUnit report written with onlyFailures
carries no such sign, so do not set PLUNE_FULL_RUN on its import.
What the run is called
A run nobody named is called after the directory, the minute it started and where it ran —
plune · 2026-09-15 15:26 · ci — so a row in the list reads without being opened. The clock is the
reporting machine's own; ci comes from the CI variable every hosted runner sets. To call it
something else, set PLUNE_RUN_TITLE (--name <text> on plune run import, run start and run exec does the same and wins); PLUNE_ENV and PLUNE_LABELS mark where it ran and how, and
those stay marks rather than becoming part of the name.
Optional: keep a history
Everything above works with no account, no network, and no token — that does not change. run,
report, diff and init never open a socket, and that is the half this promise is about. If you
also want run history, trends, and a shared dashboard, the commands below push your local runs to
the Plune platform:
plune login # paste the API token from your platform settings page
plune run # exactly as before — the run is saved locally
plune sync # upload .plune/last-run.json, print the read-back URL
plune pull # the test cases as plune/cases.md — edit them anywhere
plune push --dry-run # what a push would change, before it changes anythingThe token is stored at ~/.config/plune/credentials.json (mode 0600, honours XDG_CONFIG_HOME)
and is never printed or logged. PLUNE_API_URL points sync, pull and push at a different server —
useful for a self-hosted backend. The Markdown format pull writes and push reads is documented at
docs.plune.ai/platform/cases/markdown.
Plune tools for AI agents: plune mcp
plune mcp serve gives an agent the same Plune your token reaches — the review queue, cases,
missions, questions, strategy, reports — as MCP tools over stdio. The agent is shown 17 tools, 7 with a
read token or --read-only; five more write tools it finds with plune_discover_tools, which a read token
is not offered, as every tool it finds writes. Every write
tool takes dry_run, batches stop at 100 items, and the agent is held to the platform's agent rules: a proposed case lands in the review
queue, a bulk decision needs a confirm, and nothing is deleted through MCP.
The full guide is Plune tools for AI agents: a project
.mcp.json and the Cursor file, the two protocol revisions the server speaks, how to keep the tool list
small, and what the contract tests check (snapshot, lint, token budget) and what they do not.
plune_cases_generate asks the project's AI for case proposals from pasted text (a requirement, a
story, a ticket's text; 20 words to 12 000 characters, up to 12 proposals, 8 by default). It spends the
project's AI budget, and its proposals wait in the review queue like any other until a person approves
them. The run is queued: the tool answers with its id, and plune_cases_generation_get reads where it
stands, what it produced and what it cost. A Jira ticket by its key is not taken over MCP: paste its
text. The platform's refusals (409 duplicate_source until confirmDuplicates: true, 422 for text
too short or too long, 429 limits, 503 / 409 when the project's AI is not set up) come back with
their code as the platform sent them. Both tools work in the server's --project unless the call
names a projectId.
Claude Code:
claude mcp add plune -- npx -y @plune-ai/cli mcp serveOr as a Claude Code plugin, which adds the server and the skills (plune, qa-mission,
plune-mcp-evals) in one install, and pins the server to the CLI version of the plugin:
claude plugin marketplace add plune-ai/cli
claude plugin install plune@pluneCodex (~/.codex/config.toml):
[mcp_servers.plune]
command = "npx"
args = ["-y", "@plune-ai/cli", "mcp", "serve"]The server reads the token the way every platform command does: PLUNE_TOKEN from the environment
(set it in the client's env block), else the login plune login saved. A read token, or
--read-only, offers only the read tools.
plune_project_context, the call an agent starts with, also answers memoryRules: the rules of the
project's memory that a person accepted in the review queue and has not retired, each as its id and
text, for the agent to follow without asking again. A rule that is only proposed, or was rejected, is
never among them. A platform that keeps no project memory answers no rules, and the rest of the
context stands.
To run a whole testing mission with these tools, give the agent the qa-mission skill
(it ships in the package under skills/qa-mission): it reads the product's docs, asks 3 to 5 questions,
writes a test strategy file and proposes 20 or more cases to the review queue.
The server speaks both MCP protocol eras: a client that opens with initialize (revision
2025-11-25 and earlier) and a client on revision 2026-07-28 that sends server/discover and
per-request _meta. In the newer revision a client learns that plune_discover_tools changed the
list through subscriptions/listen; tools/list is sent with ttlMs: 0, so a client that does not
listen reads the current list every time.
Dependencies
Package | Version | License | Why |
| 2.4.0 | Apache-2.0 | The MCP server and its stdio transport for |
The version is pinned exactly, not with a range, on purpose: the 2.x line moves fast, and each update is taken deliberately with the protocol tests run against it.
Test an MCP server
Four commands test any MCP server, yours or someone else's, started over stdio or reached over
HTTP. They need no Plune account and no model, and they do not talk to the Plune platform: each one
starts the server you name after --, or connects to the address you give with --url, and nothing
else. Everything after -- runs as your user, so point them only at a server you would run yourself.
npx -y @plune-ai/cli mcp check -- node dist/server.js # does it start and answer
npx -y @plune-ai/cli mcp lint -- node dist/server.js # what in its tools confuses a model
npx -y @plune-ai/cli mcp snapshot --out mcp-snapshot.json -- node dist/server.js # its contract, to commit
npx -y @plune-ai/cli mcp diff mcp-snapshot.json -- node dist/server.js # what changed, and what breaksExit | Meaning |
| Nothing at the |
| A finding ( |
| Nothing about the server is proven, and you can fix why: the command was not found or did not start, the server could not be reached or answered |
| Nothing was measured: the server lists no tools, there is nothing to compare, or a check could not run. Not measured is not a pass. |
Each command's own table is in the CLI reference. The guides on docs.plune.ai walk through a sample server with three defects, every lint rule with an example, the exceptions file, snapshots in a pull request, and the run in Plune through JUnit:
Test an MCP server: the four commands, the exit codes and states, stdio and HTTP,
plune run import;Lint an MCP server: the rules,
--fail-on,plune-mcp-ignore.yaml,--call;Snapshot and diff an MCP server: what a change costs a client, and the security signal;
MCP server checks in CI:
plune-ai/eval-action/mcp@v1for a stdio or an HTTP server.
To have your coding agent write the agent scenarios for a server, give it the
plune-mcp-evals skill (it ships in the package under skills/plune-mcp-evals; copy the folder where your agent
reads skills, as in the qa-mission install table). The agent reads the tool
list with plune mcp snapshot, asks you for the 3 to 5 tasks that matter, writes the scenarios into plune.yaml
with at least two negative ones, prices them with plune run --dry-run, and runs them only after you agree to the
cost. It names only tools the server lists, and fixes a failing scenario by its prompt or its limits, never by
weakening the check.
Is the server alive: plune mcp check
plune mcp check answers the question before any other: does the server start, finish the
handshake and answer the basic requests? It runs the checks in order (start, initialize,
protocol-version, capabilities, tools-list, resources-list, resource-templates-list,
prompts-list, ping), each with a state and one sentence on what it saw. A list the server did not
declare is not-applicable; a check with no answer within --check-timeout is could-not-run,
never a pass.
plune mcp check -- node dist/server.js
plune mcp check --url http://127.0.0.1:3000/mcp --wait 20s
plune mcp check --smoke --out check.json -- node dist/server.js--smoke also calls the tools that say they are read-only, do not say they are destructive and need
no argument, with {}; --allow-write-calls adds only tools that say destructiveHint: false. It exits 0 when everything that applies passed, 1 on a failure, 2 when
the server did not start, could not be reached or wants credentials, and 3 when something could not
be measured. --out writes a report you can attach to a ticket: no URL, command, environment or
header in it, the server's stderr masked. The states, the options and the exit codes are in
the CLI reference.
Checking any MCP server: plune mcp lint
plune mcp lint reads the whole tool list of a server you name, stdio or HTTP, and reports what
makes a model choose the wrong tool: missing descriptions, look-alike tools, a string where an enum
belongs, a list that costs too much context, schemas that break the specification. Every finding
has a stable rule id, a level and a line on how to fix it; --list-rules prints the catalog.
plune mcp lint -- node dist/server.js
plune mcp lint --url https://example.com/mcp --header-env "Authorization=MCP_AUTH"
plune mcp lint --call --format json -- node dist/server.js > lint.jsonIt exits 1 on a finding at --fail-on (error by default; heuristic advice is warn at most),
2 when the server does not start, and 3 when nothing was measured — a server with no tools is not
a clean one. Accepted findings go in plune-mcp-ignore.yaml, each with a reason. The options, the
file's format and the exit codes are in the CLI reference.
Contract snapshots: plune mcp snapshot and plune mcp diff
A server's author rarely notices a contract change — a removed tool, a parameter that became
required, a rewritten description — and clients break later, quietly. plune mcp snapshot writes
the contract as JSON that is the same byte for byte for the same server (sorted keys and entities,
LF line endings, no time, no command, no URL, no header, secrets masked), so it can live in the
repository; plune mcp diff compares it with a pull request's build and classifies every change.
plune mcp snapshot --out mcp-snapshot.json -- node dist/server.js
plune mcp diff mcp-snapshot.json -- node dist/server.js
plune mcp diff mcp-snapshot.json current.json --format markdown > comment.mdA changed description, changed instructions, a tool that stops being read-only or becomes
destructive, and a new tool that does not say it is read-only carry a security signal: a reason
for a reviewer to look, not a failure by itself. The format, the rules and the exit codes are in
the CLI reference.
Pinning approved tools: plune mcp pin
A server can change a tool's description after a person approved it, and tell the model something
new. plune mcp pin shows every tool, prompt and resource template in full (escaped: nothing that
does not print reaches the terminal), asks for an approval, and writes plune-mcp.lock.json with
each entry and the SHA-256 of its canonical JSON. Commit the file: the commit is the approval.
plune mcp pin --check in CI compares the live server with it and shows any change field by field,
the old and the new description side by side; --stability asks for the list several times and in a
new session.
plune mcp pin -- node dist/server.js
plune mcp pin --check -- node dist/server.jsIt sees only what the server answers this connection: a server can answer a scanner differently from a model's client. The format, the exit codes and a GitHub Actions example are in the CLI reference.
Checking a server against the spec: plune mcp conformance
plune mcp conformance runs the checks of the MCP specification against a server you name, stdio or
HTTP. Every check has a level (MUST, SHOULD, ...) and the section it cites; the score counts only
the MUST checks of a frozen profile, so it means the same thing next month. --list-checks prints
the catalog without a server. --suite oauth --config <file> (JSON or YAML) checks the authorization
side of an HTTP server.
plune mcp conformance -- node dist/server.js
plune mcp conformance --url http://127.0.0.1:3000/mcp --out junit-xml=conformance.xmlIt exits 1 when a counted check failed, 2 when the server did not start or a flag is wrong, and
3 when conformance is not established (a counted check could not run, or nothing was measured; the
oauth suite always ends in 3). A pass says the server answered these requests as the text asks, no
more. The flags and the checks are in the CLI reference; the
guide is at docs.plune.ai/cli/guides/mcp-conformance.
Programmatic API
The same engine that powers plune run is exported for use from your own code. Unlike the
CLI, the library does not parse argv or auto-load .env — set the provider key in
process.env yourself.
import { run } from '@plune-ai/cli';
import type { RunResult } from '@plune-ai/cli';
const result: RunResult = await run({ dryRun: false, configPath: 'plune.yaml' });
console.log(result.summary); // { total, passed, failed, errored, ... }Use in CI
Run Plune on every pull request and post a regression diff as a sticky comment with the companion GitHub Action, plune-ai/eval-action:
- uses: plune-ai/eval-action@v1
with:
config: plune.yaml
fail-on-regression: trueContributing
Bug reports and pull requests are welcome — see CONTRIBUTING.md. For security issues, see SECURITY.md.
License
MIT © Plune Contributors
Available Tools
17 toolsplune_case_proposePropose test casesA
Propose up to 100 new test cases for a person to review: they land in the review queue as proposals and become cases only when someone approves them. Nothing is created silently.
Inputs: cases (required), target (required), dry_run, missionId. Returns: dryRun, report, applied, itemIds, +3 more
plune_cases_generateGenerate cases from pasted textA
Generate test case proposals from pasted text — a requirement, a user story, the text of a ticket — with the project's AI. It spends the project's AI budget. The proposals land in the review queue and nothing becomes a case until a person approves it. The run is queued: keep its id and poll it with plune_cases_generation_get until it is done. A Jira ticket by its key is not taken here: paste its text.
Inputs: input (required), dry_run, language, maxCases, +2 more. Returns: dryRun, result, request
plune_cases_generation_getRead a case generationARead-only
Check where a run of cases from pasted text stands — queued, running, done, failed or cancelled — with how many proposals it made, how many it skipped, and what it cost.
Inputs: generationId (required), projectId. Returns: generation
plune_cases_searchFind test casesARead-only
Find test cases of the project by filter — free text in q, suite, state, tag, priority and the other filters of the case list — one page at a time, with the total and how many match. Measured answer: ~7678 tokens (characters / 4) for a project of 48 cases.
Inputs: limit, cursor, filters. Returns: total, matching, testCases, nextCursor
plune_discover_toolsFind more toolsARead-only
Look for a capability that is not in your tool list — editing cases (plune_cases_update), writing results into a run (plune_results_write), starting runs (plune_run_create), cataloguing API endpoints (plune_endpoint_propose), a raw API call (plune_api_request) — and switch the ones you need on for this session by name, in one call. A tool switched on can be called from the next step, and its description in this answer says what it needs. Writing results needs no read of the run first; editing a case replaces its title, tags and steps whole, so read the case before changing them.
Inputs: names, query. Returns: visible, revealed, available
plune_getRead one objectARead-only
Read one test case, run or review queue entry in full when you already hold its id — steps, state, history fields and everything the platform keeps on it. Writing results or proposing cases needs no read first; an edit that replaces a list or a text (tags, steps, a mission summary) needs the current value read first.
Inputs: id (required), kind (required). Returns: item, kind
plune_mission_createCreate a missionA
Create a testing mission for a product the user has named: its name, a short description of what the product is, where it runs, and whether documentation exists. It starts as a draft. Do not guess a mission from an unclear request, not even as a placeholder draft: when the user has not said which product, ask with plune_question_ask first.
Inputs: name (required), url, state, dry_run, +2 more. Returns: dryRun, result, request
plune_mission_getRead a missionARead-only
Read a testing mission with everything it holds — its brief, state, documentation answer and every source attached to it — before planning or continuing the work on it. Measured answer: ~455 tokens (characters / 4) for a mission with 5 sources.
Inputs: missionId (required). Returns: mission
plune_mission_updateUpdate a missionADestructive
Change a testing mission: rename it, rewrite the brief, set or remove the address, answer whether documentation exists, or move it between draft, active and done.
Inputs: missionId (required), url, name, state, +3 more. Returns: dryRun, result, request
plune_project_contextProject contextARead-only
Start here: learn the project you are working in with one call — its projects, the suite tree, how many test cases it has, its testing missions, how much waits in the review queue, and the rules of its memory: what a person accepted for this project, to follow without asking again. Measured answer: ~387 tokens (characters / 4) for 3 projects and 3 suites.
Inputs: no named parameters. Returns: cases, suites, missions, projects, +3 more
plune_question_askAsk a personA
Ask a person what you do not know instead of guessing. When the request leaves the target or scope unclear (which product, which cases), call this first, before any write, rather than only asking in your reply: it needs no mission, waits in the review queue, and its answer is read with plune_question_list. A plain question takes up to three options; an access question asks for an API description, the code, staging or a HAR file.
Inputs: text (required), template (required), access, dry_run, +2 more. Returns: dryRun, result, request
plune_question_listRead questions and answersBRead-only
Check the questions asked to people and the answers they gave — all of them or one mission's, waiting or answered — so the work continues from what a person actually said.
Inputs: limit, state, cursor, missionId. Returns: questions, nextCursor
plune_report_requestRequest the mission reportA
Ask the platform to build the completion report of a mission from its own data and queue it for a person to approve; it needs an accepted strategy first.
Inputs: missionId (required), dry_run. Returns: dryRun, result, request
plune_review_decideDecide queue entriesA
Approve or reject up to 100 review queue entries in one decision. The first call changes nothing and returns a preview with a confirm value; repeat the same call with confirm to apply it. An entry skipped as policy_refused was refused by the review policy of the project (for example, the person who proposed it cannot approve it): do not retry it — it needs another reviewer; its detail says why.
Inputs: itemIds (required), verdict (required), note, confirm, +1 more. Returns: report, applied, preview, requested
plune_review_listRead the review queueARead-only
See what waits for a decision in the review queue — proposed cases, discovered tests, endpoints, strategies, reports — narrowed by state, kind and mission, newest first, one page at a time. The mission filter needs a platform that supports it; an older one returns the whole queue. Measured answer: ~695 tokens (characters / 4) for 7 pending entries.
Inputs: kinds, limit, state, cursor, +1 more. Returns: items, nextCursor
plune_source_addAdd a source to a missionB
Attach something to read to a mission: a link (page, OpenAPI document, repository, ticket) or the text of a file of the project — Markdown, plain text or JSON, up to 1 MiB.
Inputs: kind (required), missionId (required), ref, name, +4 more. Returns: dryRun, result, request
plune_strategy_proposePropose a test strategyB
Propose a test strategy for a mission in ISTQB sections — objectives, scope in and out, approach, levels and techniques, risks, entry and exit criteria — for a person to accept.
Inputs: content (required), missionId (required), dry_run. Returns: dryRun, result, checked, request, +1 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 17 tools
Most tools are clearly separated by resource and action, especially around missions, review, questions, and strategy. The generic plune_get for cases/runs/review entries and the propose-vs-generate pair create mild overlap, but the descriptions make the boundaries workable.
All names use snake_case with a plune_ prefix, and most follow a predictable resource_action pattern such as mission_create, review_decide, and question_list. plune_get and plune_discover_tools are minor deviations but remain readable.
Seventeen tools cover project context, cases, review, missions, sources, questions, strategy, reports, and capability discovery, with each having a distinct role. It is slightly above the ideal 3-15 range but not bloated for a multi-workflow testing platform.
Core proposal, review, mission, and question workflows are covered, but direct case editing, run creation/results writing, endpoint cataloguing, and raw API calls are intentionally absent from the base list. plune_discover_tools provides a viable escape hatch, making these workaround gaps rather than dead ends.
Maintenance
Related MCP Connectors
Test management for AI agents: cases, runs, results, cycles and traceability.
Bug tracking and test management: issues, test cases, sprints, runs, requirements and KB.
QA platform for agents: coverage signals, in-repo test plans, verified tests and release governance.
Free test management over MCP: projects, test cases, plans, runs, environments and tasks.
Related MCP Servers
- AlicenseBqualityBmaintenanceIntegrates with Zebrunner Test Case Management to help QA teams manage test cases, test suites, and test execution data through AI assistants. Features intelligent validation, automated test code generation, and comprehensive reporting capabilities.49334 npm5AGPL 3.0

squish-mcpofficial
FlicenseAqualityFmaintenanceEnables AI agents to run and create Squish test scripts and test suites and analyze the results.1913-- AlicenseNot gradedqualityCmaintenanceIntegrates Qlane test management into AI coding editors, enabling agents to view projects, test targets, and test case counts, and plan tests for local diffs.MIT
- AlicenseAqualityBmaintenanceProvides coding agents with visibility into test health through tools for flaky test detection, test quality linting, and LLM evaluation harness, enabling them to triage failures, review test quality, and check prompt changes for regressions.9Apache 2.0