visual-ui-debug-agent-mcp
Provides guidance and management for setting up Cloudflare tunnels to enable remote debugging of web applications.
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., "@visual-ui-debug-agent-mcpscreenshot https://example.com in mobile view"
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.
What is VUDA?
VUDA (Visual UI Debug Agent) is an MCP (Model Context Protocol) server that gives AI models the power to visually analyze, test, and debug web interfaces using Playwright. It enables any AI - even those without built-in vision - to inspect web pages, find UI bugs, test user workflows, and measure performance autonomously.
Key Capabilities
Visual Analysis - Capture screenshots, analyze page structure, map interactive elements
Workflow Testing - Automatically test user journeys with step-by-step validation
Performance Monitoring - Measure load times, analyze metrics, identify bottlenecks
API Testing - Validate backend endpoints and responses
Visual Comparison - Detect UI changes between versions with diff highlighting
Console Monitoring - Capture errors, warnings, and logs in real-time
Related MCP server: browser-devtools-mcp
See It In Action
Architecture
VUDA acts as a bridge between AI models and web browsers through the MCP protocol. It uses Playwright for reliable cross-browser automation and provides structured data that any AI can understand.
Automated Testing Workflow
One command triggers a comprehensive site analysis - crawl all pages, screenshot everything, validate user flows, and measure performance in seconds.
Quick Start
Installation
# Install globally via npm
npm install -g visual-ui-debug-agent-mcp
# Or run directly with npx (no installation needed)
npx visual-ui-debug-agent-mcpConfigure with Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"vuda": {
"command": "npx",
"args": ["-y", "visual-ui-debug-agent-mcp"]
}
}
}Configure with Other MCP Clients
{
"mcpServers": {
"vuda": {
"command": "node",
"args": ["/path/to/visual-ui-debug-agent-mcp/dist/index.js"]
}
}
}Complete Tool Reference (30 Tools)
Visual Analysis Tools
Tool | Description |
| Comprehensive page analysis with element mapping, performance metrics, and console logs |
| Capture high-quality screenshots of any URL with device emulation |
| Screenshot multiple URLs in a single operation |
| Capture screenshots of local HTML files |
| Compare two pages/states and highlight visual differences |
| Inspect DOM elements with computed styles and properties |
Workflow & Testing Tools
Tool | Description |
| Test complete user journeys with step-by-step validation |
| Validate multi-step navigation sequences |
| Test API endpoints with authentication support |
Performance & Monitoring Tools
Tool | Description |
| Measure page load performance and Core Web Vitals |
| Monitor and capture console logs, errors, and warnings |
| Crawl sitemaps and analyze page structure |
Playwright Direct Controls
Tool | Description |
| Navigate to URLs |
| Click on elements |
| Click elements inside iframes |
| Fill form fields |
| Select dropdown options |
| Hover over elements |
| Execute JavaScript in page context |
| Get console output |
| Extract visible text content |
| Get rendered HTML |
| Navigate back |
| Navigate forward |
| Press keyboard keys |
| Drag and drop elements |
| Take custom screenshots |
Utility Tools
Tool | Description |
| Guide and manage Cloudflare tunnel setup for remote debugging |
| Save and retrieve debugging context across sessions |
Usage Examples
Take a Screenshot
Ask Claude: "Take a screenshot of https://example.com"The AI will use screenshot_url to capture the page and return the image.
Analyze a Page
Ask Claude: "Analyze the UI of https://myapp.com/dashboard and find any issues"VUDA will use enhanced_page_analyzer to map all elements, check console for errors, and report findings.
Test a Login Flow
Ask Claude: "Test the login flow on https://myapp.com - use test@example.com and password123"The AI will use ui_workflow_validator to:
Navigate to the login page
Fill in credentials
Click submit
Verify successful login
Capture screenshots at each step
Compare Two Versions
Ask Claude: "Compare the homepage before and after our CSS update"Using visual_comparison, VUDA will highlight all visual differences between the two states.
Monitor Performance
Ask Claude: "Check the performance of our checkout page"performance_analysis will measure load times, analyze Core Web Vitals, and identify bottlenecks.
Advanced Configuration
Environment Variables
# Set browser options
PLAYWRIGHT_HEADLESS=true
PLAYWRIGHT_SLOW_MO=100
# Debug mode
DEBUG=vuda:*Programmatic Usage
import { Server } from "@modelcontextprotocol/sdk/server/index.js";
// VUDA exposes all tools through the MCP protocol
const result = await client.callTool("enhanced_page_analyzer", {
url: "https://example.com",
includeConsole: true,
mapElements: true,
fullPage: true
});Why VUDA?
Feature | VUDA | Other Solutions |
MCP Native | Built for AI integration | Often REST-only |
30 Specialized Tools | Comprehensive coverage | Limited toolsets |
Vision for Any AI | Works without built-in vision | Requires vision models |
Autonomous Testing | AI-driven workflows | Manual scripting |
Cross-Browser | Playwright-powered | Single browser |
Zero Config | Works out of the box | Complex setup |
Requirements
Node.js 18 or higher
npm or npx
Works on macOS, Linux, and Windows
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
License
This project is licensed under the ISC License.
Maintenance
Latest Blog Posts
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/samihalawa/visual-ui-debug-agent-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server