mcp
Official Magic UI MCP server.
claude mcp add --transport stdio magicuidesign-mcp npx -y @magicuidesign/mcp@latest
How to use
The Magic UI MCP server provided by @magicuidesign/mcp serves as a centralized MCP endpoint for Magic UI components and design tools. Once you configure this server in your MCP-enabled IDE or environment, you can query a suite of tools that expose detailed information about available UI components, layouts, media components, motion effects, text reveals, text effects, widgets, and more. Tools are grouped by category, such as getUIComponents, getLayout, getMedia, getMotion, getTextReveal, getTextEffects, getButtons, getEffects, getWidgets, getBackgrounds, and getDevices, each returning structured descriptions and usage guidance for the corresponding Magic UI features. This enables dynamic browsing, discovery, and integration of Magic UI elements directly through MCP prompts like: “Provide a list of all components” or “Explain the layout implementation for grid patterns.”
How to install
Prerequisites:
- Node.js and npm installed on your machine
- Internet access to fetch the MCP package
- Install and configure the MCP server using the example from the README:
Create or update your MCP config file (e.g., mcp.config.json) with:
{ "mcpServers": { "magicuidesign-mcp": { "command": "npx", "args": ["-y", "@magicuidesign/mcp@latest"] } } }
-
Run the MCP server configuration in your IDE or CLI as appropriate for your setup. The command uses npx to install and run the MCP package on demand.
-
Verify the server is reachable through your MCP client and start issuing tool requests such as getUIComponents, getLayout, and getMedia to explore Magic UI capabilities.
Additional notes
Notes and tips:
- The server exposes a wide range of tools; some clients may have limits on the number of tools they can call. If you hit a limit, group requests or use iterative queries.
- The npm package name is @magicuidesign/mcp; keep it updated to receive the latest tools and enhancements.
- If you need to customize environment settings, you can extend the mcpServers configuration with env variables as needed (e.g., env: { "VAR_NAME": "description" }).
- Ensure your network and firewall settings allow MCP tool calls to reach the server and that any required dependencies for the underlying Magic UI tools are available in your environment.
Related MCP Servers
mongodb-lens
🍃🔎 MongoDB Lens: Full Featured MCP Server for MongoDB Databases
short-url
简单易用的短链接生成工具,完全开源、免费、无需登录,可私有化部署,链接永久有效!
llms-txt-generator
The ultimate AI-powered generator for llms.txt and llms-full.txt files.
civitai
A Model Context Protocol server for browsing and discovering AI models on Civitai
mcpplay
The FastAPI /docs experience, for MCP servers.
webasyst
MCP server for Webasyst framework — tools for apps, plugins, themes, UI components via AI assistants (Claude, Cursor)