AI Integration

Neuctra UI MCP

Give your AI coding assistant direct access to Neuctra UI's components, props, examples, theme tokens, and design guidelines.

Connect Neuctra UI MCP

The easiest way to use Neuctra UI with an AI coding assistant is through the hosted remote MCP server.

Remote MCP — Recommended

If your AI tool supports remote MCP servers or MCP connectors, use the URL below. No package installation is required.

text
1https://mcp.ui.neuctra.com/mcp

Add this URL as a remote MCP server in your AI coding assistant. Once connected, the assistant can query Neuctra UI whenever it needs component or design-system information.

What Is Neuctra UI MCP?

MCP connects your AI coding assistant to Neuctra UI's structured component knowledge.

AI coding assistants can generate React interfaces very quickly, but they may sometimes guess component names, props, or styling when they don't know a library.

Neuctra UI MCP gives the AI a direct way to ask Neuctra UI for the information it needs.

text
1Your Project
2     │
3     ▼
4AI Coding Assistant
5     │
6     │  MCP request
7     ▼
8Neuctra UI MCP
9     │
10     ├── Components
11     ├── Props
12     ├── TypeScript types
13     ├── Examples
14     ├── Theme tokens
15     └── Design guidelines
16     │
17     ▼
18AI generates Neuctra UI code

Think of MCP as a knowledge bridge. Your AI can look up Neuctra UI information instead of relying only on its training data.

Why Use It?

MCP helps your AI assistant work with the real Neuctra UI API.

Less Guessing

The AI can check the actual Neuctra UI API instead of inventing component props.

Component Discovery

The AI can find components based on names, categories, or what you want to build.

Correct Props

The AI can inspect TypeScript types, required props, optional props, defaults, and descriptions.

Theme Awareness

The AI can use Neuctra UI semantic tokens and follow the design system.

Remote MCP

Use the hosted Neuctra UI MCP server without installing anything.

The remote MCP server is already hosted by Neuctra. Your AI application connects directly to it over the MCP protocol.

Remote MCP URLhttps://mcp.ui.neuctra.com/mcp

This is the recommended option for MCP clients that support remote HTTP-based MCP servers.

You don't need to:

  • Install Node.js packages for the MCP server.
  • Run the MCP server manually.
  • Clone the Neuctra UI MCP repository.
  • Maintain a local MCP process.

Claude Code

Connect Claude Code to the hosted Neuctra UI MCP server.

If your Claude Code version supports remote MCP servers, add the Neuctra UI MCP endpoint as a remote server.

bash
1claude mcp add --scope user neuctra-ui --transport http https://mcp.ui.neuctra.com/mcp

The --scope user option makes the MCP server available across your projects for your user account.

Prefer local MCP? You can also run the Neuctra UI MCP package locally. See Local MCP below.

Cursor

Add Neuctra UI MCP to Cursor using the remote server URL.

Open Cursor's MCP settings and add a new remote MCP server.

Server nameneuctra-ui
Server URLhttps://mcp.ui.neuctra.com/mcp

Once connected, Cursor can use Neuctra UI MCP tools while generating and modifying your application.

Antigravity

Connect Antigravity to the hosted Neuctra UI MCP server.

Open the MCP configuration in Antigravity and add the remote Neuctra UI MCP endpoint.

Server nameneuctra-ui
Server URLhttps://mcp.ui.neuctra.com/mcp

After connecting, the AI can query Neuctra UI information while building your application.

AI Apps With MCP Connectors

Some AI applications allow you to connect remote MCP servers as connectors or integrations.

If your AI application provides a remote MCP or connector interface, use the Neuctra UI MCP URL:

text
1https://mcp.ui.neuctra.com/mcp

Look for an option such as Connect MCP, Remote MCP, or MCP Connector.

The exact UI and setup process depends on the AI application and its current MCP support.

What Can the AI Do?

After connecting MCP, you can work with Neuctra UI naturally.

Find Components

Ask the AI to find the best Neuctra UI component for a specific UI requirement.

Check Props

Ask the AI to inspect the correct props before using a component.

Build Interfaces

Ask the AI to create pages and features using actual Neuctra UI components.

