|
|
|
|
|
by iagooar
268 days ago
|
|
Basically, you install the shadcn MCP server as described here: https://ui.shadcn.com/docs/mcp If you use Codex, convert the config to toml: [mcp_servers.shadcn]
command = "npx"
args = ["shadcn@latest", "mcp"] Now with the MCP server, you can instruct the coding agent to use shadcn. I often do "I you need to add new UI elements, make sure to use shadcn and the shadcn component registry to find the best fitting component" The genius move is that the shadcn components are all based on Tailwind and get COPIED to your project. 95% of the time, the created UI views are just pixel-perfect, spacing is right, everything looks good enough. You can take it from here to personalize it more using the coding agent. |
|