About Magicui
Magicui is an MCP server in the AI category: a Model Context Protocol (MCP) service for Magic UI components.
Install
claude mcp add magicui -- npx -y magicui-mcpnpx -y magicui-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (3)
getAllComponentsList all available Magic UI components
Parameters not published.
getComponentRetrieve detailed information about a specific component by name
Parameters not published.
getComponentsByTypeFind components by their type (e.g., "button", "input")
Parameters not published.
Ask AI
Ask AI about Magicui
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
Model Context Protocol (MCP) for Magic UI Components
This MCP server provides AI assistants with comprehensive information about Magic UI components, enabling them to effectively understand, recommend, and use these components in development projects.
Note: This is an MCP wrapper for Magic UI, a beautiful UI component library. Visit the original repository for more information.
Overview
The Magic UI MCP service allows AI to:
- Access detailed documentation for Magic UI components
- Discover components by name or type
- Get installation and usage instructions
- Understand component props and API
- Receive recommendations for specific use cases
Installation
The package is now available on npm and can be installed using the following commands:
Option 1: Install globally from npm
# Install globally
npm install -g magicui-mcp
# or
npm i -g magicui-mcp
# Run the server
magicui-mcp
Option 2: Use with npx (no installation required)
npx magicui-mcp
Option 3: Clone and build from source
# Clone the repository
git clone https://github.com/HanlunWang/magicui-mcp.git
cd magicui-mcp
# Install dependencies
npm install
# Build the project
npm run build
# Run the server
npm start
CLI Options
Usage:
npx magicui-mcp [options]
Options:
-h, --help Show this help message
-v, --version Show version information
-p, --port Specify the port to run the server on (default: 3000)
Using with Claude for Desktop
- Make sure you have Claude for Desktop installed and updated
- Open your Claude configuration file:
# On macOS
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
# On Windows
code %APPDATA%\Claude\claude_desktop_config.json
- Add the Magic UI MCP server to your configuration:
{
"mcpServers": {
"magicui": {
"command": "npx",
"args": ["magicui-mcp"]
}
}
}
- Save the file and restart Claude for Desktop
- You should now see the hammer icon in the chat interface indicating MCP tools are available
Using with Cursor
- Make sure you have Cursor installed and updated
- Open Cursor and ensure the Cursor Composer is enabled
- Open the MCP configuration panel in Cursor's settings
- Add a new MCP server with the following settings:
- Name: Magic UI
- Command:
npx - Arguments:
magicui-mcp
- Save the configuration
- The Magic UI MCP tools should now be available in the Cursor Composer
Available Tools
The Magic UI MCP server provides the following tools:
- getComponent: Retrieve detailed information about a specific component by name
- getComponentsByType: Find components by their type (e.g., "button", "input")
- getAllComponents: List all available Magic UI components
Example Queries
When using Claude or Cursor with the Magic UI MCP:
- "What components are available in Magic UI?"
- "Show me how to use the ShimmerButton component"
- "I need a button with a glowing effect, what component should I use?"
- "What props does the GlowButton accept?"
- "Help me implement a Magic UI component for my React application"
Contributing
To add or update component information, modify the database.ts file in the src directory and rebuild the project.
License
MIT
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.