Follow the Theme

Ask the AI to use Neuctra UI semantic colors and design rules.

Available MCP Tools

Neuctra UI MCP exposes focused tools that the AI can use when it needs information.

list_components

List available Neuctra UI components.

json
1{
2  "category": "form"
3}

When to use: Use this when the AI needs to discover available components.

get_component

Get the complete specification for a specific component.

json
1{
2  "name": "Button"
3}

When to use: Use this when the AI needs exact props, types, defaults, and examples.

search_components

Search for components using a natural-language query.

json
1{
2  "query": "date picker"
3}

When to use: Use this when the AI knows what it wants to build but doesn't know the component name.

get_theme

Get Neuctra UI theme tokens and design guidance.

json
1{}

When to use: Use this when the AI needs to style an interface according to Neuctra UI.

get_design_rules

Get the styling rules, anti-AI-look rules and the full product design guide.

json
1{}

When to use: Use this before generating any UI, so layout, hierarchy and styling follow Neuctra UI's design rules.

get_seo_guide

Get the SEO, AEO and GEO playbook, or one topic of it.

json
1{
2  "topic": "geo"
3}

When to use: Use this before building public pages that need to rank in search and be cited by AI answer engines.

generate_page_seo

Generate a page's meta title, description, canonical, OpenGraph tags and a linked JSON-LD schema graph, as a ready snippet for your framework.

json
1{
2  "framework": "nextjs-app",
3  "pageType": "docs",
4  "siteName": "Neuctra UI",
5  "siteUrl": "https://ui.neuctra.com",
6  "path": "/docs/card",
7  "primaryKeyword": "react card component"
8}

When to use: Use this for every public page to get correct metadata and structured data in Next.js, Vite, React Router, Astro, TanStack Start, Gatsby or plain HTML.

audit_page_seo

Score a page's SEO, AEO and schema and list every fix.

json
1{
2  "url": "https://example.com/docs/card",
3  "title": "Card",
4  "h1s": ["Card"],
5  "faqCount": 0
6}

When to use: Use this to check a finished page before it goes live.

Component Discovery

The AI can discover components before writing your code.

list_components

json
1{
2  "category": "form"
3}

The category is optional. Without a category, the AI can browse the complete component registry.

json
1[
2  {
3    "name": "Calendar",
4    "category": "form",
5    "propCount": 9
6  },
7  {
8    "name": "Checkbox",
9    "category": "form",
10    "propCount": 29
11  },
12  {
13    "name": "DatePicker",
14    "category": "form",
15    "propCount": 15
16  }
17]

search_components

json
1{
2  "query": "loading state"
3}

This allows the AI to search using functionality, descriptions, categories, component names, and prop information.

Get Component Details

The AI can inspect a component before using it.

json
1{
2  "name": "Button"
3}

The response can provide information such as:

  • Component name
  • Category
  • Description
  • Props
  • TypeScript types
  • Required and optional props
  • Default values
  • Prop descriptions
  • Usage examples

This is especially useful when the AI has never used a particular Neuctra UI component before.

Theme & Design System

Help AI-generated interfaces follow the Neuctra UI visual system.

The get_theme tool provides theme information and styling guidance.

json
1{}

Semantic Tokens

text
1bg-primary
2text-primary
3border-primary
4
5bg-background
6text-foreground
7
8bg-muted
9text-muted-foreground
10
11bg-card
12text-card-foreground
13
14bg-destructive
15bg-success
16bg-warning
17bg-info

Semantic tokens allow the AI to work with your application's theme instead of randomly choosing colors from a Tailwind palette.

Design Guidelines

  • Prefer semantic theme tokens.
  • Avoid unnecessary hardcoded brand colors.
  • Use existing Neuctra UI components.
  • Keep layouts clean and purposeful.
  • Avoid unnecessary visual effects.
  • Follow the application's existing visual language.

How AI Uses MCP

The AI can query Neuctra UI whenever it needs additional information.

