its-just-ui

its-just-ui

its-just-ui

Enables AI-powered generation and customization of React components from the its-just-ui library through natural language interactions in your editor.

Provides tools for generating, customizing, and documenting React components from the its-just-ui library through natural language interactions, enabling component creation with props and styling, form generation with validation, responsive layouts, theme configuration, and Tailwind CSS utility class generation.

4408 views3RemoteLocal (stdio)

What it does

  • Generate React components with props and styling
  • Create responsive layouts using Tailwind CSS
  • Build forms with validation
  • Configure themes and typography
  • Generate Tailwind utility classes
  • Check accessibility features and ARIA attributes

Best for

React developers using its-just-ui libraryBuilding responsive web applicationsCreating accessible UI componentsRapid prototyping with pre-built components
Optimized for Cursor IDENatural language component generationBuilt-in accessibility checking

About its-just-ui

its-just-ui is a community-built MCP server published by its-just-ui that provides AI assistants with tools and capabilities via the Model Context Protocol. Easily build React apps with its-just-ui, a top React UI library for custom components, Material UI styling, and Tailwin It is categorized under developer tools. This server exposes 9 tools that AI clients can invoke during conversations and coding sessions.

How to install

You can install its-just-ui in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport. This server supports remote connections over HTTP, so no local installation is required.

License

its-just-ui is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

Tools (9)

generate_component

Generate an its-just-ui component with specified props and styling

list_components

List available its-just-ui components and their categories

compose_components

Create a composition of multiple its-just-ui components

configure_theme

Configure theme settings including colors, mode, and typography

generate_tailwind_classes

Generate Tailwind utility classes for specific use cases

MCP its-just-ui Server for Cursor

npm version npm downloads license Cursor Compatible MCP SDK

A Model Context Protocol (MCP) server optimized for Cursor IDE, enabling AI-powered generation, customization, and documentation of its-just-ui React components directly in your editor.

🎯 Why Use This in Cursor?

  • Native MCP Support: Cursor has built-in support for MCP servers via stdio
  • AI-Powered Component Generation: Generate complete its-just-ui components with a simple prompt
  • Contextual Awareness: The AI understands your project structure and existing code
  • Zero Configuration: Works out of the box with minimal setup

Table of Contents

  • πŸš€ Quick Start for Cursor
  • βš™οΈ Cursor Configuration
  • πŸ› οΈ Available Tools in Cursor
  • πŸ’‘ Cursor Usage Examples
  • πŸ“š Alternative: Claude Desktop
  • Development
  • Troubleshooting
  • License

πŸš€ Quick Start for Cursor

Option 1: NPM Package (Recommended)

# Simply add to your Cursor config - no installation needed!
# Cursor will handle everything via npx

Option 2: Local Development

# Clone and build
git clone https://github.com/its-just-ui/its-just-mcp.git
cd its-just-mcp
npm install && npm run build

βš™οΈ Cursor Configuration

Step 1: Create MCP Configuration

Project-Level (Recommended)

Create .cursor/mcp.json in your React project root:

{
  "mcpServers": {
    "its-just-ui": {
      "command": "npx",
      "args": ["-y", "its-just-mcp"],
      "env": {}
    }
  }
}

Global Configuration (All Projects)

Create ~/.cursor/mcp.json:

{
  "mcpServers": {
    "its-just-ui": {
      "command": "npx",
      "args": ["-y", "its-just-mcp"],
      "env": {}
    }
  }
}

Local Development Setup

If you're developing the MCP server locally:

{
  "mcpServers": {
    "its-just-ui": {
      "command": "node",
      "args": ["/absolute/path/to/its-just-mcp/dist/index.js"],
      "env": {}
    }
  }
}

Step 2: Restart Cursor

After adding the configuration, restart Cursor to load the MCP server.

Step 3: Verify Installation

In Cursor, you can ask the AI:

  • "What MCP tools are available?"
  • "Generate a Button component using its-just-ui"

🎨 Cursor-Specific Features

Inline Component Generation

Ask Cursor AI to generate components directly in your code:

"Add a primary button with loading state here"
"Create a card grid layout with 3 columns"
"Generate a login form with validation"

Context-Aware Suggestions

The MCP server understands your project context:

  • Existing theme configuration
  • Component usage patterns
  • Project structure

Quick Commands in Cursor

  • Generate: ⌘+K β†’ "Generate [component] with [props]"
  • Document: ⌘+K β†’ "Document this its-just-ui component"
  • Theme: ⌘+K β†’ "Configure dark theme for its-just-ui"
  • Form: ⌘+K β†’ "Create a contact form with validation"

πŸ› οΈ Available Tools in Cursor

Component Generation

ToolCursor Command ExampleDescription
generate_component"Generate a primary button"Create any its-just-ui component
list_components"Show me all form components"Browse available components
compose_components"Create a card grid layout"Compose multiple components

Theme & Styling

