shadcn-ui-mcp-server

shadcn-ui-mcp-server

3.5

If you are the rightful owner of shadcn-ui-mcp-server 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.

The Shadcn UI v4 MCP Server is a Model Context Protocol server that provides AI assistants with access to shadcn/ui components, blocks, demos, and metadata.

The Shadcn UI v4 MCP Server is designed to facilitate seamless interaction between AI tools and the shadcn/ui component library. By leveraging the Model Context Protocol (MCP), this server allows AI assistants to access a wide range of UI components, complete block implementations, and detailed metadata. This integration is particularly beneficial for AI tools like Claude Desktop and Continue.dev, which can utilize the server to retrieve and manipulate UI components efficiently. The server supports directory browsing of the shadcn/ui repository and integrates with the GitHub API for efficient caching and rate limit management. Users can enhance their experience by using a GitHub Personal Access Token, which significantly increases the API request limit, ensuring better reliability and faster responses. The server is easy to set up and can be run using npx, making it accessible without the need for installation.

Features

  • Component Source Code: Access the latest TypeScript source for shadcn/ui v4 components.
  • Component Demos: Retrieve example implementations and usage patterns.
  • Blocks Support: Obtain complete block implementations like dashboards and calendars.
  • Metadata Access: Access component dependencies, descriptions, and configuration details.
  • GitHub API Integration: Efficient caching and intelligent rate limit handling.

Tools

  1. get_component

    Get component source code

  2. get_component_demo

    Get component usage examples

  3. list_components

    List all available components

  4. get_component_metadata

    Get component dependencies and info

  5. get_block

    Get complete block implementations

  6. list_blocks

    List all available blocks with categories

  7. get_directory_structure

    Explore the shadcn/ui repository structure