shadcn-studio-mcp
v1.1.0shadcn-studio MCP
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get-create-instructions Get Instructions for shadcn/studio.
Get instructions for creating Shadcn blocks using existing blocks. This tool provides instructions for creating new Shadcn blocks using existing blocks. Use this tool when the user requests to generate a new component. mentions /create-shadcn or /cui. Strictly follow the steps one by one to ensure successful code generation.Retrieves Instructions for IDE agent to follow for creating/generating/updating shadcn blocks.
get-refine-instructions Get Instructions for refining Shadcn blocks/code/component or page.
Get instructions for refining Shadcn blocks. This tool provides instructions for refining existing Shadcn blocks. Use this tool when the user requests to refine an existing component. mentions /refine-shadcn or /rui.
get-ftc-instructions Get Instructions for Figma to Code workflow.
Get instructions for converting Figma designs to code using Shadcn blocks. This tool provides step-by-step instructions for the Figma to Code workflow. Use this tool when the user requests to convert Figma design to code. mentions /figma-to-code or /ftc. The workflow involves: 1) Using Figma MCP to list Pro/Free Blocks component instances, 2) Using our MCP to install matching blocks, 3) Building the page structure, 4) Replacing content from Figma.
get-blocks-metadata Get Blocks Metadata
FOR CREATE_UI (/cui): Retrieve metadata of all available blocks. Returns list of available blocks with names, descriptions, and categories. Pass `style`: read the user's components.json and pass its `style` value exactly as written (e.g. 'radix-nova', 'base-vega', 'new-york-v4'). The list is limited to blocks that can actually be installed in that project, and `notAvailableForThisStyle` lists sections that exist only for other styles.
| Parameter | Type | Description |
|---|---|---|
style * | string | The `style` value from the user's components.json, exactly as written (e.g. 'radix-nova', 'base-vega', 'new-york-v4') |
parse-figma-blocks Parse Figma Component Names (FIGMA-TO-CODE WORKFLOW)
FOR FIGMA-TO-CODE WORKFLOW (/ftc): Parse Figma component instance names and convert them to proper Shadcn Studio block format for installation. Accepts both instance name formats: 'pro-blocks/marketing-ui/hero-section/hero-section-24' (current) and 'Pro Blocks / Marketing-ui / features-section / Feature 01' (older), and converts them to '@ss-blocks/hero-section-24' / '@ss-blocks/feature-01'. Use this tool after getting the component list from the Figma MCP. DO NOT use for create-ui or refine-ui workflows.
| Parameter | Type | Description |
|---|---|---|
figmaComponents * | array | Array of Figma component instance names from the Figma MCP (e.g., ['pro-blocks/marketing-ui/hero-section/hero-section-24', 'Pro Blocks / Marketing-ui / features-section / Feature 01']) |
get-block-meta-content Get Block Meta Content (CREATE-UI WORKFLOW)
FOR CREATE-UI WORKFLOW (/cui): Fetch detailed information about blocks in a specific category for installation. Use this to explore and select the most suitable block for installation. Pass the same `style` from the user's components.json that you passed to get-blocks-metadata. Only blocks installable for that style are returned; if the section is not available for that style, tell the user and choose another section instead of installing it.
| Parameter | Type | Description |
|---|---|---|
endpoint * | string | The `path` of the block section from get-blocks-metadata (e.g. '/marketing-ui/hero-section/registry') |
style * | string | The `style` value from the user's components.json, exactly as written (e.g. 'radix-nova', 'base-vega', 'new-york-v4') |
collect_selected_blocks Collect Selected Blocks (CREATE-UI & FTC WORKFLOW)
FOR CREATE-UI WORKFLOW (/cui) AND FIGMA-TO-CODE WORKFLOW (/ftc): Collect and store selected blocks for batch installation command generation. Use this tool after selecting a specific block from get-block-meta-content (for /cui) or after parsing Figma components with parse-figma-blocks (for /ftc). This tool accumulates blocks until all required blocks are selected, then allows final command generation.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action to perform: 'add' to add a block, 'list' to show collected blocks, 'clear' to reset the collection |
blockName * | string | The name of the selected block (e.g., 'hero-section-01', 'navbar-component-13', 'feature-01') |
blockType * | string | The type/category of the block (e.g., 'hero', 'navbar', 'pricing', 'footer', 'features-section') |
get_add_command_for_items Generate Installation Command (CREATE-UI & FTC WORKFLOW)
FOR CREATE-UI WORKFLOW (/cui) AND FIGMA-TO-CODE WORKFLOW (/ftc): Generate the shadcn CLI add command for all collected blocks. This returns the exact command that should be executed to install the components. ALWAYS pass `style` from the user's components.json: blocks that are not available for that style are left out of the command and reported, so the install does not fail.
| Parameter | Type | Description |
|---|---|---|
items | array | Array of items to get the add command for (only used if useCollectedBlocks is false) |
style | string | The `style` value from the user's components.json, exactly as written (e.g. 'radix-nova', 'base-vega', 'new-york-v4'). Used to verify every block can be installed in this project. |
useCollectedBlocks | boolean | Whether to use the collected blocks (default: true) or provide custom items |
get-component-meta-content Search Component Metadata (REFINE WORKFLOW ONLY)
FOR REFINE WORKFLOW ONLY: Search and find the most appropriate component from user query. This tool searches through available components metadata to identify which component is most suitable for the user's requirements. Use this tool first to discover suitable components before using get-component-content. This tool is ONLY for the refine workflow (/rui). DO NOT use this for create-ui workflow - use get-block-meta-content instead. Pass `style` from the user's components.json: only components installable for that style are returned. If the component type is not available for that style, tell t…
| Parameter | Type | Description |
|---|---|---|
endpoint * | string | The raw component type, e.g. 'button', 'card', 'input' (not 'shimmer-button') |
style * | string | The `style` value from the user's components.json, exactly as written (e.g. 'radix-nova', 'base-vega', 'new-york-v4') |
get-component-content Get Component Content & Install Command (REFINE WORKFLOW ONLY)
FOR REFINE WORKFLOW ONLY: If a component was found from get-component-meta-content tool, this tool fetches the component content and generates the shadcn CLI installation command for that component. If no suitable component is found, this tool will help create/update components according to the user query. This returns the exact command that should be executed to install the components. This tool is ONLY for the refine workflow (/rui). DO NOT use this for create-ui workflow - use get-block-meta-content instead.
| Parameter | Type | Description |
|---|---|---|
endpoint * | string | The component name, e.g. 'button-16' |
style * | string | The `style` value from the user's components.json, exactly as written (e.g. 'radix-nova', 'base-vega', 'new-york-v4') |
collect_selected_components Collect Selected Components (REFINE-UI WORKFLOW)
FOR REFINE-UI WORKFLOW (/rui): Collect and store selected components for batch installation command generation. Use this tool after selecting a specific component from get-component-meta-content. This tool accumulates components until all required components are selected, then allows final command generation. DO NOT use for the create-ui workflow.
| Parameter | Type | Description |
|---|---|---|
action * | string | Action to perform: 'add' to add a component, 'list' to show collected components, 'clear' to reset the collection |
componentName * | string | The name of the selected component (e.g., 'button-44', 'alert-12', 'card-05') |
componentType * | string | The type/category of the component (e.g., 'button', 'alert', 'card', 'input') |
get_add_command_for_components Generate Component Installation Command (REFINE-UI WORKFLOW)
FOR REFINE-UI WORKFLOW (/rui): Generate the shadcn CLI add command for all collected components. This returns the exact command that should be executed to install the components. ALWAYS pass `style` from the user's components.json: components that are not available for that style are left out of the command and reported, so the install does not fail. DO NOT use for the create-ui workflow.
| Parameter | Type | Description |
|---|---|---|
items | array | Array of items to get the add command for (only used if useCollectedComponents is false) |
style | string | The `style` value from the user's components.json, exactly as written (e.g. 'radix-nova', 'base-vega', 'new-york-v4'). Used to verify every component can be installed in this project. |
useCollectedComponents | boolean | Whether to use the collected components (default: true) or provide custom items |
install-theme Install Shadcn Studio Theme (REFINE WORKFLOW ONLY)
FOR REFINE WORKFLOW ONLY (/rui): Install a theme from Shadcn Studio using the appropriate package manager. Supports both public themes (e.g., 'modern-minimal') and private user themes (UUID format). Automatically detects the project's package manager (npm, pnpm, yarn, bun) and generates the correct installation command. DO NOT use this for the create-ui (/cui) workflow.
| Parameter | Type | Description |
|---|---|---|
themeName * | string | The name or UUID of the theme to install (e.g., 'modern-minimal' for public themes or UUID for private themes) |
get-illustrations-metadata Get Illustrations Metadata (REFINE-UI & CREATE-UI WORKFLOW)
FOR REFINE-UI (/rui), AND CREATE-UI (/cui) WHEN THE USER ASKS FOR ILLUSTRATIONS: List shadcn/studio illustration categories and sections (animated orbit, beam, marquee, card stack, chat, text animation, ripple and more visuals that are placed inside sections, e.g. in a hero or a feature card). Returns each section's `path`, title, description and how many illustrations the user can install. Only sections the user's plan includes are listed. If the user already named a specific illustration (e.g. 'orbit-12'), skip this and call get_add_command_for_illustrations directly. Pass `style` from the u…
| Parameter | Type | Description |
|---|---|---|
style * | string | The `style` value from the user's components.json, exactly as written (e.g. 'radix-nova', 'base-vega', 'new-york-v4') |
get-illustrations Get Illustrations of a Section (REFINE-UI & CREATE-UI WORKFLOW)
FOR REFINE-UI (/rui), AND CREATE-UI (/cui) WHEN THE USER ASKS FOR ILLUSTRATIONS: Get the illustrations of one section (use a `path` from get-illustrations-metadata, e.g. 'orbit/logo-orbit'). Returns each illustration's unique `name`, title and description, limited to what the user's plan includes. Pick the best match by its description, then install it with get_add_command_for_illustrations.
| Parameter | Type | Description |
|---|---|---|
section * | string | The section `path` from get-illustrations-metadata, e.g. 'orbit/logo-orbit' |
style * | string | The `style` value from the user's components.json, exactly as written (e.g. 'radix-nova', 'base-vega', 'new-york-v4') |
get_add_command_for_illustrations Generate Illustration Installation Command (REFINE-UI & CREATE-UI WORKFLOW)
FOR REFINE-UI (/rui), AND CREATE-UI (/cui) WHEN THE USER ASKS FOR ILLUSTRATIONS: Generate the shadcn CLI add command for one or more illustrations by their unique names (e.g. ['orbit-12', 'beam-illustrations-03']). Illustrations that don't exist or are not included in the user's plan are left out and reported. After installing, import the illustration from components/shadcn-studio/illustrations/... and place it inside the existing layout; only swap content such as logos or text, don't rewrite it.
| Parameter | Type | Description |
|---|---|---|
names * | array | Unique illustration names, e.g. ['orbit-12'] (with or without the @ss-illustrations/ prefix) |
style * | string | The `style` value from the user's components.json, exactly as written (e.g. 'radix-nova', 'base-vega', 'new-york-v4') |