UX/UI Tools for React + Material-UI

UX/UI Tools for React + Material-UI

Provides AI-powered tools to apply UX/UI best practices, Nielsen's heuristics, cognitive biases, and Material-UI patterns to React components. Enables automated application of responsive design, Apple design patterns, and complete UX guidelines through natural language commands.

Category
访问服务器

README

🎨 UX/UI Tools for React + Material-UI (MCP Server)

npm version License: MIT

Model Context Protocol (MCP) Server that provides AI-powered tools to apply UX/UI best practices to React components with Material-UI.

Perfect for use with GitHub Copilot, Claude Desktop, and other AI assistants that support MCP.


✨ Features

  • �� Responsive Design - Mobile-first patterns with MUI breakpoints
  • 🎨 Material-UI Best Practices - Theme spacing, alpha transparency, sx prop
  • 🍎 Apple Design Patterns - Custom scrollbars, smooth animations, minimalist design
  • 🎯 Nielsen's 10 Heuristics - Complete usability guidelines
  • 🧠 Cognitive Biases - Fitts's Law, Grouping Effect, Proximity Principle, and more
  • UX Checklist - Ready-to-use validation checklist

📦 Installation

Option 1: Via npx (Recommended)

No installation needed! Use directly with npx:

npx @marcusbarcelos/uiux-tools-react-mui

Option 2: Global Installation

npm install -g @marcusbarcelos/uiux-tools-react-mui

Option 3: Docker

docker run -i marcusbarcelos/uiux-tools-react-mui

⚙️ Configuration

GitHub Copilot (VS Code)

Add to your ~/.config/Code/User/mcp.json (Linux/Mac) or %APPDATA%\Code\User\mcp.json (Windows):

{
  "servers": {
    "uiux-tools": {
      "command": "npx",
      "args": ["-y", "@marcusbarcelos/uiux-tools-react-mui"]
    }
  }
}

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "uiux-tools": {
      "command": "npx",
      "args": ["-y", "@marcusbarcelos/uiux-tools-react-mui"]
    }
  }
}

Docker Configuration

{
  "servers": {
    "uiux-tools": {
      "command": "docker",
      "args": ["run", "-i", "marcusbarcelos/uiux-tools-react-mui"]
    }
  }
}

🚀 Available Tools

1. apply_responsiveness

Apply mobile-first responsive design patterns.

Input:

  • component: Component code or filename

Example:

Use tool apply_responsiveness on src/components/MyComponent.tsx

2. apply_material_ui_best_practices

Apply Material-UI best practices (theme.spacing, alpha, sx prop).

3. apply_apple_design

Apply Apple design patterns (custom scrollbar, animations, minimalism).

4. apply_nielsen_heuristic

Apply specific Nielsen heuristic (1-10).

Input:

  • component: Component code
  • heuristic: Heuristic number (1-10)

Example:

Use tool apply_nielsen_heuristic with heuristic=1 on current component

5. apply_cognitive_bias

Apply cognitive bias for better UX.

Input:

  • component: Component code
  • bias: One of fitts, grouping, proximity, zeigarnik, serial-position, hicks

6. apply_complete_ux

Apply ALL UX/UI guidelines at once.

7. get_ux_checklist

Get validation checklist for UX/UI review.


💡 Usage Examples

With GitHub Copilot

Use tool apply_complete_ux on src/components/Notification.tsx
Use tool get_ux_checklist
Use tool apply_responsiveness on current file

With Claude Desktop

Simply ask:

"Apply complete UX guidelines to this component"

"Show me the UX checklist"


📚 What's Included

Nielsen's 10 Usability Heuristics

  1. Visibility of System Status - Loading states, progress indicators
  2. Match Between System and Real World - User-friendly language
  3. User Control and Freedom - Cancel buttons, undo actions
  4. Consistency and Standards - Uniform colors, icons, patterns
  5. Error Prevention - Real-time validation, input limits
  6. Recognition Rather Than Recall - Visible options, tooltips
  7. Flexibility and Efficiency - Keyboard shortcuts, quick actions
  8. Aesthetic and Minimalist Design - Remove visual noise
  9. Help Users Recognize Errors - Clear error messages, suggestions
  10. Help and Documentation - Tooltips, helper text, placeholders

Cognitive Biases

  • Fitts's Law - Larger touch targets (≥44px), closer actions
  • Grouping Effect - Related items together, visual separation
  • Proximity Principle - Related elements close together
  • Zeigarnik Effect - Incomplete task indicators (badges, progress)
  • Serial Position Effect - Important actions at top/bottom
  • Hick's Law - Limit choices, progressive disclosure

Material-UI Patterns

  • theme.spacing() for consistent spacing
  • alpha() for transparency
  • sx prop instead of styled components
  • Smooth transitions with theme.transitions
  • Custom scrollbars
  • Touch-friendly targets

🐳 Docker

Build Image

docker build -t MarcusViniciusBarcelos/uiux-tools-react-mui .

Run Server

docker run -i MarcusViniciusBarcelos/uiux-tools-react-mui

Docker Hub

docker pull MarcusViniciusBarcelos/uiux-tools-react-mui

🛠️ Development

Clone Repository

git clone https://github.com/MarcusViniciusBarcelos/uiux-tools-react-mui.git
cd uiux-tools-react-mui
npm install

Run Locally

npm start

Test with Inspector

npx @modelcontextprotocol/inspector node index.js

📄 License

MIT © Datacred Team


🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

🔗 Links


📧 Support


Made with ❤️ for better UX/UI in React applications

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选