mcp-magic-ui

mcp-magic-ui

3.4

If you are the rightful owner of mcp-magic-ui and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

MCP Magic UI is a server that implements the Model Context Protocol (MCP) to provide access to Magic UI components from the magicuidesign/magicui repository.

MCP Magic UI is a server designed to facilitate the discovery and utilization of Magic UI components by implementing the Model Context Protocol (MCP). It fetches component data from the Magic UI GitHub repository, categorizes them, and makes them accessible through an MCP API. This setup allows AI assistants and other MCP clients to easily discover and integrate Magic UI components into their applications. The server supports multiple transport options, including stdio and HTTP, and features a caching system to minimize GitHub API calls and enable offline functionality. Additionally, it includes a fallback mechanism that provides mock data when the GitHub API is unavailable, ensuring consistent access to component information.

Features

  • Component Discovery: Access all Magic UI components through MCP tools.
  • Component Categorization: Components are automatically categorized based on their names and dependencies.
  • Caching System: Local caching of component data to reduce GitHub API calls and work offline.
  • Multiple Transport Options: Support for both stdio and HTTP transport methods.
  • Fallback Mechanism: Mock data is provided when GitHub API is unavailable.

Tools

  1. get_all_components

    Get a list of all available Magic UI components with their metadata.

  2. get_component_by_path

    Get the source code of a specific component by its file path.