Complete reference for the shadcn/ui MCP Server tools and capabilities.
- get_component - Get component source code
- get_component_demo - Get component usage examples
- list_components - List all available components
- get_component_metadata - Get component dependencies and info
- get_block - Get complete block implementations
- list_blocks - List all available blocks with categories
- get_directory_structure - Explore repository structure
// Get button component source
{
"tool": "get_component",
"arguments": { "componentName": "button" }
}
// List all components
{
"tool": "list_components",
"arguments": {}
}
// Get component demo
{
"tool": "get_component_demo",
"arguments": { "componentName": "card" }
}// Get dashboard block
{
"tool": "get_block",
"arguments": { "blockName": "dashboard-01" }
}
// List all blocks
{
"tool": "list_blocks",
"arguments": {}
}// Get directory structure
{
"tool": "get_directory_structure",
"arguments": { "path": "components" }
}All tools support four frameworks:
- React (default) - shadcn/ui v4
- Svelte - shadcn-svelte
- Vue - shadcn-vue
- React Native - react-native-reusables
- get_component - Component source code tool
- get_component_demo - Component demo tool
- list_components - Component listing tool
- get_block - Block implementation tool
- list_blocks - Block listing tool