VUDA — Visual UI Debug Agent MCP server

VUDA — Visual UI Debug Agent MCP server

visual-ui-debug-agent-mcp•bysamihalawa

A Model Context Protocol server that uses Playwright to inspect and test web interfaces, offering screenshots, DOM inspection, workflow validation, console and performance capture, API testing, and visual comparison.

License: ISC•Runtime: Awaiting documentation review•Category: browser automation

WHAT IT DOES

  • •Captures full-page, viewport, element, local-file, and batch screenshots.
  • •Maps interactive elements and inspects rendered DOM and computed styles.
  • •Executes multi-step UI workflows and validates described user journeys or action sequences.
  • •Monitors console output, analyzes page performance, compares rendered states, crawls sitemaps, and exercises API endpoints.

BEST FOR

  • •Debugging web interfaces by inspecting pages, capturing screenshots, and checking console errors and layout issues.
  • •Validating user journeys and multi-step browser workflows while preserving state.
  • •Visual regression and UI comparison across two rendered pages or elements.

ABOUT VISUAL-UI-DEBUG-AGENT-MCP

VUDA — Visual UI Debug Agent MCP server is cataloged as an MCP server attributed to samihalawa. A Model Context Protocol server that uses Playwright to inspect and test web interfaces, offering screenshots, DOM inspection, workflow validation, console and performance capture, API testing, and visual comparison. It is categorized under browser automation. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: ISC. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for VUDA — Visual UI Debug Agent MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Can VUDA run against a cloud browser instead of a local one?

Yes. The browser can run locally, on Browserbase, on Anchor Browser, or at an existing CDP endpoint, and every tool uses the same selected browser runtime.

How does VUDA return screenshots?

VUDA returns screenshots as MCP image content and exposes generated screenshots, browser status, and debugging prompts as MCP resources.

Does local mode require a provider account?

No. No provider account is required for local mode.

Upstream README

View this exact version on GitHub

README.md · 33af9e8a58a0 · Fetched 2026-11-13 11:40:14 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

VUDA — Visual UI Debug Agent

Build status npm version npm downloads GitHub stars Last commit ISC license

Give an MCP-compatible AI client a real browser, screenshots, DOM inspection, workflow validation, console capture, API checks, and visual comparison.
29 MCP tools · Local, Browserbase, Anchor, or any CDP browser · Node.js 20+

What VUDA does

VUDA (Visual UI Debug Agent) is a Model Context Protocol server for inspecting and testing web interfaces with Playwright. The MCP server runs locally over standard input/output; its browser can run locally, on Browserbase, on Anchor Browser, or at an existing CDP endpoint. Every tool uses the same selected browser runtime.

  • Capture full-page, viewport, element, local-file, and batch screenshots.
  • Map interactive elements and inspect rendered DOM and computed styles.
  • Execute multi-step UI workflows while preserving browser state.
  • Monitor console output and analyze page performance.
  • Compare two rendered states and return a visual diff.
  • Crawl sitemaps and exercise API endpoints.
  • Emulate supported Playwright devices.

VUDA capabilities: screenshots, workflows, performance, API testing, and visual comparison

Quick start

1. Run VUDA

npx -y visual-ui-debug-agent-mcp

The default local mode needs a Chromium-compatible browser. If one is not already available, install the matching browser once:

npx playwright install chromium

2. Add it to an MCP client

{
  "mcpServers": {
    "vuda": {
      "command": "npx",
      "args": ["-y", "visual-ui-debug-agent-mcp"]
    }
  }
}

Restart the client after changing its MCP configuration. The server writes protocol messages to stdout and diagnostics to its temporary log file.

No provider account is required for local mode.

Docker users can use the same stdio transport:

{
  "mcpServers": {
    "vuda": {
      "command": "docker",
      "args": ["run", "--interactive", "--rm", "ghcr.io/samihalawa/visual-ui-debug-agent-mcp:latest"]
    }
  }
}

To use provider credentials from a file with Docker, add "--env-file", "/absolute/path/to/.env" immediately after "run" in the args array.

3. Try it

Ask your client to:

Use VUDA to inspect https://example.com, capture a screenshot, list the
interactive elements, and report console errors and obvious layout issues.

Tool reference

Analysis and capture

ToolPurpose
enhanced_page_analyzerScreenshot, console, performance, and interactive-element analysis
screenshot_urlCapture a URL, viewport, full page, or selected element
batch_screenshot_urlsCapture multiple URLs for side-by-side review
screenshot_local_filesRender and capture local HTML files
dom_inspectorReturn element properties, children, and computed styles
visual_comparisonCompare two rendered pages or elements

Workflows, diagnostics, and APIs

ToolPurpose
ui_workflow_validatorExecute and verify a described user journey
navigation_flow_validatorValidate a sequence of browser actions
console_monitorCapture browser console messages over a time window
performance_analysisCollect navigation and page performance metrics
api_endpoint_testerExercise multiple HTTP endpoints
sitemap_crawlerDiscover and inspect pages from a sitemap
tunnel_helperStore or retrieve a remote tunnel URL and setup guidance
debug_memoryKeep small debugging notes during one server session

Direct Playwright controls

playwright_navigate, playwright_click, playwright_iframe_click, playwright_fill, playwright_select, playwright_hover, playwright_evaluate, playwright_console_logs, playwright_get_visible_text, playwright_get_visible_html, playwright_go_back, playwright_go_forward, playwright_press_key, playwright_drag, and playwright_screenshot.

