mtw-e2e-runner
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RETRIES | No | Number of times to retry failed tests | 0 |
| TIMEOUT | No | Default action timeout in milliseconds | 10000 |
| BASE_URL | No | Application base URL | http://host.docker.internal:3000 |
| POOL_URL | No | Chrome pool WebSocket URL | ws://localhost:3333 |
| AUTH_TOKEN | No | JWT or session token injected into browser storage for authenticated pages | |
| CONCURRENCY | No | Number of parallel test workers | 3 |
| TEST_TIMEOUT | No | Per-test timeout in milliseconds | 60000 |
| ACTION_RETRIES | No | Number of times to retry failed individual actions | 0 |
| AUTH_STORAGE_KEY | No | The key name used to store the AUTH_TOKEN in localStorage/sessionStorage (defaults to accessToken) | |
| FAIL_ON_NETWORK_ERROR | No | Whether to fail tests when network errors are detected | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| e2e_runB | Run E2E browser tests. Specify "all" to run every suite, "suite" for a specific suite, or "file" for a JSON file path. Returns structured results with pass/fail status, duration, and error details. |
| e2e_listA | List all available E2E test suites with their test names and counts. |
| e2e_create_testA | Create a new E2E test JSON file. Prefer built-in actions over evaluate — more robust and readable. Full catalog: the e2e-testing skill / references/action-types.md. Action cheat-sheet:
Field rules: assert_text/assert_no_text use "text" (whole page); assert_visible/assert_not_visible use "selector"; for text absence use assert_no_text. Use evaluate only for computed styles, complex logic, GraphQL (window.__e2eGql), or app state. Modules: { "$use": "module-name", "params": {...} } references reusable modules in e2e/modules/ (they compose). Run e2e_list to see available modules. |
| e2e_pool_statusB | Get the status of the Chrome pool (browserless/chrome). Shows availability, running sessions, capacity, and queued requests. |
| e2e_app_pool_statusA | Get the status of the app environment pool. Shows active forks, allocated ports, per-fork details (driver, baseUrl, test name, fork time). Only relevant when appPool is enabled in config. |
| e2e_screenshotA | Retrieve a screenshot by its hash (e.g. ss:a3f2b1c9). Returns the image. Hashes are shown in the dashboard next to screenshots. |
| e2e_dashboard_startB | Start the E2E Runner web dashboard. Provides a real-time UI for running tests, viewing results, screenshots, history, and pool status. |
| e2e_dashboard_stopB | Stop the E2E Runner web dashboard. |
| e2e_dashboard_restartA | Restart the E2E Runner web dashboard. Stops the current instance and starts a new one, optionally with a new cwd or port. Useful when switching projects or when the dashboard was started from another session. |
| e2e_issueA | Fetch a GitHub/GitLab issue and prepare E2E test generation. Returns issue details and a prompt for test creation. Use mode "verify" to auto-generate and run tests (requires ANTHROPIC_API_KEY). |
| e2e_captureA | Capture a screenshot of any URL on demand. Connects to the Chrome pool, navigates to the URL, takes a screenshot, and returns the image with its ss:HASH. |
| e2e_analyzeA | Analyze a page's structure and return all interactive elements (forms, buttons, links, navigation, tables, modals, etc.) with their CSS selectors, plus suggested test scaffolds. One call replaces the entire screenshot→guess-selectors→retry cycle. |
| e2e_create_moduleA | Create a reusable module for E2E tests. Modules encapsulate repeated action sequences referenced via { "$use": "module-name", "params": {...} }. Good module candidates: auth setup, page navigation, tab clicking, opening sidebars/drawers, form fill sequences, cleanup routines. Modules can compose — a module can $use other modules. Params use {{paramName}} mustache syntax in action fields. Extract a module when you see the same 2+ action sequence in multiple tests. |
| e2e_learningsB | Query the E2E learning system for insights about test stability, flaky tests, selector health, page health, API health, error patterns, and trends. Builds knowledge across runs. |
| e2e_neo4jC | Manage the Neo4j knowledge graph container for E2E learnings. Requires Docker. |
| e2e_network_logsA | Query network request/response logs for a specific test run. Returns filtered logs from SQLite. Use the runDbId from e2e_run results to drill down into network details on demand. |
| e2e_varsB | Manage project variables stored in SQLite. Variables can be referenced in test JSON as {{var.KEY}}. Supports project-wide and per-suite scoping. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 17 tools
Most tools target clearly distinct capabilities: running tests, listing suites, creating tests/modules, analyzing pages, capturing screenshots, and querying logs are all separable. Two near-pairs require reading descriptions to distinguish — e2e_pool_status (Chrome pool) vs e2e_app_pool_status (app environment pool), and e2e_screenshot (retrieve by hash) vs e2e_capture (new capture). These are clarified in the text but are the only points of friction.
The e2e_ prefix is applied consistently across all 17 tools, which helps grouping. However, the suffix convention is mixed: some are verb_noun (e2e_run, e2e_create_test, e2e_dashboard_start) while others are bare nouns with no clear action (e2e_vars, e2e_learnings, e2e_neo4j, e2e_issue, e2e_screenshot), making the intended action ambiguous from the name alone.
17 tools is on the heavier side but each maps to a genuine, non-redundant capability of an E2E runner (execution, test/module authoring, page analysis, pools, dashboard control, learnings, logs, variables). The dashboard start/stop/restart trio and dual pool-status tools add some bulk but remain justified. Slightly over the ideal band rather than mis-scoped.
The surface covers the full workflow: authoring tests and modules, running and listing suites, analyzing pages, capturing screenshots, inspecting pools, logs, learnings, and variables. Gaps exist around lifecycle management — there is no explicit update/delete for tests or modules, and no run-history browse beyond learnings trends — but agents can work around these.