- functions
- 10
- access
- Runs locally
Use shadcn/ui on Longwave
- Download Longwave or open app.longwave.run.
- Longwave installs the shadcn/ui MCP server and runs it on your machine, with no account or key.
- Ask for the result in any thread, for example: “Find a component for a settings form”. The agent picks the shadcn/ui function and calls it.
shadcn/ui functions
| Function |
|---|
| apply_theme Apply a TweakCN theme preset to the project |
| get_block Get source code for a specific shadcn/ui v4 block (e.g., dashboard-01, login-02, sidebar-01) |
| get_component Get the source code for a specific shadcn/ui v4 component |
| get_component_demo Get demo code illustrating how a shadcn/ui v4 component should be used |
| get_component_metadata Get metadata for a specific shadcn/ui v4 component |
| get_directory_structure Get the directory structure of the shadcn-ui v4 repository |
| get_theme Get details of a specific tweakcn theme |
| list_blocks Get all available shadcn/ui v4 blocks with categorization |
| list_components Get all available shadcn/ui v4 components |
| list_themes List available tweakcn themes |
Use cases
- Find a component for a settings form
- Read a component example before implementation
- Inspect a registry block for a landing page