labsUI
CLI and MCP server to search, add and update labsUI React components in a project
The repository was last updated 17 days ago and is published under MIT.
labsUI is an MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Platforms
- CLI
- Runs
- Locally
- GitHub stars
- 1
- Last commit
- Language
- TypeScript
- License
- MIT
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add labsui -- npx -y @kznlabs/labsuiAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"labsui": {
"command": "npx",
"args": [
"-y",
"@kznlabs/labsui"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"labsui": {
"command": "npx",
"args": [
"-y",
"@kznlabs/labsui"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"labsui": {
"command": "npx",
"args": [
"-y",
"@kznlabs/labsui"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"labsui": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@kznlabs/labsui"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add labsui -- npx -y @kznlabs/labsuiOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.labsui]
command = "npx"
args = ["-y", "@kznlabs/labsui"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"labsui": {
"command": "npx",
"args": [
"-y",
"@kznlabs/labsui"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "labsui": { "command": "npx", "args": [ "-y", "@kznlabs/labsui" ] } } }Or run: gemini mcp add -s user labsui npx -- -y @kznlabs/labsui
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "labsui": { "command": "npx", "args": [ "-y", "@kznlabs/labsui" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "labsui": { "command": "npx", "args": [ "-y", "@kznlabs/labsui" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "labsui": { "command": "npx", "args": [ "-y", "@kznlabs/labsui" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "labsui": { "command": "npx", "args": [ "-y", "@kznlabs/labsui" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "labsui": { "command": "npx", "args": [ "-y", "@kznlabs/labsui" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "labsui": { "command": "npx", "args": [ "-y", "@kznlabs/labsui" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "labsui": { "command": "npx", "args": [ "-y", "@kznlabs/labsui" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About labsUI
labsUI is a React component set where nothing is imported from a package: the CLI copies each component's source into your project so you can edit it freely. The registry ships inside the npm package, so each version installs identical code and works offline apart from dependency installs.
The registry entry describes this server as a way to search, add, diff and update those components from an assistant. The CLI commands behind it are init (styles, theme, utils, motion provider), add (resolving dependencies such as data-table pulling in table and pagination), search, view (props and examples), update (newer components, keeping your edits) and doctor. Search also finds recipes, which are prompts for whole apps such as a blog, docs site or shop.
It targets React 19, Tailwind CSS v4 and a @/* path alias, with Next.js 16 used in the examples, and needs Node.js 22 or newer or Deno. The site advertises WCAG 2.2 AA with no axe violations and browser testing in Chromium, Firefox and WebKit. The pricing cards on the site are demo components, not product prices.
What it does
- Source-copy install
- Writes component code into your project so you own and edit it.
- Dependency resolution
- Adds everything a component imports and installs its npm packages.
- Search and view
- Finds components, hooks and recipes, and shows props and examples.
- Update keeping edits
- Brings newer component versions while preserving local changes.
- Doctor check
- Verifies the project's setup for labsUI.
- Single spring motion
- Components share one spring configuration for animation.
Good for
- Add a data table or command palette to a Next.js app from an assistant
- Find which labsUI component fits a described need
- Update copied components without losing local edits
- Scaffold a pricing page from a recipe
labsUI FAQ
What does labsUI require?
React 19, Tailwind CSS v4, a `@/*` path alias and Node.js 22+ or Deno.
Is labsUI a dependency I import?
No. The CLI copies component source into your project.
How do I initialise a project?
Run `npx @kznlabs/labsui init` once.
Does labsUI work outside Next.js?
The site says any React framework works; examples use the Next.js App Router.
How do I add labsUI to Claude Code?
Run this command in your terminal: claude mcp add labsui -- npx -y @kznlabs/labsui
What are the best alternatives to labsUI?
The closest alternatives to labsUI are REA, HyperFrames by HeyGen, Context7, Chrome DevTools MCP and Codebase Memory.
Where this comes from
- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.