text
1User:
2"Create a registration form using Neuctra UI."
3
4        ↓
5
6AI searches for relevant components
7
8        ↓
9
10search_components
11
12        ↓
13
14AI finds Input, Checkbox and Button
15
16        ↓
17
18get_component
19
20        ↓
21
22AI checks the exact props and examples
23
24        ↓
25
26get_theme
27
28        ↓
29
30AI checks the correct theme tokens
31
32        ↓
33
34AI generates the React implementation

You don't have to manually paste Neuctra UI documentation into every prompt. The AI can retrieve the information it needs through MCP.

Example Requests

After connecting MCP, you can simply ask your AI assistant to use Neuctra UI.

text
1Create a login page using Neuctra UI.
2
3Build a registration form using Neuctra UI components.
4
5Find the best Neuctra UI component for selecting a date.
6
7Create a dashboard using Neuctra UI.
8
9Use Neuctra UI semantic theme tokens instead of hardcoded colors.
10
11Create a responsive settings page using Neuctra UI.
12
13Check the correct props for the Button component before using it.
14
15Find a Neuctra UI component suitable for displaying a loading state.

Advanced: Local MCP

Run the MCP server locally when you need a local development setup.

Most users should use the remote MCP server. A local installation is mainly useful when you are developing or testing the MCP package locally.

bash
1npx -y @neuctra/ui-mcp

MCP clients can launch the package automatically, so you normally don't need to install it globally.

Example Local Configuration

json
1{
2  "mcpServers": {
3    "neuctra-ui": {
4      "command": "npx",
5      "args": ["-y", "@neuctra/ui-mcp"]
6    }
7  }
8}

Developing the MCP Server

Contributors can run the MCP package directly from a local checkout.

bash
1npm install
2npm start

An MCP server normally waits for an MCP client to communicate with it. Seeing little or no output in the terminal can therefore be normal.

Local Server Configuration

json
1{
2  "mcpServers": {
3    "neuctra-ui": {
4      "command": "node",
5      "args": [
6        "/absolute/path/to/neuctra-ui-mcp/bin/cli.mjs"
7      ]
8    }
9  }
10}

Component Registry

Neuctra UI MCP uses structured component information to provide reliable answers.

Neuctra UI component information is maintained in a structured registry. The MCP server uses this data when responding to AI requests.

text
1Neuctra UI source
2       │
3       ▼
4Component registry
5       │
6       ▼
7Neuctra UI MCP
8       │
9       ▼
10AI assistant

This allows the AI to query structured component knowledge rather than trying to reverse-engineer the library from scratch.

Troubleshooting

The remote MCP server isn't connecting

Check that your AI application supports remote MCP servers and that you entered the complete endpoint.

text
1https://mcp.ui.neuctra.com/mcp

The AI isn't using Neuctra UI

Make sure the MCP connection is active and ask the AI explicitly to use Neuctra UI components.

The AI is guessing component props

Ask the AI to inspect the component through MCP before generating the implementation. Also verify that the MCP tools are visible to the AI client.

The local MCP server doesn't show anything

This can be normal. MCP servers wait for an MCP client instead of behaving like interactive terminal applications.

Local changes aren't reflected

If you're developing the MCP package locally, regenerate or synchronize the component registry after changing component APIs.

MCP stopped working after configuration changes

Restart your AI application after changing MCP configuration so it can initialize the connection again.

Frequently Asked Questions

How do I connect Neuctra UI MCP to my AI coding assistant?

Add https://mcp.ui.neuctra.com/mcp as a remote MCP server in your AI tool's MCP settings — no package installation is required. Most AI tools with remote MCP or connector support (Claude Code, Cursor, Antigravity) accept this URL directly.

What can the AI do once Neuctra UI MCP is connected?

It can call list_components to discover components, get_component to inspect exact props/types/defaults/examples for one component, search_components to find a component by natural-language query, and get_theme to fetch semantic color tokens and styling guidelines — instead of guessing from training data.

Do I need to run the MCP server locally?

No — most users should use the hosted remote MCP server. Running it locally (npx -y @neuctra/ui-mcp) is only needed if you're developing or testing the MCP package itself.

You're Ready

Connect the remote Neuctra UI MCP server to your AI coding assistant and let it discover components, inspect APIs, understand the theme, and build with Neuctra UI.