Squally MCP Server
Query Playwright test analytics from AI assistants: flaky tests, failures, CI time lost to retries.
Squally scores 66 (Good), licensed MIT and written in JavaScript. It installs as a local process. It declares 2 tools. Filed under Browser automation. GitHub shows 0 stars. Package registries report about 535 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
81/100 for listing completeness. Lost points: 1 of 2 tools barely described, short summary.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 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.
{ "mcpServers": { "squallydev-admin-squally-mcp": { "command": "npx", "args": [ "-y", "squally-mcp@0.11.1" ], "env": { "SQUALLY_API_KEY": "YOUR_SQUALLY_API_KEY", "SQUALLY_API_URL": "", "SQUALLY_USE_SYSTEM_CA": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
SQUALLY_API_KEYSecret | Required | Organization read key (sqly_ro_...), created in Squally under Organization > Read keys. Not the project ingest key. |
SQUALLY_API_URL | Optional | Base URL of the Squally API. Defaults to https://app.squally.dev. |
SQUALLY_USE_SYSTEM_CA | Optional | Set to 0 to use only Node's bundled certificates instead of also trusting the operating system's certificate store. |
Tools2Tool docs quality grade D
All capabilitiesfailureRatetoolfailed runs ÷ runs.
flakyRatetoolruns that passed only after a retry ÷ runs;
About
squally-mcp
A local MCP server that lets a coding agent read your Squally data: which runs happened, how stable each test is, and why a particular test failed.
It runs on your machine over stdio and talks to Squally's read API over HTTPS.
Point Claude Code, Codex, Cursor or Claude Desktop at it and ask "why is
checkout.spec.ts failing on main?".
Read-only, and structurally so
The server issues HTTP GETs and nothing else. There is no code path that
writes, and every tool is annotated readOnlyHint: true, so a client can run
them without asking you to confirm each one.
It also cannot reach past your own organization: the key is scoped to one organization, and scoping, plan checks and secret exclusion are all enforced by the API, not by this client.
What an agent can see
Worth knowing before you hand a key to an assistant. Through this server an agent can read:
- your projects and their names;
- your runs, CI and local — commit SHA and message, branch, author, pull request, job key, a link to the CI run, timing, pass/fail counts;
- per-test results for a run, including which shard ran what;
- for a failing attempt: the error message and stack, the code snippet — verbatim source code from your test file — and the full-context prompt (the text Squally's Fix panel copies under Fix in your agent, Without MCP), which carries the same snippet plus an ARIA snapshot of your application at the moment of failure (whatever was on screen, truncated to 3000 characters);
- per-test metrics: how often each test passed on the first try, passed only after a retry, or failed, and how much time retries and failures cost;
- error signatures: failures grouped across runs and branches.
It cannot see screenshots, videos or traces — artifacts are deliberately out of scope — and it cannot see any key, secret or webhook URL.
The key reaches every project in the organization. Create one per machine so a single revocation does not lock out everything, and revoke it under Organization › Read keys when the machine is retired.
Setup
You need an organization read key (sqly_ro_…): Squally → Organization ›
Read keys → Create read key. It is shown once. It is not the same thing as the
project ingest key your Playwright reporter uses — this server refuses that one
by name.
Requires Node 22 or newer. Read keys are available from the Standard plan.
Claude Code
claude mcp add squally --scope user \
--env SQUALLY_API_KEY=sqly_ro_your_key_here \
-- npx -y squally-mcp
Codex
~/.codex/config.toml:
[mcp_servers.squally]
command = "npx"
args = ["-y", "squally-mcp"]
env = { SQUALLY_API_KEY = "sqly_ro_your_key_here" }
Cursor
~/.cursor/mcp.json (or .cursor/mcp.json in a project):
{
"mcpServers": {
"squally": {
"command": "npx",
"args": ["-y", "squally-mcp"],
"env": { "SQUALLY_API_KEY": "sqly_ro_your_key_here" }
}
}
}
Claude Desktop
claude_desktop_config.json — macOS:
~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\ — then
restart the app:
{
"mcpServers": {
"squally": {
"command": "npx",
"args": ["-y", "squally-mcp"],
"env": { "SQUALLY_API_KEY": "sqly_ro_your_key_here" }
}
}
}
Environment
| Variable | Required | Meaning |
|---|---|---|
SQUALLY_API_KEY | yes | Organization read key, sqly_ro_…. Missing or an ingest key by mistake, and the server exits with one line saying so. |
SQUALLY_API_URL | no | Base URL, default https://app.squally.dev. A trailing / or /api/v1 is tolerated. Useful against a local Squally: http://localhost:3000. |
SQUALLY_USE_SYSTEM_CA | no | 0 keeps Node's bundled certificates only. |
squally-mcp trusts your operating system's certificate store, like your browser does; set SQUALLY_USE_SYSTEM_CA=0 to use Node's bundled certificates only.
Troubleshooting
Claude Desktop
- The server does not start in time. The first start through
npxdownloads the package, which can take longer than Claude Desktop's 60-second start-up limit. Install it once beforehand withnpm install -g squally-mcp;npx -y squally-mcpthen runs that copy without a download. Update it with the same command. - Where the log is. The Microsoft Store build of Claude Desktop writes it to
%LOCALAPPDATA%\Claude\logs\mcp-server-squally.log. Its first lines say which Node runs the server and whether it trusts the system's certificate store; a request that never arrives is logged there with its cause. - Edit the config only while the app is closed. Quit Claude Desktop
completely, including from the system tray, before changing
claude_desktop_config.json.
The tools
| Tool | What it answers | Cost |
|---|---|---|
squally-list-projects | Which projects exist. Start here — every other tool needs a projectId from it. | cheap |
squally-find-run | Which runs happened — latest, or by branch, commit SHA, status or source. Counters only. | cheap |
squally-get-run | One run with its per-test rows, across all shards. Which test is red. | cheap |
squally-debug-failure | Every attempt of one test in one run: error, stack, full-context prompt. | cheap |
squally-get-test-metrics | One test's stability, flaky rate and failure rate over a period, across its Playwright projects. | cheap — one test |
squally-list-tests | Every test with a run in the period, once across its Playwright projects, ranked by stability, flaky rate or failures. | cheap — two queries, paged |
squally-list-errors | Error signatures in a period: what keeps failing, grouped, and how its runs ended. | cheap |
For a single test use squally-get-test-metrics, not squally-list-tests —
the tool descriptions say so, and the server repeats it in its instructions.
Runs
squally-find-run lists every run, CI and local alike; source (all by
default, ci or local) narrows it, and each run says whether it was
local. A run's status is the dashboard's word: passed, failed,
cancelled, incomplete (a shard timed out, was stopped by the monthly
result limit or never reported) or running - and ?status= filters by
any of them. A cancelled run is cancelled; cancellation says how, when
and by whom. A sharded run is one row, its counters over all its shards with
every test once, and the tests a cancel cut off count nowhere.
Each run also says whether it is settled - final and counted; an
incomplete run that is not settled still waits for a shard within the run
timeout - and, from squally-reporter 0.11.0, which job of its CI run it is
(jobKey, from SQUALLY_CI_JOB_KEY; each job is its own run), which
attempt, which run it re-ran (rerunOf) and where the CI run is
(ciRunUrl; for GitHub Actions also for older reporters when the project
has one linked repository).
Playwright projects
A run counts like Playwright: squally-find-run, squally-get-run and
squally-debug-failure have one result per test and Playwright project, named
with its project (chromium > cart.spec.ts > adds). What is collected across
runs — squally-list-tests, squally-get-test-metrics and
squally-list-errors — counts a test once across its Playwright projects,
by its name without the project (cart.spec.ts > adds), and names the
projects in projects: a run failed for the test when it failed in any
project, and passed only after a retry when it did so in some project and
failed in none. variants carries each project's own numbers. Since 0.9.0
(read API 1.0.0-beta.19); before, each project's variant was its own test.
squally-list-tests takes project as a list (["chromium", "firefox"]) to
count only those projects. squally-get-test-metrics takes the name without
the project for every project; project, or the stored name with its project,
gives one project's variant. squally-debug-failure takes the name
squally-get-run lists, project included.
Flaky is a count, not a run status: a run's status is passed, failed,
cancelled, incomplete or running, and its counts.flaky says how many
tests passed only after a retry.
What the numbers mean
The two test tools count finished runs, CI and local, in the period (7, 14, 30 or 90
days; 30 by default), on every branch unless you name one. A run finishes when
all its shards have - or, once the run timeout has passed, with the results its
shards reported, like a cancelled run; a shard stopped by the monthly result
limit counts like one that timed out. A sharded run counts once, placed in the period
by its first shard's start; a run that was a mass failure as a whole is left
out. source is all (the default since read API 1.0.0-beta.18; ci
before), ci or local - send source=ci for CI runs only - and the
response's population names which runs it counted. Per test:
- stability — runs that passed on the first try ÷ runs;
- flakyRate — runs that passed only after a retry ÷ runs;
- failureRate — failed runs ÷ runs.
Each is a fraction from 0 to 1, and null when the test has no run in the
period. There is no verdict: nothing calls a test flaky, broken or
healthy. The tools return the numbers; the agent — or you — judges them.
Example: squally-list-tests
{ "projectId": "3f7c2a91-5b8e-4d0a-9c61-2e4b7f0d8a15", "perPage": 3 }
The three least stable tests of the last 30 days (abridged):
{
"population": "ci_groups_finished_not_mass_failure",
"days": 30,
"sort": "stability",
"total": 205,
"items": [
{
"testName": "checkout.spec.ts > Checkout > applies a coupon code",
"filePath": "tests/checkout.spec.ts",
"projects": ["chromium", "firefox"],
"runs": 8,
"stability": 0.5,
"flakyRate": 0.5,
"failureRate": 0,
"timeLostMs": 7361,
"medianDurationMs": 1840,
"topBranch": { "branch": "main", "kind": "retries", "count": 3 },
"variants": [
{ "testName": "chromium > checkout.spec.ts > Checkout > applies a coupon code", "project": "chromium", "runs": 8, "flakyRuns": 4 },
{ "testName": "firefox > checkout.spec.ts > Checkout > applies a coupon code", "project": "firefox", "runs": 8, "flakyRuns": 0 }
]
}
]
}
Example: squally-get-test-metrics
{
"projectId": "3f7c2a91-5b8e-4d0a-9c61-2e4b7f0d8a15",
"testName": "checkout.spec.ts > Checkout > applies a coupon code"
}
The same numbers as that test's row, for one test across its projects
(abridged); add "project": "firefox" for firefox's variant alone:
{
"days": 30,
"branch": null,
"projectFilter": null,
"projects": ["chromium", "firefox"],
"runs": 8,
"stableRuns": 4,
"flakyRuns": 4,
"failedRuns": 0,
"stability": 0.5,
"flakyRate": 0.5,
"failureRate": 0,
"branches": ["feature/saved-carts", "main"]
}
Pass the name exactly as Squally shows it — without the project for the test
across projects, with it for one project. When it exists in several spec
files, the tool answers with the filePath values to retry with; a test with
results but no counted run in the period answers runs: 0 and null
rates — an answer, not an error.
Development
npm install
npm run build # tsc, then copy the vendored OpenAPI document into dist/
npm test # builds, then runs the suite
npm run vendor:openapi # re-fetch the API document; review the diff, then re-pin
The tool schemas are derived from Squally's published OpenAPI document,
vendored at src/openapi/v1.json — an input schema is the operation's
parameters, an output schema is its 200 response. Nothing is transcribed by
hand, so the two cannot drift. test/drift.test.js compares the vendored copy
against the live document and fails when an operation or parameter has moved;
it skips loudly when offline, and while the live API is still an older version
than the vendored one — a release that has not been deployed yet.
Releasing
Publishing is staged: CI uploads the tarball, a maintainer approves it, and
only then is the version installable. npm stage publish never asks for 2FA,
which is what makes it usable from a workflow; the 2FA prompt moves to the
approval step, so a compromised workflow can stage a version but cannot put one
in front of users. Direct npm publish is not permitted for this package's
trusted publisher, so this is the only route.
0.1.0 is the exception. It was published by hand with
npm publishbefore the trusted publisher existed, so it carries no provenance attestation. Every version from 0.1.1 on goes through the steps below.
-
Bump and tag. The lockfile belongs to the release commit, so let
npm versionwrite both and commit them together:npm install # only if package.json changed by hand npm version patch # or minor / major - writes package.json + lockfile, makes the tag git push --follow-tags -
The tag starts the workflow.
.github/workflows/publish.ymlruns onv*: it tests, checks that the tag andpackage.jsonagree, and runsnpm stage publish --provenance --access publicthrough npm's trusted publishing (OIDC) — no npm token in GitHub secrets.
--provenanceattaches a signed statement linking the tarball to that workflow run and commit. -
Approve the staged version. On npmjs.com/package/squally-mcp → Staged Packages → Approve, which asks for 2FA. Or from a terminal:
npm stage list squally-mcp npm stage view <stage-id> # what is in the tarball npm stage approve <stage-id> # also asks for 2FA npm stage reject <stage-id> # if something is wrongUntil this step the version exists in the registry but installs nothing.
Requirements for step 3 on your machine: npm 11.15.0 or later and Node
22.14.0 or higher (npm docs).
Node 22 still bundles npm 10.9.9, so check npm --version rather than assuming
your Node version brought a new enough npm. The workflow uses Node 24 for the
same reason and fails with that requirement if a runner ever ships an older npm.
License
MIT
Frequently asked questions
What is Squally MCP Server?
Query Playwright test analytics from AI assistants: flaky tests, failures, CI time lost to retries.
How do I install Squally 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. Squally MCP Server runs locally from the npm package squally-mcp with the command npx -y squally-mcp@0.11.1.
Is Squally MCP Server free and open source?
Yes. Squally 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 Squally MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Squally MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Squally MCP Server provide?
Squally MCP Server provides 2 tools: failureRate and flakyRate. See the full tool list for descriptions and parameters.
How is Squally MCP Server's trust score calculated?
Squally MCP Server scores 66 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
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.