经 AI Skill Hub 精选评估,最新视觉回归测试 获评「强烈推荐」。这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。
最新视觉回归测试 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
最新视觉回归测试 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/las-team/lastest
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"--------": {
"command": "npx",
"args": ["-y", "lastest"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 最新视觉回归测试 执行以下任务... Claude: [自动调用 最新视觉回归测试 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"________": {
"command": "npx",
"args": ["-y", "lastest"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="center"> <img src="./docs/logo-lockup.svg" alt="Lastest" width="420" /> </p> <p align="center"> <strong>Free, open-source visual regression testing with AI-generated tests</strong> </p> <p align="center"> Record it. Test it. Ship it. </p>
<p align="center"> <a href="https://lastest.cloud">Website</a> • <a href="https://github.com/las-team/lastest/wiki">Wiki</a> • <a href="#features">Features</a> • <a href="#quick-start">Quick Start</a> • <a href="#how-it-works">How It Works</a> • <a href="#why-lastest">Why Lastest</a> • <a href="#comparison">Comparison</a> • <a href="#commands">Commands</a> • <a href="#environment-variables">Config</a> </p>
<p align="center"> <img src="https://img.shields.io/badge/license-FSL--1.1--ALv2-blue.svg" alt="License" /> <img src="https://img.shields.io/badge/self--hosted-yes-green" alt="Self Hosted" /> <a href="https://lastest.cloud"><img src="https://img.shields.io/badge/website-lastest.cloud-0a84ff" alt="lastest.cloud" /></a> </p>
---
<p align="center"> <img src="./docs/lastest-intro.gif" alt="Lastest Demo — Record, Test, Diff, Approve" width="720" /> </p>
The dev app runs on the host while EB pods are dynamically provisioned into a local k3d cluster — one EB per test. Without pnpm stack running, no test can execute or record.
pnpm stack # create k3d cluster, build + import the EB image
pnpm stack:status # cluster + EB jobs + host /api/health
pnpm stack:logs # tail EB pod logs
pnpm stack:refresh # rebuild the EB image after editing packages/embedded-browser
pnpm stack:stop # delete the cluster
The .env.local keys the EB stack requires (already added by the Quick Start block above):
EB_PROVISIONER=kubernetes
EB_NAMESPACE=lastest
EB_IMAGE=lastest-embedded-browser:latest
LASTEST_URL=http://host.k3d.internal:3000
SYSTEM_EB_TOKEN=<openssl rand -hex 32>
DATABASE_URL=postgresql://lastest:lastest@localhost:5432/lastest
Note on defaults:EB_PROVISIONERdefaults to'none'in code, so omitting it letspnpm devstart cleanly but every test will silently fail to provision an EB. Always set it for any environment that runs tests.
See k8s/ and scripts/k3d-*.sh for the manifests and bootstrap scripts.
k3d ≥ 5.6, kubectl, openssl (the EB stack — no local-Playwright fallback)---
Tests are recorded or generated once, then stored as code. Every subsequent run re-executes the same code, captures new screenshots, and diffs them against approved baselines.
Create tests (one-time) Run tests (forever)
┌──────────────────────┐ ┌──────────────────────┐
│ Manual recording │ │ Execute Playwright │
│ — or — │ ────▶ │ Capture screenshots │
│ AI generation │ save │ Diff against baseline │
│ — or — │ │ Review changes │
│ Play Agent autonomy │ │ Approve/reject │
└──────────────────────┘ └──────────────────────┘
AI may be used here No AI needed here
---
In-depth docs for every integration live on the Lastest Wiki. The README keeps things at a glance — click through for flags, payloads, and CI examples.
| Guide | What it covers | Wiki |
|---|---|---|
| **CLI Test Runner (CI/CD)** | pnpm test:visual --repo-id <id> for GitHub Actions / other pipelines; auto-captures GITHUB_HEAD_REF / GITHUB_REF_NAME / GITHUB_SHA | [CI/CD Integration](https://github.com/las-team/lastest/wiki/CI-CD-Integration) |
| **GitHub Action** | Reusable composite action las-team/lastest/action@main — zero local Playwright, runs on your Lastest server via a remote runner; outputs status + build URL + counts | [CI/CD Integration](https://github.com/las-team/lastest/wiki/CI-CD-Integration) · [GitHub Integration](https://github.com/las-team/lastest/wiki/GitHub-Integration) |
| **Smart Run** | Diff-based test selection — only tests affected by changed files run, comparing the feature branch against the default branch via GitHub/GitLab API | [Running Tests](https://github.com/las-team/lastest/wiki/Running-Tests) |
| **Self-Hosted Deployment** | pnpm deploy:zima (ZimaBoard / CasaOS via docker compose) and pnpm deploy:olares (Olares via kubectl); shared multi-stage Dockerfile, GET /api/health. Required env: POSTGRES_PASSWORD, BETTER_AUTH_SECRET, SYSTEM_EB_TOKEN | [Docker Deployment](https://github.com/las-team/lastest/wiki/Docker-Deployment) |
| **Remote Runners** | @lastest/runner on npm — register in Settings → Runners, then lastest-runner start -t <token> -s <url>; supports run, record, parallel, daemon mode, system-info reporting | [Remote Runners](https://github.com/las-team/lastest/wiki/Remote-Runners) |
| **MCP Server** | npx @lastest/mcp-server --url <…> --api-key <…> exposes 50 tools (run/poll/list/heal/approve/reject/coverage/…) for Claude and other agents; structured JSON responses | [MCP Server](https://github.com/las-team/lastest/wiki/MCP-Server) |
| **Scheduled Runs** | Cron-based automated builds with presets (daily 3am, weekly, hourly, every 15min) or custom expressions; auto-disable after 5 consecutive failures | [Scheduled Runs](https://github.com/las-team/lastest/wiki/Scheduled-Runs) |
| **Google Sheets Integration** | Spreadsheet-backed test data — per-team OAuth, multi-tab spreadsheets, custom header row, fixed ranges; surfaces values on the test Vars tab | [Google Sheets](https://github.com/las-team/lastest/wiki/Google-Sheets-Integration) |
| **Custom Webhooks** | POST build.completed payloads (status / counts / git refs / build URL) to any HTTP endpoint, with custom method + headers | [Custom Webhooks](https://github.com/las-team/lastest/wiki/Custom-Webhooks) |
| **VSCode Extension** | lastest-vscode — Test Explorer in the Activity Bar, run tests from the editor, live status bar, real-time WebSocket updates; powered by /api/v1/ REST + SSE | [VSCode Extension API](https://github.com/las-team/lastest/wiki/VSCode-Extension-API) |
| **API Tokens** | Long-lived Bearer tokens for programmatic access (CI runners, MCP server, REST clients) | [API Tokens](https://github.com/las-team/lastest/wiki/API-Tokens) |
| **Bug Reports** | In-app reporting with auto-captured browser/network/console context, optional GitHub-issue creation | [Bug Reports](https://github.com/las-team/lastest/wiki/Bug-Reports) |
| **Agent Monitoring** | Real-time SSE activity feed tracking Play Agent sessions step-by-step | [Agent Monitoring](https://github.com/las-team/lastest/wiki/Agent-Monitoring) |
| **Gamification** | "Beat the Bot" — scoring, seasons, leaderboards, Bug Blitz multiplier events | [Gamification](https://github.com/las-team/lastest/wiki/Gamification) |
| **Test Migration** | Cross-instance export / import of tests, areas, and configs via REST API or in-app UI | [Test Migration](https://github.com/las-team/lastest/wiki/Test-Migration) |
---
All configuration lives under a unified Settings page. Per-section deep dives live on the Settings Reference wiki — the table below is the quick map.
| Section | Description | Wiki |
|---|---|---|
| **GitHub** | Connect account, select repositories, manage PR-comment + issue-creation hooks | [GitHub Integration](https://github.com/las-team/lastest/wiki/GitHub-Integration) |
| **GitLab** | Connect account (supports self-hosted instances), MR comments, webhooks | [GitLab Integration](https://github.com/las-team/lastest/wiki/GitLab-Integration) |
| **Google Sheets** | Connect Google Drive, manage data sources, surface vars on the test Vars tab | [Google Sheets](https://github.com/las-team/lastest/wiki/Google-Sheets-Integration) |
| **Playwright** | Browser type, viewport, headless/shell mode, selector priority, recording engine, animation freezing, screenshot delay, max parallel tests, headed playback for debugging | [Settings Reference](https://github.com/las-team/lastest/wiki/Settings-Reference) |
| **Stabilization** | Network idle, DOM stability, timestamp freezing, random seeding, third-party blocking, font loading, loading-indicator hiding, cross-OS consistency, burst capture, auto-mask dynamic content | [Stabilization](https://github.com/las-team/lastest/wiki/Stabilization-Features) |
| **Environment** | Server startup (manual vs auto-start), health check URLs, EB-mode toggles | [Environment Vars](https://github.com/las-team/lastest/wiki/Environment-Variables) |
| **Diff Sensitivity** | Diff engine selection (pixelmatch / SSIM / Butteraugli), text-region-aware diffing, DOM-diff fallback, pixel/percentage thresholds, page-shift detection, per-step ignore regions | [Visual Diffing](https://github.com/las-team/lastest/wiki/Visual-Diffing) |
| **AI** | Test-generation provider, diff-analysis provider, API keys, model, custom instructions, Ollama / OpenAI / Claude / OpenRouter support, MCP wiring for "Enhance with AI" | [AI Configuration](https://github.com/las-team/lastest/wiki/AI-Configuration) |
| **Notifications** | Slack, Discord, custom webhook config, auto-create GitHub issue from a visual diff | [Custom Webhooks](https://github.com/las-team/lastest/wiki/Custom-Webhooks) |
| **Branches** | Baseline and scanning branch selection, branch baseline fork/merge/promote | [Visual Diffing](https://github.com/las-team/lastest/wiki/Visual-Diffing) |
| **AI Logs** | Audit trail of all AI requests (last 50 entries) with cost + latency | [AI Configuration](https://github.com/las-team/lastest/wiki/AI-Configuration) |
| **Testing Templates** | One-click preset configurations for SaaS, Marketing, Canvas, E-commerce, Documentation, Mobile-First, SPA, CMS | [Testing Templates](https://github.com/las-team/lastest/wiki/Testing-Templates) |
| **Setup** | Default repository-wide multi-step setup scripts (Playwright and API types), with per-test overrides | [Settings Reference](https://github.com/las-team/lastest/wiki/Settings-Reference) |
| **Teardown** | Default repository-wide multi-step teardown scripts with per-test overrides | [Settings Reference](https://github.com/las-team/lastest/wiki/Settings-Reference) |
| **Schedules** | Cron-based automated test runs with presets and custom expressions | [Scheduled Runs](https://github.com/las-team/lastest/wiki/Scheduled-Runs) |
| **Vars** | Test-data variables — static, AI-generated (with presets), and Google Sheets-backed | [Google Sheets](https://github.com/las-team/lastest/wiki/Google-Sheets-Integration) |
| **API Tokens** | Long-lived Bearer tokens for programmatic + MCP access | [API Tokens](https://github.com/las-team/lastest/wiki/API-Tokens) |
| **Account** | Email preferences, unsubscribe, GDPR / self-serve account deletion | — |
| **Users** | Team member management, invitations (admin only) | [Getting Started](https://github.com/las-team/lastest/wiki/Getting-Started) |
| **Runners** | Remote runner registration and management (admin only) | [Remote Runners](https://github.com/las-team/lastest/wiki/Remote-Runners) |
---
```bash
RESEND_API_KEY= EMAIL_FROM=
| Capability | Lastest | Percy | Applitools | Chromatic | Argos | Meticulous | Playwright |
|---|---|---|---|---|---|---|---|
| **Price** | **Free self-hosted / hosted plans** | Paid | Paid | Paid | Paid | Paid | Free |
| **Screenshot volume (self-hosted)** | **Unlimited** | Limited | OSS only | Limited | Limited | None | Unlimited |
| **Self-hosted** | **Yes** | No | Enterprise | No | OSS core | No | Yes |
| **Open source** | **FSL-1.1-ALv2** | SDKs only | SDKs only | Storybook | MIT core | No | Apache-2.0 |
| **No-code recording** | **Yes** | No | Low-code | No | No | Session | Codegen |
| **AI test generation** | **Yes** | No | NLP | No | No | Session-based | No |
| **AI auto-fix tests** | **Yes** | No | No | No | No | Auto-maintain | No |
| **Autonomous agent** | **Yes (Play Agent)** | No | No | No | No | No | No |
| **AI diff analysis** | **Yes** | AI Review Agent | Visual AI | No | No | Deterministic | No |
| **Multi-engine diffing** | **3 engines** | No | Visual AI | No | No | No | No |
| **Text-region-aware diffing** | **Yes** | No | No | No | No | No | No |
| **Spec-driven test gen** | **Yes** | No | No | No | No | No | No |
| **Approval workflow** | **Yes** | Yes | Yes | Yes | Yes | PR-based | No |
| **Accessibility** | **axe-core** | No | No | Enterprise | ARIA snaps | No | No |
| **Route discovery** | **Yes** | No | No | No | No | No | No |
| **Multi-tenancy** | **Yes** | Projects | Enterprise | Projects | Teams | Projects | No |
| **Figma integration** | **Yes** | No | Yes | No | No | No | No |
| **Google Sheets data** | **Yes** | No | No | No | No | No | No |
| **Debug mode** | **Yes** | No | No | No | Traces | No | Trace |
| **Remote runners** | **Yes (npm package)** | Cloud | Cloud | Cloud | Cloud | Cloud | No |
| **Embedded browser** | **Yes (container + live stream)** | No | No | No | No | No | No |
| **Local AI (Ollama)** | **Yes** | No | No | No | No | No | No |
| **Cross-OS consistency** | **12 stabilization features** | No | No | No | Stabilization engine | No | No |
| **GitHub Action** | **Yes** | Cloud-only | Cloud-only | Cloud-only | Cloud-only | Cloud-only | No |
| **GitLab integration** | **Yes (self-hosted)** | Yes | Yes | No | No | No | No |
| **Test composition** | **Yes** | No | No | No | No | No | No |
| **Testing templates** | **8 presets** | No | No | No | No | No | No |
| **Setup/teardown orchestration** | **Yes** | No | No | No | No | No | No |
| **Branch baseline management** | **Yes** | Yes | Yes | Yes | No | No | No |
| **Scheduled test runs** | **Yes (cron)** | Cloud | Cloud | Cloud | Cloud | Cloud | No |
| **MCP server (AI agent API)** | **Yes (50 tools)** | No | No | No | No | No | No |
| **WCAG compliance scoring** | **Yes (0–100)** | No | No | No | No | No | No |
| **AI failure triage** | **Yes** | No | No | No | No | No | No |
| **Assertion tracking** | **Yes** | No | No | No | No | No | No |
| **Agent monitoring** | **Yes (real-time SSE)** | No | No | No | No | No | No |
| **In-app bug reports** | **Yes (auto-context)** | No | No | No | No | No | No |
| **Gamification** | **Yes (leaderboard + achievements)** | No | No | No | No | No | No |
| **Cross-instance migration** | **Yes (API export/import)** | No | No | No | No | No | No |
| **API tokens** | **Yes (long-lived Bearer)** | Cloud | Cloud | Cloud | Cloud | Cloud | No |
高质量的开源MCP工具,实现视觉回归测试
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
AI Skill Hub 点评:最新视觉回归测试 的核心功能完整,质量优秀。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | lastest |
| Topics | ai-testingmcptypescript |
| GitHub | https://github.com/las-team/lastest |
| License | NOASSERTION |
| 语言 | TypeScript |
收录时间:2026-06-01 · 更新时间:2026-06-01 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端