ToolCursor Command ExampleDescription
configure_theme"Set up dark mode theme"Configure ThemeProvider
generate_tailwind_classes"Generate spacing utilities"Create Tailwind utility classes
create_responsive_layout"Make a responsive grid"Build responsive layouts

Forms & Documentation

ToolCursor Command ExampleDescription
create_form"Build a contact form"Generate complete forms
get_component_docs"Show Button documentation"Get component docs
check_accessibility"Check Dialog accessibility"Review ARIA attributes

πŸ’‘ Cursor Usage Examples

Example 1: Generate a Component

In Cursor, simply type ⌘+K and ask:

"Generate a primary button with loading state"

The AI will use the MCP server to generate:

<Button variant="primary" loading={true}>
  Processing...
</Button>

Example 2: Create a Complete Form

"Create a login form with email and password validation"

Result:

<form onSubmit={handleSubmit}>
  <Input
    type="email"
    name="email"
    label="Email"
    required
    placeholder="Enter your email"
  />
  <Input
    type="password"
    name="password"
    label="Password"
    required
    minLength={8}
  />
  <Button type="submit" variant="primary">
    Login
  </Button>
</form>

Example 3: Configure Theme

"Set up a dark theme with blue primary color"

Result:

<ThemeProvider
  theme={{
    mode: "dark",
    colors: {
      primary: "#3b82f6",
      secondary: "#64748b"
    }
  }}
>
  {children}
</ThemeProvider>

πŸ“š Alternative: Claude Desktop

While this server is optimized for Cursor, it also works with Claude Desktop:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "its-just-ui": {
      "command": "npx",
      "args": ["-y", "its-just-mcp"],
      "env": {}
    }
  }
}

Development

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build for production
npm run build

# Run tests
npm test

Linting & Formatting

# ESLint
npm run lint

# Prettier
npm run format

Testing

# Jest
npm test

# Watch mode
npm run test:watch

# Coverage
npm run test:coverage

Project Structure

its-just-mcp/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ index.ts              # Main server entry point
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   └── registry.ts       # Component definitions and metadata
β”‚   └── tools/
β”‚       β”œβ”€β”€ componentGenerator.ts  # Component generation logic
β”‚       β”œβ”€β”€ themeManager.ts       # Theme configuration tools
β”‚       β”œβ”€β”€ utilityTools.ts       # Utility and layout tools
β”‚       └── documentationTools.ts # Documentation and accessibility
β”œβ”€β”€ dist/                      # Compiled output
β”œβ”€β”€ package.json
β”œβ”€β”€ tsconfig.json
└── README.md

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Recommended steps:

  • Fork the repo and create a feature branch
  • Add tests for new behavior
  • Run lint and tests locally
  • Open a PR with a clear description and examples

License

MIT

Support

For issues or questions, please open an issue on GitHub or contact the maintainers.

Related Links

Troubleshooting

Cursor-Specific Issues

IssueSolution
MCP tools not available1. Restart Cursor
2. Check .cursor/mcp.json is valid JSON
3. Verify the server path is correct
"Command not found: npx"Install Node.js 18+ and npm
Server not responding1. Check Cursor Console (View β†’ Output β†’ MCP)
2. Try local installation instead of npx
Tools not showing in AIAsk "What MCP tools are available?" to refresh

Common Fixes

# Verify Node version (needs 18+)
node --version

# For local development, rebuild
cd /path/to/its-just-mcp
npm run build

# Check MCP config is valid JSON
cat .cursor/mcp.json | jq .

# Clear npm cache if npx fails
npm cache clean --force

Getting Help

Alternatives

Related Skills

Browse all skills
ui-design-system

UI design system toolkit for Senior UI Designer including design token generation, component documentation, responsive design calculations, and developer handoff tools. Use for creating design systems, maintaining visual consistency, and facilitating design-dev collaboration.

18
ai-sdk

Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: "AI SDK", "Vercel AI SDK", "generateText", "streamText", "add AI to my app", "build an agent", "tool calling", "structured output", "useChat".

6
api-documenter

Master API documentation with OpenAPI 3.1, AI-powered tools, and modern developer experience practices. Create interactive docs, generate SDKs, and build comprehensive developer portals. Use PROACTIVELY for API documentation or developer portal creation.

4
openai-knowledge

Use when working with the OpenAI API (Responses API) or OpenAI platform features (tools, streaming, Realtime API, auth, models, rate limits, MCP) and you need authoritative, up-to-date documentation (schemas, examples, limits, edge cases). Prefer the OpenAI Developer Documentation MCP server tools when available; otherwise guide the user to enable `openaiDeveloperDocs`.

4
cli-builder

Guide for building TypeScript CLIs with Bun. Use when creating command-line tools, adding subcommands to existing CLIs, or building developer tooling. Covers argument parsing, subcommand patterns, output formatting, and distribution.

3
ydc-ai-sdk-integration

Integrate Vercel AI SDK applications with You.com tools (web search, AI agent, content extraction). Use when developer mentions AI SDK, Vercel AI SDK, generateText, streamText, or You.com integration with AI SDK.

2