shadcn-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@shadcn-mcp-serveradd a shadcn button component"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Shadcn MCP Server
A containerized Model Context Protocol (MCP) server that enables AI agents to dynamically install shadcn UI components into a mounted project workspace.
Features
Standardized MCP Interface: Exposes an
add_shadcn_componenttool to add shadcn components.Dockerized Execution: Run within a clean Docker environment, shielding host dependencies.
Seamless Volume Mounting: Configured to run
npx shadcn@latest adddirectly inside the mounted host codebase.Automated Registry Publishing: Automatically tags and pushes Docker images to GitHub Container Registry (GHCR) via GitHub Actions.
Related MCP server: Shadcn Space MCP
Getting Started
Usage in Docker MCP Toolkit
If your server is published to GitHub Container Registry, users can add it to their local IDE workspace with these steps:
Create a local profile:
docker mcp profile create --name my-projectAdd the MCP server:
docker mcp profile server add my-project --server docker://ghcr.io/your-github-username/shadcn-mcp:latestConfigure the workspace mount directory:
docker mcp profile config my-project --set shadcn-mcp.volumes=".:/workspace"Connect the profile to your IDE (VS Code):
docker mcp client connect vscode --profile my-project
Local Development
Install dependencies:
npm installBuild TypeScript:
npm run buildStart the server:
npm start
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/favurr/shadcn-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server