get_component
Fetch full source code of any component
How to use it
get_component is exposed by the Lightswind UI Library MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_component tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Lightswind UI Library
$
npx lightswind@latest initOther tools in Lightswind UI Library (7)
get_block
Fetch a full Pro page section (requires key)
get_installation_guide
Read installation steps for any component
get_usage_example
Get live usage code snippets
list_all_components
Browse all 160+ components with metadata
list_blocks
Browse all Pro template blocks
list_categories
Get all available component categories
search_components
Search by keyword or use-case