You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get configured registry names from components.json - Returns error if no components.json exists (use init_project to create one)
list_items_in_registries
List items from registries (requires components.json - use init_project if missing)
search_items_in_registries
Search for components in registries using fuzzy matching (requires components.json). After finding an item, use get_item_examples_from_registries to see usage examples.
view_items_in_registries
View detailed information about specific registry items including the name, description, type and files content. For usage examples, use get_item_examples_from_registries instead.
get_item_examples_from_registries
Find usage examples and demos with their complete code. Search for patterns like 'accordion-demo', 'button example', 'card-demo', etc. Returns full implementation code with dependencies.
get_add_command_for_items
Get the shadcn CLI add command for specific items in a registry. This is useful for adding one or more components to your project.
get_audit_checklist
After creating new components or generating new code files, use this tool for a quick checklist to verify that everything is working as expected.
Tool Input Schemas
get_project_registries
No arguments required.
{
"type": "object",
"properties": {}
}
list_items_in_registries
Argument
Type
Required
Description
registries
string[]
Yes
Array of registry names to search (e.g., ['@shadcn', '@acme'])
limit
number
No
Maximum number of items to return
offset
number
No
Number of items to skip for pagination
{
"type": "object",
"properties": {
"registries": {
"type": "array",
"items": { "type": "string" },
"description": "Array of registry names to search (e.g., ['@shadcn', '@acme'])"
},
"limit": {
"type": "number",
"description": "Maximum number of items to return"
},
"offset": {
"type": "number",
"description": "Number of items to skip for pagination"
}
},
"required": ["registries"]
}
search_items_in_registries
Argument
Type
Required
Description
registries
string[]
Yes
Array of registry names to search (e.g., ['@shadcn', '@acme'])
query
string
Yes
Search query string for fuzzy matching against item names and descriptions
limit
number
No
Maximum number of items to return
offset
number
No
Number of items to skip for pagination
{
"type": "object",
"properties": {
"registries": {
"type": "array",
"items": { "type": "string" },
"description": "Array of registry names to search (e.g., ['@shadcn', '@acme'])"
},
"query": {
"type": "string",
"description": "Search query string for fuzzy matching against item names and descriptions"
},
"limit": {
"type": "number",
"description": "Maximum number of items to return"
},
"offset": {
"type": "number",
"description": "Number of items to skip for pagination"
}
},
"required": ["registries", "query"]
}
view_items_in_registries
Argument
Type
Required
Description
items
string[]
Yes
Array of item names with registry prefix (e.g., ['@shadcn/button', '@shadcn/card'])
Array of items to get the add command for prefixed with the registry name (e.g., ['@shadcn/button', '@shadcn/card'])
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": { "type": "string" },
"description": "Array of items to get the add command for prefixed with the registry name (e.g., ['@shadcn/button', '@shadcn/card'])"
}
},
"required": ["items"]
}