AI Web Tester
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AI Web TesterTest the login page at localhost:3000 and generate a Markdown report"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
๐ AI Web Tester
The Autonomous Eyes & Hands for AI Coding Agents in the Browser
๐Looking for step-by-step setup instructions or local development setup? Check out the Complete Installation & Setup Guide (INSTALL.md) for 1-command installer wizards, agent-specific guides (OpenCode, Antigravity, Claude Code, Cursor, Windsurf), and troubleshooting tips.
๐ก The Missing Piece in AI Coding
AI coding agents can write complex code, refactor components, and fix syntax errors. But there has always been a fundamental blind spot: AI agents cannot see or experience the application running in a real browser.
A login page might have clean code, yet:
The submit button fails to trigger in specific browser states.
An unhandled JavaScript exception silently crashes the React hydration root.
Form validation passes invalid email formats or crashes on edge-case inputs.
Dynamic modals or infinite scrolls break user navigation.
ai-web-tester bridges this gap. It acts as the high-speed sensory and motor system for AI agents, allowing them to autonomously open URLs (localhost or live), test multi-step user scenarios, catch runtime errors, take visual snapshots of bugs, and compile professional Markdown reports.
Related MCP server: Browser-Debugger
โก Key Highlights
1. ๐ง Senior QA Testing Matrices Built-in
Your AI agent doesn't just "click a button" โ it executes comprehensive, multi-layer test matrices:
Empty / Required Field Validation: Checks HTML5 & custom error states when mandatory fields are omitted.
Format Violations & Boundary Limits: Tests invalid email syntax, password length boundaries, and type constraints.
Wrong Credentials & State Integrity: Verifies 401 alert banners and error handling without application crashes.
Security & Injection Guardrails: Evaluates handling of special characters, SQLi patterns (
' OR '1'='1), and XSS strings.Happy Path (End-to-End Success): Completes full user flows and validates state changes, cookies, and redirects.
2. ๐ชถ >90% Token Reduction (Semantic State Compression)
Raw HTML DOM dumps consume tens of thousands of LLM tokens and cause selector hallucinations. ai-web-tester prunes the DOM and extracts a clean, numbered Accessibility (ARIA) Tree:
๐ Current Page: "Customer Portal"
[1] textbox "Email" (required, placeholder="name@domain.com")
[2] textbox "Password" (type=password)
[3] button "Sign In"
[4] link "Forgot Password?"The AI agent interacts simply by referencing deterministic IDs: click(ref=3) or fill(ref=1, "admin@test.com").
3. ๐ Lightweight & Headless by Default
Runs entirely in the background using headless Chromium. It consumes minimal RAM and CPU, ensuring your computer stays fast and quiet while your agent audits your application.
4. ๐ธ Smart Error-Triggered Screenshots
No wasted disk space or clutter. Screenshots are captured automatically only when an anomaly occurs (console error, network 500, unhandled exception, or broken selector) and saved directly into ./artifacts/ with direct clickable links in the report.
5. ๐จ 360ยฐ Runtime Telemetry & Crash Watchdog
Silently observes browser lifecycle events:
console.error&console.warninterceptor with precise stack traces.Unhandled JavaScript runtime exceptions (
pageerror).Failed HTTP network responses (
4xx/5xx) and broken asset requests.Main-thread freeze & infinite loop detection via watchdog timeout guards.
6. ๐ Automated Markdown (.md) Test Reports
Compiles test results into standardized, human-readable Markdown documents with YAML frontmatter at ./test-reports/report-[runId].md:
Overall status (
PASSED,FAILED,WARNING) and duration metrics.Complete step-by-step audit log with
โandโstatus indicators.Exact error traces and reproduction steps.
Embedded links to screenshot artifacts.
Actionable fix recommendations for the developer or AI agent.
๐ง 1-Command Universal Setup Wizard
Easily configure ai-web-tester for any AI agent on your machine with one interactive command:
node dist/cli.js initOr target a specific agent directly:
# For OpenCode
node dist/cli.js init -a opencode
# For Antigravity
node dist/cli.js init -a antigravity
# For Claude Code / Claude Desktop
node dist/cli.js init -a claude
# For Cursor
node dist/cli.js init -a cursor
# For Windsurf / Roo Code
node dist/cli.js init -a windsurf
# For ALL agents at once
node dist/cli.js init -a antigravity opencode claude cursor windsurf๐ค Supported AI Agent Ecosystems
Agent | Configuration Location | Integration Type |
OpenCode |
| Native MCP + Skills |
Antigravity |
| Native MCP + Global Skills |
Claude Code / Desktop |
| Stdio MCP Server |
Cursor |
| Project / Global MCP |
Windsurf / Roo Code |
| Universal MCP |
๐ ๏ธ Model Context Protocol (MCP) Tools
When connected via MCP, your AI coding agent gains access to 10 specialized enterprise-grade tools:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ AI Web Tester MCP Engine โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโดโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโ
โผ โผ โผ โผ
browser_open browser_act browser_inspect browser_switch_tab
(Launch & scan) (Click, fill, upload) (State & telemetry) (Multi-tab/popups)
โ โ โ โ
โผ โผ โผ โผ
browser_save_auth browser_audit_a11y browser_crawl browser_report
(Save login state) (WCAG 2.1 AA audit) (Sitemap & 404s) (Export .md summary)Tool Name | Key Parameters | Description |
|
| Opens the target URL in Chromium, applies device presets, loads auth states, and returns initial ARIA state. |
|
| Executes an interaction on a referenced element with retry logic, file I/O, or download interception. |
| (none) | Refreshes and returns the active page state, interactive refs, and captured runtime errors. |
|
| Switches active browser focus between multiple tabs or OAuth popups, or lists all open tabs. |
|
| Saves active browser session cookies and localStorage to JSON for re-use in future tests. |
| (none) | Runs an automated WCAG 2.1 AA accessibility audit via |
|
| Autonomously explores all internal routes, maps sitemap hierarchy, and identifies 404 broken links. |
|
| Manually captures a visual screenshot and saves it to |
|
| Compiles test execution history, telemetry, and screenshots into a structured |
| (none) | Safely terminates the browser session and frees all system memory. |
๐ฅ๏ธ Standalone CLI Usage
You can also run automated browser tests directly from your terminal:
# 1. Quick inspection of interactive elements on any page (with optional device preset)
node dist/cli.js open http://localhost:3000 -d "iPhone 15"
# 2. Run automated health check & compile a Markdown report with Playwright trace
node dist/cli.js test http://localhost:3000 --title "Homepage Smoke Test" --trace
# 3. Autonomously crawl internal website routes & build sitemap
node dist/cli.js crawl http://localhost:3000 --depth 3 --pages 20
# 4. Start local interactive web dashboard
node dist/cli.js ui --port 3100
# 5. Start the MCP Server over stdio manually
node dist/cli.js serve-mcp๐ Sample Markdown Test Report Output
When your test finishes, ai-web-tester generates a report like this:
---
test_run_id: "rep-1723651234-a8f2"
title: "Authentication Flow - Senior QA Matrix"
target_url: "http://localhost:3000/login"
status: "PASSED"
duration_ms: 3420
total_steps: 5
passed_steps: 5
failed_steps: 0
issues_count: 0
timestamp: "2026-08-14T23:45:00.000Z"
---
# ๐ Laporan Hasil Pengujian: Authentication Flow - Senior QA Matrix
## ๐ Ringkasan Eksekusi
* **Target URL**: `http://localhost:3000/login`
* **Status Keseluruhan**: โ
PASSED
* **Durasi Pengujian**: 3.42 detik (3420 ms)
* **Total Langkah**: 5 (โ
5 Passed | โ 0 Failed)
* **Total Isu/Error**: 0
---
## ๐ถ Urutan Langkah Pengujian (Execution Steps)
โ
**Step 1**: `CLICK` on [ref=3] (button "Sign In") โ *Tested empty field validation*
โ
**Step 2**: `FILL` on [ref=1] with value `"invalid-email"` โ *Tested invalid email format*
โ
**Step 3**: `FILL` on [ref=1] with value `"' OR '1'='1"` โ *Tested security edge cases*
โ
**Step 4**: `FILL` on [ref=1] with value `"valid@company.com"`
โ
**Step 5**: `FILL` on [ref=2] with value `"secretpass123"`
---
## ๐จ Temuan Masalah & Error (Issues & Anomalies)
โ
*No runtime errors, console errors, or failed network responses detected.*
---
## ๐ก Rekomendasi untuk AI Coding Agent / Developer
- Semua langkah pengujian berhasil dijalankan tanpa terdeteksi anomali.๐๏ธ Architecture & Engineering Principles
Built with clean Hexagonal Architecture (Ports and Adapters):
Domain Core: Pure domain models (
Session,Action,PageState,Issue,TestReport) free from third-party framework dependencies.Outbound Infrastructure: High-resilience Playwright driver with smart auto-waiting, auto-scrolling, telemetry observers, and a Handlebars Markdown report generator.
Inbound Interfaces: First-class Model Context Protocol (MCP) server over standard input/output (
stdio) and Commander CLI runner.Anti-Zombie Browser Protection: Signal traps on
SIGINT,SIGTERM,SIGHUP, and uncaught exceptions guarantee that headless Chromium processes are never orphaned in system memory.
๐งช Development & Contribution
# Install dependencies
npm install
# Download Chromium browser
npx playwright install chromium
# Run full unit & E2E integration test suite
npm test
# Run strict TypeScript typechecking
npm run typecheck
# Build ESM & TypeScript declaration bundles
npm run build๐ License
Distributed under the MIT License. See LICENSE for more information.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Browser-based QA for AI-built software. Test pages with real browsers via agents.
AI-powered web automation. Navigate websites using AI agents for one page or a thousand
AI-powered web automation. Navigate websites using AI agents for one page or a thousand
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to control web browsers through Playwright automation, providing 50+ tools for navigation, interaction, testing, accessibility audits, and visual testing across Chromium, Firefox, and WebKit.15MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to automate and debug real Chromium browsers with capabilities like screenshots, video recording, performance analysis, visual regression testing, and OCR text extraction.13
- AlicenseNot gradedqualityDmaintenanceEnables AI coding agents to visually interact with frontend apps by taking screenshots, clicking elements, reading console logs, and performing visual diffs.3MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to perform comprehensive web application testing including visual, functional, performance, accessibility, and SEO analysis using browser automation without requiring API keys.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SiamAlSobari/ai-web-tester'
If you have feedback or need assistance with the MCP directory API, please join our Discord server