visual-ui-debug-agent-mcp
v1.1.0Visual UI testing and debugging tools for MCP clients, powered by Playwright
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
enhanced_page_analyzer
Analyze a page with screenshots, console logs, interactive element mapping, and performance metrics
| Parameter | Type | Description |
|---|---|---|
url * | string | URL to analyze (e.g., http://localhost:4999, https://example.com) |
device | string | Optional device to emulate (e.g., "iPhone 13", "Pixel 5") |
fullPage | boolean | Whether to capture full page or just viewport. Default: false |
includeConsole | boolean | Whether to include console logs. Default: true |
mapElements | boolean | Whether to map interactive elements. Default: true |
waitForSelector | string | Optional CSS selector to wait for before analysis |
api_endpoint_tester
Test multiple API endpoints and verify responses
| Parameter | Type | Description |
|---|---|---|
endpoints * | array | List of endpoints to test |
url * | string | Base URL of the API (e.g., http://localhost:5000/api) |
authToken | string | Optional auth token to include in all requests |
screenshot_url
Take a screenshot of a URL
| Parameter | Type | Description |
|---|---|---|
url * | string | URL to capture a screenshot of |
device | string | Optional device to emulate (e.g., "iPhone 13", "Pixel 5") |
fullPage | boolean | Whether to capture full page or just viewport. Default: false |
selector | string | Optional CSS selector to screenshot only that element |
waitForSelector | string | Optional CSS selector to wait for before taking screenshot |
dom_inspector
Inspect DOM elements and their properties
| Parameter | Type | Description |
|---|---|---|
selector * | string | CSS selector to inspect |
url * | string | URL to inspect |
includeChildren | boolean | Whether to include children elements. Default: false |
includeStyles | boolean | Whether to include computed styles. Default: true |
batch_screenshot_urls
Capture screenshots of multiple URLs in a grid layout for easy comparison
| Parameter | Type | Description |
|---|---|---|
urls * | array | Array of URLs to capture screenshots of |
device | string | Optional device to emulate (e.g., "iPhone 13", "Pixel 5") |
fullPage | boolean | Whether to capture full page or just viewport. Default: false |
gridSize | number | Number of screenshots per row in the grid layout. Default: 2 |
console_monitor
Monitor console logs on a page
| Parameter | Type | Description |
|---|---|---|
url * | string | URL to monitor console logs from |
duration | number | How long to monitor in milliseconds. Default: 5000 (configurable via VUDA_STABILITY_WAIT) |
filterTypes | array | Types of console messages to capture |
interactionSelector | string | Optional element to click before monitoring |
performance_analysis
Analyze page performance metrics
| Parameter | Type | Description |
|---|---|---|
url * | string | URL to analyze performance for |
device | string | Optional device to emulate (e.g., "iPhone 13", "Pixel 5") |
iterations | number | Number of test iterations to run. Default: 1 |
waitForNetworkIdle | boolean | Whether to wait for network to be idle. Default: true |
visual_comparison
Compare two URLs visually and highlight differences
| Parameter | Type | Description |
|---|---|---|
url1 * | string | First URL to compare |
url2 * | string | Second URL to compare |
fullPage | boolean | Whether to capture full page. Default: false |
selector | string | Optional CSS selector to limit comparison |
threshold | number | Difference threshold (0.0-1.0). Default: 0.1 |
screenshot_local_files
Take screenshots of local HTML files in a directory
| Parameter | Type | Description |
|---|---|---|
directory | string | Directory containing HTML files to screenshot (defaults to current directory) |
fullPage | boolean | Whether to capture full page or just viewport. Default: false |
gridSize | number | Size of grid (2 for 2x2, 4 for 4x4). Default: 2 |
pattern | string | Glob pattern to match HTML files (default: "*.html") |
playwright_click
Click an element on the page
| Parameter | Type | Description |
|---|---|---|
selector * | string | CSS selector for the element to click |
playwright_iframe_click
Click an element in an iframe on the page
| Parameter | Type | Description |
|---|---|---|
iframeSelector * | string | CSS selector for the iframe containing the element to click |
selector * | string | CSS selector for the element to click within the iframe |
playwright_fill
Fill out an input field
| Parameter | Type | Description |
|---|---|---|
selector * | string | CSS selector for input field |
value * | string | Value to fill |
playwright_select
Select an option in a dropdown
| Parameter | Type | Description |
|---|---|---|
selector * | string | CSS selector for the select element |
value * | string | Value or label of the option to select |
playwright_hover
Hover over an element on the page
| Parameter | Type | Description |
|---|---|---|
selector * | string | CSS selector for element to hover |
playwright_evaluate
Execute JavaScript in the browser console context
| Parameter | Type | Description |
|---|---|---|
script * | string | JavaScript code to execute |
playwright_console_logs
Retrieve console logs captured so far
| Parameter | Type | Description |
|---|---|---|
clear | boolean | Whether to clear logs after retrieval |
limit | number | Maximum number of logs to return |
type | string | Type of logs to retrieve |
playwright_get_visible_text
Get the visible text content of the current page
playwright_get_visible_html
Get the HTML content of the current page
playwright_go_back
Navigate back in browser history
playwright_go_forward
Navigate forward in browser history
playwright_press_key
Press a keyboard key (optionally focusing an element first)
| Parameter | Type | Description |
|---|---|---|
key * | string | Key to press (e.g. 'Enter', 'ArrowDown', 'a') |
selector | string | Optional CSS selector to focus before pressing key |
playwright_drag
Drag an element to a target location
| Parameter | Type | Description |
|---|---|---|
sourceSelector * | string | CSS selector for the element to drag |
targetSelector * | string | CSS selector for the target location |
playwright_screenshot
Take a screenshot of the current page or a specific element
| Parameter | Type | Description |
|---|---|---|
name * | string | Name for the screenshot resource (will be used in the URI) |
fullPage | boolean | Store screenshot of the entire page (default: false) |
selector | string | Optional CSS selector for element to screenshot |
ui_workflow_validator
Execute and validate a sequence of UI interactions simulating a user workflow.
| Parameter | Type | Description |
|---|---|---|
startUrl * | string | Initial URL for the workflow |
steps * | array | Sequence of steps representing the user workflow (minimum 1 step) |
taskDescription * | string | High-level description of the user task being simulated |
captureScreenshots | string | When to capture screenshots (default: failure) |
device | string | Optional device to emulate (e.g., 'iPhone 13', 'Pixel 5') |
tunnel_helper
Guide user to expose local ports via Cloudflare tunnel or manage tunnel URLs
| Parameter | Type | Description |
|---|---|---|
action * | string | Action: guide (show instructions), store (save tunnel URL), retrieve (get saved URL) |
localPort * | number | Local port number to expose (e.g., 3000, 8080) |
tunnelUrl | string | Tunnel URL to store (only for store action) |
debug_memory
Save and retrieve debugging context including .env variables, selectors, and issues
| Parameter | Type | Description |
|---|---|---|
action * | string | Memory action to perform |
category | string | Category of memory item |
key | string | Memory key for save/retrieve operations |
value | object | Value to save (for save action) |
sitemap_crawler
Crawl a website recursively to generate a comprehensive sitemap with all endpoints, links, and visible text content. Perfect for detecting inconsistent content, broken links, and navigation issues.
| Parameter | Type | Description |
|---|---|---|
url * | string | Starting URL to crawl (e.g., http://localhost:3000, https://example.com) |
includeText | boolean | Include visible text content from each page (default: true) |
maxDepth | number | Maximum depth to crawl (default: 3) |
outputFormat | string | Output format for the sitemap (default: markdown) |
sameDomainOnly | boolean | Only crawl links from the same domain (default: true) |