Material UI MCP Server
Provides AI assistants with comprehensive access to Material UI documentation, component details, and setup guides for building React applications. It enables searching through 50+ components and provides structured information on imports, customization, and best practices.
README
Material UI MCP Server
A Model Context Protocol (MCP) server providing comprehensive access to the Material UI component library documentation. Deploy this MCP to help AI assistants like Claude Code build consistent, well-designed React applications using Material UI components.
🚀 Quick Deploy
This will deploy your Material UI MCP server to a URL like: mui-mcp.<your-account>.workers.dev/sse
📋 What This MCP Provides
This MCP server gives AI assistants instant access to Material UI's 50+ React components with 6 specialized tools:
Available Tools
list_components- Browse all 50+ available Material UI componentsget_component_info- Get component details, imports, and documentation linkssearch_components- Find components by use case (forms, navigation, feedback, etc.)get_customization_guide- Learn Material UI's theming and styling systemget_setup_guide- Installation and setup instructions for Material UIget_mui_guide- Comprehensive guide to Material UI documentation and best practices
Component Categories
- Inputs: Text Field, Select, Checkbox, Radio Button, Switch, Slider, Autocomplete
- Data Display: Table, List, Typography, Avatar, Badge, Chip, Tooltip, Timeline
- Feedback: Alert, Dialog, Progress, Snackbar, Skeleton, Backdrop
- Surfaces: Card, Paper, Accordion
- Navigation: App Bar, Drawer, Tabs, Breadcrumbs, Menu, Stepper, Bottom Navigation
- Layout: Box, Container, Grid, Stack, Image List, Masonry
- Utils: Click Away Listener, CSS Baseline, Portal
- And more: 50+ production-ready components
🔌 Installation
Option 1: Quick Start (if you don't want to deploy to Cloudflare or run your own locally)
Use the public Material UI MCP server to get started immediately:
Claude Code:
claude mcp add mui npx mcp-remote https://mui-mcp-cloudflare.jgentes.workers.dev/sse
Cursor:
Install in Cursor:
To install the Material UI MCP Server in Cursor, copy and paste the following link into your browser's address bar:
cursor://anysphere.cursor-deeplink/mcp/install?name=mui&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyJtY3AtcmVtb3RlIiwiaHR0cHM6Ly9tdWktbWNwLWNsb3VkZmxhcmUuamdlbnRlcy53b3JrZXJzLmRldi9zc2UiXX0=
Or manually add to your Cursor settings:
{
"mcpServers": {
"mui": {
"command": "npx",
"args": [
"mcp-remote",
"https://mui-mcp-cloudflare.jgentes.workers.dev/sse"
]
}
}
}
Option 2: Deploy Your Own
Deploy your own instance to Cloudflare Workers:
- Click the "Deploy to Cloudflare Workers" button at the top
- After deployment, your MCP will be available at:
https://mui-mcp-cloudflare.<your-account>.workers.dev/sse - Connect to Claude Code:
claude mcp add mui npx mcp-remote https://mui-mcp-cloudflare.<your-account>.workers.dev/sse
Or manually edit your config:
{
"mcpServers": {
"mui": {
"command": "npx",
"args": [
"mcp-remote",
"https://mui-mcp-cloudflare.<your-account>.workers.dev/sse"
]
}
}
}
Option 3: Local Server
For running using the Wrangler CLI:
# Install dependencies
npm install
# Run locally (starts on http://localhost:8787)
npm run dev
Connect to your local instance:
Claude Code:
claude mcp add mui npx mcp-remote http://localhost:8787/sse
Manual config:
{
"mcpServers": {
"mui": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8787/sse"
]
}
}
}
🛠️ How It Works
This MCP server fetches documentation directly from mui.com and provides structured information to AI assistants. It helps ensure:
- ✅ Consistency - Correct Material UI component usage across projects
- ✅ Efficiency - Quick component discovery prevents unnecessary custom development
- ✅ Accuracy - Direct access to official documentation ensures proper implementation
- ✅ Customization - Full support for Material UI's theming and styling system
- ✅ Best Practices - Includes accessibility guidelines and proper usage patterns
📚 Example Usage
When connected to Claude Code, you can ask questions like:
- "List all available Material UI components"
- "Show me how to use the Button component"
- "Find components for building forms"
- "How do I set up Material UI theming?"
- "What's the best way to customize Material UI components?"
- "Show me data display components"
The MCP will provide accurate, up-to-date information with direct links to the official Material UI documentation.
🔧 Customization
To modify the MCP server, edit src/index.ts:
- Update component lists in the
COMPONENTSconstant - Add new tools using
this.server.tool(...) - Modify search categories in
COMPONENT_MAP - Enhance documentation extraction methods
📦 Versioning & Releases
This project uses release-it with conventional changelog for versioning.
For Maintainers
To create a new release:
npm run release
This will:
- Prompt you to select version bump (patch/minor/major)
- Update package.json version
- Generate/update CHANGELOG.md from commit messages
- Create a git tag
- Push changes to GitHub
- Create a GitHub release
Commit Message Format
Use Conventional Commits format for automatic changelog generation:
feat: add new component tool- New features (minor version bump)fix: correct component URL- Bug fixes (patch version bump)docs: update installation guide- Documentation changeschore: update dependencies- Maintenance tasksBREAKING CHANGE:in commit body - Breaking changes (major version bump)
See CHANGELOG.md for release history.
📄 License
MIT
🙏 Credits
- Built with Cloudflare Workers
- Documentation from Material UI
- Implements the Model Context Protocol
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。