ui-optimizer-mcp
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., "@ui-optimizer-mcpScan https://example.com for UI and accessibility issues"
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.
ui-optimizer-mcp
Production-focused, repository-first MCP server for AI-driven UI inspection and optimization reports.
What it does
Accepts a website URL and optional viewport presets
Launches Chromium with Playwright
Captures screenshots for each viewport
Collects visible DOM/layout metadata
Runs deterministic checks:
overflow indicators
missing image alt text
duplicate visible button labels
unlabeled inputs and unnamed buttons
browser console errors
Produces a structured, prioritized report
Produces a concise follow-up prompt for Claude Code
Related MCP server: UI Analyzer MCP Server
MCP tools
scan_website_ui
Scans one URL and returns report JSON.
Input:
{
"url": "https://example.com",
"viewportPresets": [
{ "name": "desktop", "width": 1440, "height": 900 },
{ "name": "mobile", "width": 390, "height": 844 }
]
}Output shape:
{
"url": "https://example.com",
"generatedAt": "2026-01-01T00:00:00.000Z",
"metadata": {
"toolVersion": "0.1.0",
"artifactDirectory": "/absolute/path/to/artifacts/2026-01-01T00-00-00.000Z",
"viewportsScanned": ["desktop", "mobile"]
},
"summary": { "totalIssues": 3, "high": 1, "medium": 1, "low": 1 },
"screenshots": [
{
"viewport": "desktop",
"path": "/absolute/path/to/artifacts/2026-01-01T00-00-00.000Z/desktop.png"
}
],
"issues": [
{
"id": "desktop-1-unlabeled-input-1",
"title": "Input without accessible label",
"severity": "high",
"affectedArea": "input.search",
"recommendation": "Add a visible <label> and/or aria-label/aria-labelledby for form controls."
}
],
"nextPrompt": "Analyze and fix UI issues for https://example.com..."
}generate_ui_fix_prompt
Builds a concise fix prompt from a report object.
Input:
{
"report": {
"url": "https://example.com",
"summary": { "totalIssues": 3, "high": 1, "medium": 1, "low": 1 },
"issues": []
}
}Output: multiline prompt string.
Quick start (local)
Install dependencies:
npm installInstall browser runtime:
npx playwright install chromiumBuild:
npm run buildStart MCP server (stdio transport):
npm startRuntime configuration
Optional environment variables:
UI_OPTIMIZER_OUTPUT_DIR(default:artifacts)UI_OPTIMIZER_TIMEOUT_MS(default:30000)UI_OPTIMIZER_MAX_VISIBLE_ELEMENTS(default:300)UI_OPTIMIZER_MAX_SIGNAL_ITEMS(default:40)
Example:
UI_OPTIMIZER_OUTPUT_DIR=artifacts-prod UI_OPTIMIZER_TIMEOUT_MS=45000 npm startMCP client integration
Point your MCP client to the built server command:
{
"mcpServers": {
"ui-optimizer": {
"command": "node",
"args": ["/absolute/path/to/ui-optimizer-mcp/dist/index.js"]
}
}
}Validation commands
npm run lint
npm run build
npm run testThis 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 Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI-powered visual analysis of webpages for UI/UX assessment, including screenshot capture, element detection, accessibility auditing, and comprehensive JSON reporting.1
- AlicenseNot gradedqualityDmaintenanceAnalyzes website UIs using Playwright and provides precise CSS/HTML fix instructions for AI coding assistants like GitHub Copilot and Cursor.4MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to see, analyze, and visually verify web page changes through pixel-perfect diffing, theme extraction, layout analysis, and interactive element detection.8MIT
- 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.
Related MCP Connectors
Capture screenshots, detect visual regressions between page versions, and analyze with AI.
AI QA tester — real browsers scan sites for bugs, SEO, perf, and accessibility issues via chat.
Validate HTML/CSS, audit SEO and JSON-LD, check links, and capture responsive screenshots.
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/polatbakir/ui-optimizer-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server