npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@lastest/mcp-server

v0.3.3

Published

MCP server for Lastest visual regression testing platform — lets AI agents run tests, review diffs, and manage baselines

Downloads

401

Readme

@lastest/mcp-server

npm version npm downloads License GitHub stars

MCP server for Claude Code, Cursor, Windsurf, Cline, and Claude Desktop. Lets AI agents run visual regression tests, review screenshot diffs, and approve baselines on a Lastest instance through the Model Context Protocol.

Quick start

npx -y @lastest/mcp-server@latest --url https://your-lastest-instance --api-key YOUR_API_KEY

Generate an API key in the Lastest UI: Settings → Runners & API Access → Create API Key (shown only once). The server speaks MCP over stdio — wire it into any compatible client below.

Compatible clients

| Client | Status | Install method | |--------|--------|----------------| | Claude Code | Verified | claude mcp add (see below) | | Claude Desktop | Verified | claude_desktop_config.json | | Cursor | Verified | ~/.cursor/mcp.json | | Windsurf | Verified | MCP config (generic JSON) | | Cline | Verified | MCP config (generic JSON) |

Any MCP-compliant client that can launch a stdio server with arguments works.

Install — Claude Code

claude mcp add lastest -- npx -y @lastest/mcp-server@latest \
  --url https://your-lastest-instance \
  --api-key YOUR_API_KEY

Verify with claude mcp list.

Install — Claude Desktop / Cursor / Windsurf / Cline

Add to claude_desktop_config.json, ~/.cursor/mcp.json, or your client's MCP config:

{
  "mcpServers": {
    "lastest": {
      "command": "npx",
      "args": [
        "-y",
        "@lastest/mcp-server@latest",
        "--url",
        "https://your-lastest-instance",
        "--api-key",
        "YOUR_API_KEY"
      ]
    }
  }
}

Restart the client.

What an agent can do

  • List repositories, tests, functional areas, builds, and active jobs
  • Create AI-authored tests from a URL or natural-language prompt
  • Update or delete tests and functional areas
  • Trigger test runs and read run results
  • Inspect visual diffs and approve / reject baselines individually or in bulk
  • Heal failing tests with AI based on the latest run
  • Pull QA summaries, build review reports, and coverage stats

Tools exposed

The server registers 33 MCP tools (all prefixed lastest_). Every tool returns a structured { status, summary, actionRequired?, details } payload.

| Category | Tools | |----------|-------| | Health & jobs | lastest_health_check, lastest_list_active_jobs, lastest_get_job_status | | Repositories | lastest_list_repos, lastest_get_repo, lastest_create_repo, lastest_update_repo | | Functional areas | lastest_list_areas, lastest_create_area, lastest_update_area, lastest_delete_area, lastest_list_tests_by_area | | Tests | lastest_list_tests, lastest_list_failing_tests, lastest_get_test, lastest_create_test, lastest_update_test, lastest_delete_test, lastest_heal_test | | Runs & builds | lastest_run_tests, lastest_get_test_run, lastest_list_builds, lastest_get_build_status, lastest_review_build | | Diffs & baselines | lastest_get_diff, lastest_get_visual_diff, lastest_approve_diff, lastest_reject_diff, lastest_approve_all_diffs, lastest_approve_baseline, lastest_reject_baseline | | Coverage & QA | lastest_get_coverage, lastest_qa_summary |

CLI

lastest-mcp --url <url> --api-key <key>

Both flags are required. The process communicates with the host client over stdio.

Requirements: Node.js 18+ and a reachable Lastest instance.

Authentication

The server authenticates against Lastest's REST API (/api/v1/*) with a Bearer token. Manage and revoke keys from Settings → Runners & API Access in the Lastest UI.

Troubleshooting

| Symptom | Fix | |---------|-----| | Failed to connect to Lastest at … | Check the URL is reachable from this machine and that the API key is valid. | | Lastest API error 401 | Token revoked or expired — generate a new one in Settings. | | Tools don't appear in Claude Code | Run claude mcp list; if missing re-run claude mcp add. Restart the client. | | Tools don't appear in Cursor / Windsurf / Cline | Confirm the JSON config is valid and the client was fully restarted. |

Local development

git clone https://github.com/las-team/lastest
cd lastest/packages/mcp-server
pnpm install
pnpm dev -- --url http://localhost:3000 --api-key <key>

Used with

  • Lastest — visual regression testing platform with screenshot diffs and AI test authoring
  • @lastest/runner — self-hosted runner so AI-triggered tests execute on your infra
  • Model Context Protocol — open standard powering tool use in Claude, Cursor, Windsurf, and others

Links

  • Homepage: https://lastest.cloud
  • GitHub: https://github.com/las-team/lastest
  • Wiki: https://github.com/las-team/lastest/wiki/MCP-Server
  • Issues: https://github.com/las-team/lastest/issues
  • npm: https://www.npmjs.com/package/@lastest/mcp-server

License

FSL-1.1-ALv2 — see LICENSE.