Shadcn Registry Mcp Server
Created at 5 months ago
by reuvenaor
MCP server for the shadcn/ui component registry and CLI. It enables remote, programmatic, or containerized execution of shadcn CLI commands (such as init, add, etc.) that you would normally run locally, making it easy to automate, integrate, or run in cloud/dev environments. Exposes shadcn CLI operations as MCP tools, so you (or an AI agent) can: - Initialize a project - Add components from the shadcn registry including block components - List and fetch registry items - Run all shadcn CLI workflows remotely - Supports both the official shadcn registry - https://ui.shadcn.com/r and custom/self-hosted registries follow this guide: https://ui.shadcn.com/docs/blocks
Categories
Tags
shadcn
mcp-server
cli-automation
What is Shadcn Registry MCP Server?
The Shadcn Registry MCP Server is a Model Context Protocol (MCP) server designed for the shadcn/ui component registry and CLI. It allows for remote, programmatic, or containerized execution of shadcn CLI commands, facilitating automation and integration in cloud or development environments.
How to use Shadcn Registry MCP Server?
To use the MCP server, you can run it in a Docker container or via npx. For Docker, you need to mount your project directory and set environment variables for the registry URL and style. For npx, you can run it directly in your local development or CI/CD pipelines.
Key features of Shadcn Registry MCP Server?
- Initialize projects and add components from the shadcn registry.
- List and fetch registry items.
- Execute all shadcn CLI workflows remotely.
- Support for both official and custom/self-hosted registries.
Use cases of Shadcn Registry MCP Server?
- Automating project setup and component addition in cloud environments.
- Integrating shadcn CLI commands into CI/CD pipelines.
- Running shadcn CLI commands remotely for enhanced project management.
FAQ from Shadcn Registry MCP Server?
- Can I run the MCP server locally?
Yes, you can run it using Docker or npx for local development.
- What is the purpose of the REGISTRY_URL environment variable?
It specifies the URL of the shadcn registry you want to use, either the official one or your own self-hosted version.
- Is there documentation available for using the MCP server?
Yes, detailed documentation is available at https://ui.shadcn.com/docs/blocks.
View More
MCP Servers