经 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)---
pnpm ocr:up # docker compose up -d --build ocr (set OCR_SERVICE_URL) pnpm ocr:down
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, triggers a build on your Lastest server (executed in the EB pool); 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) |
| **CI Trigger CLI** | @lastest/runner on npm — lastest-runner trigger -r <repo> -t <token> -s <url> creates a build and polls for results (no local browser); execution runs server-side in the Embedded Browser pool | [CI Trigger CLI](https://github.com/las-team/lastest/wiki/CI-Trigger-CLI) |
| **MCP Server** | npx @lastest/mcp-server --url <…> --api-key <…> exposes 29 consolidated tools (run/verify/heal/approve/decide-diff/suggest-app-fix/publish-share/coverage/…) for Claude and other agents; structured JSON responses | [MCP Server](https://github.com/las-team/lastest/wiki/MCP-Server) |
| **Remote MCP / WebMCP** | /api/mcp over OAuth 2.1 (dynamic client registration, PKCE, read/write/full tool policy) for agent platforms; document.modelContext tools for in-browser agents, behind a consent dialog and a team toggle | [MCP Server](https://github.com/las-team/lastest/wiki/MCP-Server) |
| **Environments & Connectors** | PROD / UAT / prerelease environments with per-environment variables and baselines; Veeva Vault and Salesforce connectors bound to an environment and a credential set | [Settings Reference](https://github.com/las-team/lastest/wiki/Settings-Reference) |
| **QA Agent** | Eight-phase autonomous suite builder — preflight, discovery (static route scan + live EB crawl), plan, human plan review, generate, run, heal, summary | [Agent Monitoring](https://github.com/las-team/lastest/wiki/Agent-Monitoring) |
| **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) |
| 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 |
| **CI trigger CLI** | **Yes (@lastest/runner)** | Cloud | Cloud | Cloud | Cloud | Cloud | No |
| **Embedded browser execution** | **Yes (container + live stream)** | No | No | No | No | No | No |
| **Headless API testing** | **Yes** | No | No | No | No | No | No |
| **Public share links** | **Yes (watermarked /r/)** | No | No | No | No | No | No |
| **AI app-code fix advisor** | **Yes** | 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 (29 tools)** | No | No | No | No | No | No |
| **Remote MCP with OAuth 2.1** | **Yes (DCR + scoped tools)** | No | No | No | No | No | No |
| **WebMCP (browser agent tools)** | **Yes** | No | No | No | No | No | No |
| **App map / swarm crawler** | **Yes (multi-EB)** | No | No | No | No | Crawler | No |
| **Environments (PROD/UAT)** | **Yes (per-env baselines)** | No | Enterprise | No | No | No | No |
| **Per-repo secret store** | **Yes (encrypted)** | Cloud | Cloud | Cloud | Cloud | Cloud | 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 |
Lastest 是一个免费、开源的可视化回归测试工具,集成了 AI 生成测试的功能。它旨在帮助开发者记录、测试和部署应用程序。
Lastest 的主要功能包括可视化回归测试、AI 生成测试、记录测试、测试和部署应用程序等。
Lastest 需要以下环境依赖和系统要求:Docker 20+、Compose v2、Node.js 18+、pnpm 10.x、k3d ≥ 5.6、kubectl 和 openssl。
Lastest 的安装步骤包括创建 k3d 集群、构建和导入 EB 镜像、运行 pnpm stack 等。
Lastest 的使用教程包括快速启动、技术指南、CLI 测试运行器(CI/CD)等。
Lastest 的配置说明包括 GitHub、GitLab、Google OAuth 和 Google Sheets 等集成。
Lastest 的工作流和模块说明包括 GitHub、GitLab、Google OAuth 和 Google Sheets 等集成,以及 CI/CD 流程等。
高质量的开源MCP工具,实现视觉回归测试
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
AI Skill Hub 点评:最新视觉回归测试 的核心功能完整,质量优秀。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | lastest |
| 原始描述 | 开源MCP工具:Lastest Visual Regression Testing - Cloud/Self-hosted version。⭐8 · TypeScript |
| 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 类型,复制安装指令后粘贴到对应客户端