
Company News
AWS Security Hub Adds Socket for Supply Chain Security
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.
@testivai/mcp
Advanced tools
MCP server exposing TestivAI visual regression results to AI coding agents
MCP (Model Context Protocol) server that gives AI coding agents eyes on your visual regression results. The agent changes UI code, runs your test suite, then uses these tools to find out what actually changed on screen — and whether it's real or just render noise.
| Tool | What it does |
|---|---|
get_visual_results | Reads visual-report/results.json, returns a per-snapshot verdict: passed / likely render noise (DOM identical) / real structural change (with DOM summary) |
get_snapshot_diff | Returns the baseline, current, and diff images for one snapshot, so the agent can see the change |
list_baselines | Lists the committed baselines under .testivai/baselines/ |
By design there is no approve tool: promoting a baseline is a human
decision. The verdicts tell the agent to suggest /testivai approve <name>
on the PR instead.
claude mcp add testivai -- npx -y @testivai/mcp
// .cursor/mcp.json (or your client's equivalent)
{
"mcpServers": {
"testivai": { "command": "npx", "args": ["-y", "@testivai/mcp"] }
}
}
The server reads the project from its working directory (pass --root <path>
to override) and respects reportDir from .testivai/config.json.
npx playwright test (the TestivAI reporter captures + diffs).get_visual_results → sees homepage: changed (4.2%) and the DOM changed (2 added, 1 removed).get_snapshot_diff homepage → looks at the images, confirms
the change matches the task (or fixes its own regression)./testivai approve.Local mode only — no account, no API key, nothing leaves the machine.
Full integration guide (instructions-file level, MCP level, zero-test-suite apps, real transcript): docs/guides/ai-agents.md
FAQs
MCP server exposing TestivAI visual regression results to AI coding agents
The npm package @testivai/mcp receives a total of 1,482 weekly downloads. As such, @testivai/mcp popularity was classified as popular.
We found that @testivai/mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.