E2e Runner logo

E2e Runner

JSON-driven E2E test runner with parallel execution against a Chrome pool.

Install E2e Runner

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "e2e-runner": {
      "command": "npx",
      "args": [
        "-y",
        "-p",
        "@matware/e2e-runner",
        "e2e-runner-mcp"
      ]
    }
  }
}

Settings β†’ Developer β†’ Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passedβ€” started and listed 17 tools correctly (13d ago).

Overview

Tools17

What E2e Runner lets your agent do. Expand a tool for its parameters.

Verified live~3.9k tokens of context

Security & health

What it can reach and how reliably it runs β€” from our own checks, not the maintainer’s claims.

ActiveLast checked 3d ago

Recent health check succeeded.

11/11 checks healthy over the last 57d

What it can do

From the 17 tools this server returned when we ran it.

Makes network requests Β· 4Read-only tools Β· 17
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age259 days
Maintainers1

Observed 2026-10-26 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev Β· @matware/e2e-runner (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks β€” not a rating.

GitHub stars7Stargazers on the source repository.
npm downloads184Package downloads in the last 30 days.
Last commit5mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed17Callable tools this server registers over MCP.

From the project README

English Β· EspaΓ±ol

@matware/e2e-runner

The AI-native E2E test runner that writes, runs, and debugs tests for you.

npm version node version npm downloads Docker pulls GitHub stars license MCP compatible AI native OpenCode compatible Agent Skills


E2E Runner lets you test your web app without writing test code. Tests are plain JSON β€” and you don't even have to write that yourself: just ask Claude Code.

🎬 Write a test by asking β€” then watch it run

Live dashboard streaming screenshots as a test suite runs
The live dashboard while a suite runs β€” every step streams a screenshot into the feed, in real time.

With the built-in MCP server, creating a test is a conversation β€” no docs, no syntax to memorize:

You: Create an E2E test for the login flow and run it.

Claude Code: writes the test, runs it in a real browser, and reports back β€” βœ… login-flow passed in 2.3s Β· screenshot saved Β· no network errors.

Behind the scenes Claude just wrote and ran this. A test is just JSON β€” an ordered list of what a user does:

config.json
[
  { "name": "login-flow", "actions": [
    { "type": "goto", "value": "/login" },
    { "type": "type", "selector": "#email", "value": "user@test.com" },
    { "type": "type", "selector": "#password", "value": "secret" },
    { "type": "click", "text": "Sign In" },
    { "type": "assert_text", "text": "Welcome back" },
    { "type": "screenshot", "value": "logged-in.png" }
  ]}
]

No imports, no describe/it, no build step. If you can read it you can write it β€” or just ask.

Connect it to Claude Code (2 commands):

Terminal
claude plugin marketplace add fastslack/mtw-e2e-runner
claude plugin install e2e-runner@matware

Now say "create a test for X and run it" β€” Claude gets 17 MCP tools, slash commands, and specialized agents.

Using a different agent (Cursor, Codex, Copilot, 40+ more)? Install the skill: npx skills add fastslack/mtw-e2e-runner


πŸ“– Contents

SectionWhat's inside
πŸš€Install & first testnpm setup Β· run with your own Chrome (no Docker), Obscura, or a Docker pool
✨What you getfeature overview at a glance
✍️Writing teststest format · full action catalog · retries · serial · modules · auth · hooks
πŸ€–AI integrationClaude Code Β· OpenCode Β· 17 MCP tools Β· visual verification Β· issue-to-test
πŸ“ŠDashboard & insightslive dashboard Β· learning system Β· network logs Β· screenshot capture
🌐Browser driversbrowserless · cdp · lightpanda · obscura · steel
βš™οΈCLI, config & CIcommands Β· flags Β· e2e.config.js Β· GitHub Actions Β· programmatic API

πŸš€ Install β€” it's tiny

Terminal
npm install --save-dev @matware/e2e-runner
npx e2e-runner init        # scaffolds e2e/ with a sample test + config

Then pick how to run the browser. You don't need Docker unless you want the parallel pool:

Option 1 Β· Use the Chrome you already have β€” no Docker ⭐

Launch any Chromium browser with a debugging port, then point the runner at it:

bash
google-chrome --headless=new --remote-debugging-port=9222 &   # or brave / chromium / msedge
CHROME_POOL_URL=http://localhost:9222 POOL_DRIVER=cdp npx e2e-runner run --all

Or bake it into e2e.config.js so you never repeat it:

server.ts
export default {
  baseUrl: 'http://localhost:3000',     // your app β€” plain localhost, no docker hostname
  poolUrls: ['http://localhost:9222'],
  poolDriver: 'cdp',
};

Nothing to install beyond npm, and baseUrl is just localhost (the browser is on your machine).

Option 2 Β· Obscura β€” one tiny binary, no Docker

A single ~30 MB binary with built-in anti-detection. Install once, run it, point the runner at it:

bash
obscura serve --port 9222 --stealth &
CHROME_POOL_URL=http://localhost:9222 POOL_DRIVER=obscura npx e2e-runner run --all

npx e2e-runner pool start (with poolDriver: 'obscura' in your config) prints the exact install command for your OS.

Option 3 Β· Docker pool β€” parallel, for CI & big suites

A shared, queue-managed Chrome pool that runs many tests at once:

Terminal
npx e2e-runner run --all     # the first run auto-starts the Docker pool for you

Requires Docker. Set baseUrl: 'http://host.docker.internal:3000' so the containerized Chrome can reach your app.

Why host.docker.internal (Docker option only)?

With the Docker pool, Chrome runs inside a container, so localhost there means the container β€” not your machine. host.docker.internal bridges to your host. On Linux (Docker Engine, not Docker Desktop) add --add-host=host.docker.internal:host-gateway, or use your LAN IP. Options 1 & 2 don't have this β€” the browser is local, so plain localhost just works.

Write your first test

Open e2e/tests/sample.json β€” a flow is an ordered list of actions:

config.json
[
  { "name": "homepage loads", "actions": [
    { "type": "goto", "value": "/" },
    { "type": "assert_text", "text": "Welcome" },
    { "type": "screenshot", "value": "home.png" }
  ]}
]

Run it with npx e2e-runner run --all. Results β€” pass/fail, timing, screenshots, network errors β€” print to your terminal and to the web dashboard if it's open.

Add OpenCode (optional)
bash
cp node_modules/@matware/e2e-runner/opencode.json ./
mkdir -p .opencode && cp -r node_modules/@matware/e2e-runner/.opencode/* .opencode/

See OPENCODE.md for details.

Updating

Each install method updates separately β€” bump the one(s) you use:

bash
# npm dependency (per project)
npm install --save-dev @matware/e2e-runner@latest

# Claude Code plugin
claude plugin update e2e-runner@matware

# MCP-only install (npx caches the package β€” pin @latest to force a refresh)
claude mcp add --transport stdio --scope user e2e-runner \
  -- npx -y -p @matware/e2e-runner@latest e2e-runner-mcp

[!NOTE] Two gotchas: (1) npx prefers a copy found in the project's node_modules over its own cache β€” if a project pins an old version, the MCP server and dashboard run that old version, so update the project dependency too. (2) Already-running processes keep the old code in memory: after updating, restart the dashboard and reconnect the MCP server (/mcp β†’ e2e-runner β†’ Reconnect, or restart your session).


✨ What you get

πŸ§ͺ Zero-code tests β€” JSON files that anyone on your team can read and write. No JavaScript, no compilation, no framework lock-in.

πŸ€– AI-powered testing β€” Claude Code creates, executes, and debugs tests natively through 17 MCP tools. Ask it to "test the checkout flow" and it builds the JSON, runs it, and reports back.

πŸ› Issue-to-Test pipeline β€” Paste a GitHub or GitLab issue URL. The runner fetches it, generates E2E tests, runs them, and tells you: bug confirmed or not reproducible.

πŸ‘οΈ Visual verification β€” Describe what the page should look like in plain English. The AI captures a screenshot and judges pass/fail against your description. No pixel-diffing setup needed.

🧠 Learning system β€” Tracks test stability across runs. Detects flaky tests, unstable selectors, slow APIs, and error patterns β€” then surfaces actionable insights.

⚑ Parallel execution β€” Run N tests simultaneously against a shared browser pool (browserless, raw CDP, Lightpanda, Obscura, or Steel). Serial mode available for tests that share state.

🎯 Pluggable browser drivers β€” Pick the engine that fits each test: real Chrome via browserless, Lightpanda or Obscura for fast lightweight runs, Steel for managed sessions. Set driver per test or override the whole run with --driver.

πŸ“Š Real-time dashboard β€” Live execution view, run history with pass-rate charts, screenshot gallery with hash-based search, expandable network request logs.

πŸ” Smart retries β€” Test-level and action-level retries with configurable delays. Flaky tests are detected and flagged automatically.

πŸ“¦ Reusable modules β€” Extract common flows (login, navigation, setup) into parameterized modules and reference them with $use.

Reviews

No reviews yet β€” be the first to share how it worked for you.

Frequently Asked Questions about E2e Runner

e2e-runner is an MCP server that lets AI agents create, run, and debug browser-based end-to-end tests using plain JSON. It executes ordered user actions against a web app in Chrome, supports parallel execution with a Chrome pool, and can capture screenshots and report test results without requiring traditional test-code files or a build step.

e2e-runner tests are written as JSON arrays containing named test suites and ordered actions. Supported examples include navigating to a URL, typing into selectors, clicking by text, asserting text, and taking screenshots. Tests do not require imports, describe/it blocks, or a build step.

Connect e2e-runner to Claude Code by adding its plugin marketplace and installing the plugin with `claude plugin marketplace add fastslack/mtw-e2e-runner` followed by `claude plugin install e2e-runner@matware`. You can then ask Claude Code to create and run an E2E test.

Yes, e2e-runner supports parallel E2E test execution against a Chrome pool, allowing multiple browser tests to run concurrently.

Yes, e2e-runner provides an installable skill for other supported agents. The README directs users to install it with `npx skills add fastslack/mtw-e2e-runner` and links to a list of supported agents.

Related MCP servers

Add a badge to your READMEShow it’s listed β€” live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewE2e Runner AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/e2e-runner?style=directory)](https://allmcps.com/mcp/e2e-runner)
HTML Embed
<a href="https://allmcps.com/mcp/e2e-runner"><img src="https://allmcps.com/api/badge/e2e-runner?style=directory" alt="E2e Runner on AllMCPs" /></a>