TestivAI
Local visual-regression review for AI coding agents, with no API key
TestivAI is a free MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Pricing
- Free
- Platforms
- CLI, Self-hosted
- Runs
- Locally
- What it can do
- Can change data (2 tools)
- Version
- 0.9.5
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add mcp -- npx -y @testivai/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@testivai/mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@testivai/mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@testivai/mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@testivai/mcp"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add mcp -- npx -y @testivai/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "@testivai/mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@testivai/mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mcp": { "command": "npx", "args": [ "-y", "@testivai/mcp" ] } } }Or run: gemini mcp add -s user mcp npx -- -y @testivai/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mcp": { "command": "npx", "args": [ "-y", "@testivai/mcp" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mcp": { "command": "npx", "args": [ "-y", "@testivai/mcp" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mcp": { "command": "npx", "args": [ "-y", "@testivai/mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mcp": { "command": "npx", "args": [ "-y", "@testivai/mcp" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mcp": { "command": "npx", "args": [ "-y", "@testivai/mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mcp": { "command": "npx", "args": [ "-y", "@testivai/mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mcp": { "command": "npx", "args": [ "-y", "@testivai/mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About TestivAI
After an agent edits UI code and runs a Playwright suite, this server reads the visual-report results and tells the agent what changed on screen. Each snapshot gets a one-line verdict such as passed, size changed, rendering drift, likely render noise, style-only change or structural change, so the agent can separate real changes from environment noise.
The verdicts combine pixel diffs with DOM and computed-style checks. Snapshots that share the same signal are grouped, and an unhealthy capture, for example a web font that failed to load, is called out before anything else. For one snapshot the agent can ask for layered evidence and for the baseline, current and diff images, with changed regions cropped at native scale.
Approval is deliberately a human step. The approve tools are meant to run only after a person confirms, and in Claude Code the client prompts on every approve call unless you turn that off. It runs in local mode only, reading the project from its working directory.
Tools this server provides (7)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 2 of 7 tools change data.
From the server's own tool labels and tool names; not verified by us.
- get_visual_resultsName suggests: reads
- Reads visual-report/results.json and returns a one-line verdict per snapshot.
- explain_snapshotName suggests: reads
- Layered evidence for one snapshot: pixel, element, DOM/style, environment and capture health.
- get_reportName suggests: reads
- Returns the raw results.json payload.
- get_diffName suggests: reads
- Returns baseline, current and diff images for one snapshot.
- list_baselinesName suggests: reads
- Lists committed baselines under .testivai/baselines/.
- approve_snapshotName suggests: changes
- Promotes a reviewed capture to a committed baseline, after a human confirms.
- approve_allName suggests: changes
- Promotes all reviewed captures to baselines, after a human confirms.
What it does
- Per-snapshot verdicts
- Returns a one-line verdict for every snapshot and groups snapshots that share the same signal.
- Layered evidence
- Explains one snapshot with pixel regions, element attribution, DOM and style signals, capture environment and capture health.
- Diff images for the agent
- Returns baseline, current and diff images, cropping changed regions at native scale when the page is tall.
- Baseline management
- Lists committed baselines and promotes reviewed captures to baselines after a human confirms.
- Review prompts
- Ships review-visual-changes and triage-visual-diff prompts that walk the agent through a full review.
Good for
- Check whether a UI refactor changed what renders before opening a pull request
- Tell render noise from a real style change after a browser or OS update
- Have an agent triage every diff from a Playwright run
- Approve intended visual changes from the chat after reviewing them
Pricing
Free
Local mode needs no account or API key
TestivAI FAQ
Does TestivAI need an API key or account?
No. The README describes local mode only, with no account and no API key.
Can the agent approve baselines by itself?
The approve tools are meant for after a human says yes. Claude Code asks on every approve call unless you start the server with --no-approval-prompt or set mcpApprovalPrompt to false.
How do I add TestivAI to Claude Code?
Run claude mcp add testivai -- npx -y @testivai/mcp. Other clients use npx with the arguments -y and @testivai/mcp.
Where does TestivAI read results from?
From visual-report/results.json in the project directory, and committed baselines under .testivai/baselines/.
Is TestivAI free?
Yes. TestivAI is free to use.
What are the best alternatives to TestivAI?
The closest alternatives to TestivAI are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


