# Lightswind-UI-Library [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/codingstella/Lightswind-UI-Library  
**GitHub Stars:** 1288  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/lightswind-ui-library

## Description
The AI-native CLI-first React component library. 160+ animated, accessible, production-ready components with MCP Server support for Cursor, Claude & GitHub Copilot. Copy-paste architecture — you own the code.

## Tools
Capabilities this server exposes over MCP:

- **list_all_components** — Browse all 160+ components with metadata
- **search_components** — Search by keyword or use-case
- **list_categories** — Get all available component categories
- **get_component** — Fetch full source code of any component
- **get_installation_guide** — Read installation steps for any component
- **get_usage_example** — Get live usage code snippets
- **list_blocks** — Browse all Pro template blocks
- **get_block** — Fetch a full Pro page section (requires key)

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "lightswind-ui-library": {
    "command": "npx",
    "args": ["-y","lightswind@latest"],
    "env": {
      "LIGHTSWIND_LICENSE_KEY": ""
    }
  }
}
```

**Requires environment variables:** `LIGHTSWIND_LICENSE_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Lightswind-UI-Library does

Lightswind-UI-Library connects AI coding clients to the Lightswind UI component catalog through Model Context Protocol. The catalog contains more than 160 React components, including animated interfaces, 3D elements, backgrounds, and advanced interactive components. Components are designed for a copy-paste workflow: the resulting source belongs in the application codebase rather than being consumed as an opaque runtime dependency.

The MCP interface gives an agent structured access to component metadata, categories, source code, setup instructions, and usage examples. Pro accounts also expose template blocks and page sections through the MCP interface.

## How it works

The server runs through the Lightswind CLI. MCP clients launch it with `npx -y lightswind mcp`, allowing an assistant to query the catalog while it edits a project. The available operations include listing the full component inventory, searching by keyword or use case, retrieving a component, and reading its installation or usage information.

The server is separate from the CLI commands that initialize a project or add components. The CLI can initialize supported React projects and add named components locally, while the MCP tools provide the catalog and component information that an AI assistant can use during development. Pro block retrieval requires an authenticated license key.

## Setup and configuration

The package requires Node.js 18 or later. The MCP process can be added to an editor automatically with:

```bash
npx lightswind mcp init
```

For manual setup, configure an MCP server named `lightswind-mcp` with `npx` as the command and `-y lightswind mcp` as its arguments. The documented client configuration examples cover Cursor, Windsurf, Claude Desktop, and VS Code setups using Cline or Continue.

A basic configuration can omit environment variables. To make licensed content available, set `LIGHTSWIND_LICENSE_KEY` to a Lightswind Pro license key in the MCP environment. The same credential can be authenticated through the CLI with `npx lightswind auth login`.

## Tools and capabilities

The MCP tool set includes:

- `list_all_components` for browsing component metadata.
- `search_components` for keyword or use-case searches.
- `list_categories` for discovering component groups.
- `get_component` for retrieving a component's source code.
- `get_installation_guide` for component-specific setup steps.
- `get_usage_example` for code examples.
- `list_blocks` for browsing Pro template blocks.
- `get_block` for retrieving a complete Pro page section when a license key is available.

The related CLI can initialize a project, add individual components or category collections, list components, and manage local Pro authentication.

## Limitations and notes

The component workflow places source files in the consuming project, so applications import local component files rather than importing components directly from the `lightswind` package. Project setup targets Next.js, Vite, Remix, or Create React App projects using React 18 or 19 and Tailwind CSS 3 or 4. Pro blocks and other licensed content depend on a valid Lightswind license key.

_Full upstream README: https://allmcps.com/mcp/lightswind-ui-library/readme_

