its-just-ui logo

its-just-ui

Organization
its-just-ui

A Model Context Protocol (MCP) server for the its-just-ui React component library. This server provides AI-powered tools to generate, customize, and document its-just-ui components.

Publisherits-just-ui
Repositoryits-just-mcp
LanguageTypeScript
Forks
2
Stars
4
Available tools
9
Transport typestdio, streamable-http
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    its-just-ui exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 9 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    4 stars and 2 forks from the linked repository.

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)

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

Option 2: Local Development

bash
# 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:

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

Global Configuration (All Projects)

Create ~/.cursor/mcp.json:

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

Local Development Setup

If you're developing the MCP server locally:

json
{
  "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:

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

Example 2: Create a Complete Form

"Create a login form with email and password validation"

Result:

jsx
<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:

jsx
<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

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

Development

bash
# Install dependencies
npm install

# Run in development mode
npm run dev

# Build for production
npm run build

# Run tests
npm test

Linting & Formatting

bash
# ESLint
npm run lint

# Prettier
npm run format

Testing

bash
# 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 Cursor2. Check .cursor/mcp.json is valid JSON3. 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

bash
# 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

Installation

TypingMind
Prerequisites:

Node.js 18+

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

Available Tools

  • 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

  • create_responsive_layout

    Create a responsive layout using Tailwind CSS and its-just-ui components

  • create_form

    Generate a form structure using its-just-ui form components

  • get_component_docs

    Get documentation, usage examples, and prop descriptions for a component

  • check_accessibility

    Get accessibility features and ARIA attributes for a component

Use its-just-ui MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once its-just-ui is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. You can run MCP locally on your device or connect to a remote MCP server URL.

Option 1: Use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add its-just-ui as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the its-just-ui MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "its-just-ui": {
      "command": "npx",
      "args": [
        "-y",
        "its-just-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the its-just-ui MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the its-just-ui MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use its-just-ui to help me with this task?
its-just-ui
Sure. I read it.
Here is what I found using its-just-ui.

Option 2: Add an MCP server URL

Use this when its-just-ui is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter your server URL in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste your server URL into the Server URL field.
  2. Enter a connection name for its-just-ui.
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the its-just-ui connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the its-just-ui tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the its-just-ui tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use its-just-ui to help me with this task?
its-just-ui
Sure. I read it.
Here is what I found using its-just-ui.

Frequently asked questions

What is the its-just-ui MCP server used for?

its-just-ui is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use its-just-ui MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use its-just-ui with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use its-just-ui MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With its-just-ui connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect its-just-ui MCP to TypingMind?

its-just-ui can be connected in TypingMind with the local MCP connector or by adding a remote MCP server URL. Use the local connector when the server needs access to files, apps, or private resources on your device, and use a server URL when the MCP server is hosted remotely.

What tools does its-just-ui MCP provide in TypingMind?

its-just-ui exposes 9 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use its-just-ui MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If its-just-ui requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