ui-polish-mcp
ui-polish-mcp
MCP-Server, mit dem KI-Agenten UIs erstellen können, die nicht wie von KI generiert aussehen.
Erkennt und korrigiert die häufigsten Fingerprints generierter UI: generische Paletten, gleichmäßige Abstände, kontextlose Copy, übermäßige Animationen und fehlende Barrierefreiheit.
Verfügbare Tools
Tool | Was es tut |
| Analysiert JSX und liefert einen Score von 0–100 plus eine Liste von Issues mit Fixes |
| Wandelt "Submit" / "Click here" in kontextuelle Copy um |
| Erzeugt echte Platzhalter anstelle von "Enter your..." |
| Schlägt ein Theme-Preset basierend auf dem App-Typ vor |
| Gibt vollständige Tokens eines Presets zurück (Farben, Schriften, Radien, Schatten) |
| Listet die 5 verfügbaren Presets auf |
| Validiert den WCAG-AA/AAA-Kontrast zwischen zwei Hexadezimalwerten |
| Auditiert mehrere Farbpaare auf einmal |
Related MCP server: v0-mcp-ts
Theme-Presets
Preset | Wofür |
| SaaS, Produktivität, Dev-Tools (Linear/Vercel-Ästhetik) |
| Blogs, Portfolios, Kreativagenturen (handwerkliches Editorial) |
| Dashboards, Analytics, DevOps (dichter Dark Mode) |
| CRMs, Onboarding, B2B-Apps (konversationales SaaS) |
| Disruptive Landingpages, Startups (Neobrutalismus) |
Installation
git clone https://github.com/Pedro21062014/ui-polish-mcp
cd ui-polish-mcp
npm install
npm run buildKonfiguration in Claude Desktop
Füge zu claude_desktop_config.json hinzu:
{
"mcpServers": {
"ui-polish": {
"command": "node",
"args": ["/caminho/absoluto/ui-polish-mcp/dist/index.js"]
}
}
}macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Konfiguration in Cursor
Erstelle .cursor/mcp.json im Projektstamm:
{
"mcpServers": {
"ui-polish": {
"command": "node",
"args": ["/caminho/absoluto/ui-polish-mcp/dist/index.js"]
}
}
}Verwendung durch den Agenten (empfohlener Ablauf)
1. suggest_theme(appType, industry, mood)
→ escolhe o preset certo
2. get_theme(preset)
→ pega os tokens e aplica no app
3. [agente cria os componentes]
4. audit_component(jsx)
→ verifica cada componente antes de entregar
5. refine_copy(text, { action, noun })
→ melhora todos os textos de botões/labels
6. audit_color_pairs(pairs)
→ valida acessibilidade da paleta inteiraBeispiel für die Ausgabe — audit_component
## Audit Result
Score: 52/100 | Grade: D
Summary: Fraco — múltiplos padrões de IA detectados. Revisão necessária.
### Issues (4)
1. [HIGH] color
- Problema: Paleta genérica: text-blue-500, bg-gray-100, text-gray-600
- Fix: Substitua por tokens customizados. Ex: text-[#1A1917], bg-[#FAFAF9]
2. [MEDIUM] spacing
- Problema: p-4 repetido 6x — espaçamento monótono sem hierarquia
- Fix: Varie: p-3 em elementos menores, p-6 em seções, p-10 em containers.
3. [HIGH] copy
- Problema: Copy genérico: "Submit", placeholder genérico
- Fix: Use verbos contextuais. Ex: "Salvar projeto", placeholder="Ex: pedro@empresa.com"
4. [HIGH] accessibility
- Problema: Botão com ícone sem aria-label
- Fix: <button aria-label="Fechar modal">Entwicklung
npm run dev # roda com tsx (sem build)
npm run build # compila para dist/Available Tools
8 toolsaudit_color_pairsA
Audita múltiplos pares de cor de uma vez. Útil para verificar toda a paleta do tema antes de entregar.
Inputs: pairs (required).
audit_componentA
Analisa código JSX/TSX e detecta padrões que fazem o componente parecer gerado por IA. Retorna score de 0-100, grade (A-F), lista de issues com fixes e itens aprovados. Use antes de entregar qualquer componente React.
Inputs: jsx (required).
check_contrastA
Verifica se um par de cores tem contraste adequado (WCAG AA/AAA). Use sempre que definir cor de texto sobre fundo. Retorna ratio, nível WCAG e sugestão de correção se falhar.
Inputs: background (required), foreground (required), largeText.
get_themeA
Retorna tokens completos de um preset específico. Presets disponíveis: studio | craft | data | flow | brutal
Inputs: preset (required).
list_presetsA
Lista todos os presets de tema disponíveis com suas descrições.
Inputs: no named parameters.
refine_copyA
Melhora textos genéricos de UI para soarem humanos e contextuais. Remove padrões como "Submit", "Click here", "Error occurred", "Lorem ipsum". Use em labels de botões, placeholders, mensagens de erro e empty states.
Inputs: text (required), lang, noun, tone, +1 more.
suggest_placeholderA
Sugere placeholder contextual para campos de formulário. Em vez de "Enter your email...", retorna "Ex: pedro@empresa.com". Use sempre que criar inputs, textareas ou selects.
Inputs: fieldName (required), lang.
suggest_themeA
Sugere um preset de tema visual baseado no tipo de app. Retorna tokens completos: cores, fontes, raios, sombras, espaçamentos. Inclui CSS variables e config do Tailwind prontos para usar.
Inputs: mood, appType, darkMode, industry.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a clearly distinct concern: component auditing, theme suggestion/retrieval/listing, single vs. batch color contrast checks, copy refinement, and placeholder suggestion. Overlapping areas like check_contrast and audit_color_pairs are explicitly separated as single-pair vs. multi-pair operations.
All tools follow a consistent verb_noun snake_case scheme: audit_component, suggest_theme, get_theme, list_presets, check_contrast, audit_color_pairs, refine_copy, suggest_placeholder. The naming makes each tool's resource and action predictable.
8 tools is well-scoped for a UI polish server. Each tool earns its place and collectively they cover component analysis, theme selection, contrast verification, and copy improvements without unnecessary bloat.
The toolset forms a complete pre-delivery polish workflow: audit React components, validate the color palette, refine UI copy, generate context-aware placeholders, and select or retrieve theme tokens. There are no obvious dead ends or missing core operations for the stated domain.
Maintenance
Related MCP Connectors
MCP server for building and testing AI agents with multi-model experimentation and insights.
Official MCP server for Agentwork — delegate tasks to AI agents with human-in-the-loop
AI tool directory MCP server, live since July 2026. Tools, agents, models, companies, services.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Related MCP Servers
- AlicenseCqualityAmaintenanceA production-grade MCP server that turns natural language intent into fully-architected, accessible, production-ready UI code through a 7-step agentic pipeline.201Apache 2.0
- AlicenseNot gradedqualityDmaintenanceMCP server that bridges design and code by generating UI components, layouts, and themes from text prompts using v0.dev, with features like code refactoring and accessibility auditing.1MIT
- AlicenseAqualityDmaintenanceMCP server that gives AI coding agents the ability to design UIs through Google Stitch. It generates production-ready HTML and screenshots from natural language prompts.9MIT
- FlicenseNot gradedqualityDmaintenanceMCP server for design decisions during a build, providing live UI/animation library docs (via llms.txt) and a curated knowledge base of UX laws and UI conventions. It enables agents to look up real component APIs and apply design best practices, running locally via stdio or hosted on Vercel.-