HeroUI MCP Server
Provides services to build React applications using HeroUI components, offering tools for component discovery, API reference, slots customization, and variant guides.
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., "@HeroUI MCP ServerList all available HeroUI components."
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.
HeroUI MCP Server
A Model Context Protocol (MCP) server providing comprehensive access to the HeroUI component library documentation. Deploy this MCP to help AI assistants like Claude Code build consistent, well-designed React applications using HeroUI components.
π Quick Deploy
This will deploy your HeroUI MCP server to a URL like: heroui-mcp.<your-account>.workers.dev/sse
Related MCP server: Grafana UI MCP Server
π What This MCP Provides
This MCP server gives AI assistants instant access to HeroUI's 50+ React components with 7 specialized tools:
Available Tools
list_components- Browse all 50 available HeroUI componentsget_component_info- Get component details, imports, and basic usageget_component_api- View complete API reference with props and typesget_component_slots- Explore slot-based customization optionsget_variants_guide- Learn theextendVariantscustomization systemsearch_components- Find components by use case (forms, navigation, overlays, etc.)get_theme_info- HeroUI theme system and configuration guide
Component Categories
Forms: Input, Textarea, Select, Checkbox, Radio, Switch, Slider, Date Pickers
Navigation: Navbar, Breadcrumbs, Tabs, Links
Layout: Card, Divider, Spacer, Accordion
Data Display: Table, Listbox, Pagination, Avatar, User, Badge
Feedback: Alert, Toast, Progress, Spinner, Skeleton
Overlays: Modal, Drawer, Popover, Tooltip, Dropdown
Media: Image, Avatar
And more: 50+ components total
π Installation
Option 1: Quick Start (if you don't want to deploy to Cloudflare or run your own locally)
Use the public HeroUI MCP server to get started immediately:
Claude Code:
claude mcp add heroui npx mcp-remote https://heroui-mcp-cloudflare.jgentes.workers.dev/sseCursor:
Install in Cursor:
To install the HeroUI MCP Server in Cursor, copy and paste the following link into your browser's address bar:
cursor://anysphere.cursor-deeplink/mcp/install?name=heroui&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyJtY3AtcmVtb3RlIiwiaHR0cHM6Ly9oZXJvdWktbWNwLWNsb3VkZmxhcmUuamdlbnRlcy53b3JrZXJzLmRldi9zc2UiXX0=Or manually add to your Cursor settings:
{
"mcpServers": {
"heroui": {
"command": "npx",
"args": [
"mcp-remote",
"https://heroui-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://heroui-mcp-cloudflare.<your-account>.workers.dev/sseConnect to Claude Code:
claude mcp add heroui npx mcp-remote https://heroui-mcp-cloudflare.<your-account>.workers.dev/sseOr manually edit your config:
{
"mcpServers": {
"heroui": {
"command": "npx",
"args": [
"mcp-remote",
"https://heroui-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 devConnect to your local instance:
Claude Code:
claude mcp add heroui npx mcp-remote http://localhost:8787/sseManual config:
{
"mcpServers": {
"heroui": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8787/sse"
]
}
}
}π οΈ How It Works
This MCP server fetches documentation directly from heroui.com and provides structured information to AI assistants. It helps ensure:
β Consistency - Correct HeroUI 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 HeroUI's slots and variants 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 HeroUI components"
"Show me how to use the Button component"
"What slots does the Card component have?"
"Find components for building forms"
"How do I customize variants in HeroUI?"
The MCP will provide accurate, up-to-date information from the official HeroUI documentation.
π§ Customization
To modify the MCP server, edit src/index.ts:
Update component lists in the
COMPONENTSconstantAdd new tools using
this.server.tool(...)Modify search categories in
COMPONENT_MAPAdd more slot definitions in
SLOTS_INFO
π¦ Versioning & Releases
This project uses release-it with conventional changelog for versioning.
For Maintainers
To create a new release:
npm run releaseThis 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 slot parsing- 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 HeroUI
Implements the Model Context Protocol
This server cannot be installed
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
- AlicenseAqualityDmaintenanceProvides reference information for Flux UI components, enabling AI assistants to access component documentation and examples from the Flux UI design system.Last updated44393MIT

Grafana UI MCP Serverofficial
AlicenseCqualityDmaintenanceProvides AI assistants with comprehensive access to Grafana's React component library, including TypeScript source code, MDX documentation, Storybook examples, test files, and design system tokens for building Grafana-compatible interfaces.Last updated1229MIT- Flicense-qualityCmaintenanceProvides 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.Last updated2
- Alicense-qualityDmaintenanceProvides access to Aceternity UI component library documentation, enabling AI assistants to browse, search, and retrieve detailed information about components.Last updated3MIT
Related MCP Connectors
@latest documentation and code examples to 9000+ libraries for LLMs and AI code editors in a singlβ¦
Provide your AI coding tools with token-efficient access to up-to-date technical documentation forβ¦
Provides AI assistants with direct access to Mapbox developer APIs and documentation.
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/dreamguxiang/heroui-mcp-cloudflare'
If you have feedback or need assistance with the MCP directory API, please join our Discord server