Configuration

VUDA reads environment variables normally and automatically loads .env from its working directory. Copy .env.example when running from a source checkout. For an npx installation, either put .env in the MCP process working directory, pass variables in the client configuration, or set DOTENV_CONFIG_PATH to an absolute .env path.

Choose the browser

ModeRequired configurationAccount state
Local (default)VUDA_BROWSER_PROVIDER=localVUDA_STORAGE_STATE_PATH, cookie JSON, or a cookie file
BrowserbaseVUDA_BROWSER_PROVIDER=browserbase, BROWSERBASE_API_KEYReuse BROWSERBASE_CONTEXT_ID or inject cookies
Anchor BrowserVUDA_BROWSER_PROVIDER=anchor, ANCHOR_API_KEYUse an Anchor profile in VUDA_ANCHOR_SESSION_JSON or inject cookies
Existing browserVUDA_BROWSER_PROVIDER=cdp, VUDA_CDP_URLUses that browser context; cookie injection is optional

Browserbase example:

VUDA_BROWSER_PROVIDER=browserbase
BROWSERBASE_API_KEY=your_api_key
BROWSERBASE_PROJECT_ID=your_project_id
BROWSERBASE_CONTEXT_ID=your_saved_context_id

Anchor Browser example with a persistent authenticated profile:

VUDA_BROWSER_PROVIDER=anchor
ANCHOR_API_KEY=your_api_key
VUDA_ANCHOR_SESSION_JSON={"browser":{"profile":{"name":"vuda","persist":true}}}

All 29 tools keep their existing names and inputs in every mode. Read the MCP resource browser://status to confirm the selected provider, current connection state, session ID, and whether a live view is available. CDP and live-view URLs are never returned.

Import cookies or local state

Cookie injection works with every provider. Supply a Playwright cookie array inline or by file:

VUDA_COOKIES_FILE=/absolute/path/to/cookies.json
# VUDA_COOKIES_JSON=[{"name":"session","value":"...","domain":"example.com","path":"/"}]

For local mode, VUDA_STORAGE_STATE_PATH loads a Playwright storage-state file. Set VUDA_PERSIST_STORAGE_STATE=true to write the updated state back when VUDA exits cleanly. Browserbase Contexts and Anchor profiles are the provider-native choices for state that must survive multiple cloud sessions.

Provider-specific session options remain available without another wrapper or SDK:

  • VUDA_BROWSERBASE_SESSION_JSON is merged into Browserbase's create-session request.
  • VUDA_ANCHOR_SESSION_JSON is sent as Anchor's create-session request.

Timeouts

All timeout settings are optional:

VariableDefaultPurpose
VUDA_DEFAULT_TIMEOUT15000General Playwright timeout in milliseconds
VUDA_NAVIGATION_TIMEOUT15000Navigation timeout
VUDA_SELECTOR_TIMEOUT12000Selector wait timeout
VUDA_STABILITY_WAIT5000Delay after navigation before capture
VUDA_UI_UPDATE_WAIT1000Delay for short UI updates
VUDA_PERFORMANCE_THRESHOLD15000Slow-page threshold
VUDA_INTERACTION_DELAY500Delay between direct interactions

Example:

{
  "mcpServers": {
    "vuda": {
      "command": "npx",
      "args": ["-y", "visual-ui-debug-agent-mcp"],
      "env": {
        "VUDA_NAVIGATION_TIMEOUT": "30000",
        "VUDA_STABILITY_WAIT": "2000"
      }
    }
  }
}

Development

git clone https://github.com/samihalawa/visual-ui-debug-agent-mcp.git
cd visual-ui-debug-agent-mcp
npm ci
npm test

npm test builds the TypeScript server, starts it through the MCP stdio transport, verifies the exact 29-tool inventory, reads a bundled resource, exercises a stateful tool call, and captures a real browser screenshot.

It also validates Browserbase and Anchor session request/cleanup shapes, CDP selection, cookie loading, and the crawler's browser initialization. Provider calls use deterministic mocks in CI; use your own .env for a live cloud session.

Before opening a pull request, also run:

npm audit
npm pack --dry-run

Architecture

VUDA architecture

VUDA keeps one Playwright control plane across all providers. Local mode creates isolated contexts for page-level analyses; remote modes reuse the provider context so authenticated state survives across tools. VUDA returns screenshots as MCP image content and exposes generated screenshots, browser status, and debugging prompts as MCP resources.

Contributing

Issues and focused pull requests are welcome. See CONTRIBUTING.md for the development workflow and review checklist. Release history is recorded in CHANGELOG.md.

License

ISC © 2023–2026 Sami Halawa and contributors.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for VUDA — Visual UI Debug Agent MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/visual-ui-debug-agent-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related browser automation MCP Servers

Alternative and complementary servers in the same category

View all in browser automation →

A Model Context Protocol (MCP) server for controlling Chrome with debugging capabilities, userscript injection, and extension support.

Repository stats unavailable
Browser & Scraping
Web Browser MCP Server
web-browser-mcp-server•blazickjp

An MCP server that lets AI assistants browse websites and extract content using optional CSS selectors.

Repository stats unavailable
Browser & Scraping
Steel MCP Server
steel-mcp-server•steel-dev

An MCP server that reads pages, fills forms, takes screenshots, and hands the browser to a person for logins or CAPTCHAs.

Repository stats unavailable
Browser & Scraping