A Model Context Protocol (MCP) server for SupaUI that enables AI agents to generate, fetch, and manage UI components through natural language interactions.
- Create UI Components: Generate React components based on natural language descriptions
- Fetch UI Components: Search and retrieve components from buouui.com
- List UI Components: Browse available components with detailed previews
- TypeScript Support: Built with TypeScript for better type safety and developer experience
use Smithery to install supaui-mcp in Claude:
npx -y @smithery/cli install @buoooou/supaui-mcp --client claude- clone repo:
git clone [your-repository-url]
cd mcp-ui-gen=======
- Node.js (Latest LTS version)
- BUOU_API_KEY from buouui.com
# Install dependencies
pnpm install
# Build the project
pnpm build- Set your BUOU_API_KEY in the environment:
export BUOU_API_KEY=your_api_key_here- Or create a configuration file based on smithery.yaml requirements.
pnpm startThe server supports the following commands:
- Create UI Component:
/ui create a basic button
- Fetch UI Component:
/ui fetch modern login form
- List UI Components:
/buou list cards
- Generates new UI components based on natural language descriptions
- Endpoint:
/api/create
- Retrieves existing components from buouui.com
- Endpoint:
/api/fetch
- Lists available components with previews
- Endpoint:
/api/list
# Build in watch mode
tsc -w
# Run tests
pnpm testBUOU_API_KEY: Your API key from buouui.com (Required)
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
ISC
For support, please visit:
- buouui.com
- Email: [email protected]