impact-nova-mcp

v2.6.0
impact-nova-mcp Checked 3 days ago Published 1 month ago

MCP server for Impact Nova design system — components, tokens, best practices, code generation for Cursor, Windsurf, and Antigravity

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

query_components Query components by capability / SSR / RSC

Filter the generated component registry by category, capabilities, ssrSupport, rscCompatibility, or bundleTier.

ParameterTypeDescription
bundleTierstring
capabilitiesarrayCapability flags that must be true (e.g. asChild, formControl, ssr)
categorystringRegistry category (forms, layout, data, etc.)
rscCompatibilitystringRSC placement (e.g. client-only, client-boundary-required)
ssrSupportstringSSR support level

get_component_props Get component props (lightweight)

Return props, variants, deprecations, and SSR/RSC fields for one component. Prefer over full get_component.

ParameterTypeDescription
name *stringComponent name or id (e.g. Button, button)

get_deprecations Get deprecated prop aliases

Return global and per-component deprecated props (e.g. isDisabled → disabled, isError → error).

ParameterTypeDescription
componentstringOptional component name or id to filter

query_patterns Query UI patterns

Search composite UI patterns (dashboard shell, filter+table, wizard, settings) from pattern-registry.json.

ParameterTypeDescription
idstringExact pattern id
querystringFree-text filter on title, description, or id

query_recipes Query scaffold recipes

List patterns linked to create-impact-nova recipes (filtered-workspace, data-catalog, dashboard, wizard-flow, scenario-comparison, product-config-flow).

ParameterTypeDescription
recipestringRecipe id filter (e.g. dashboard, filtered-workspace)

create_cursor_rules Generate Cursor rules from registry

Emit AGENTS.md-style Cursor rules from the generated component registry (subpath imports, workflow, variant naming).

validate_snippet Validate snippet (canonical)

Check snippet or file content for subpath imports, deprecated props, AST charter violations, and design-system compliance. MANDATORY before shipping UI code.

ParameterTypeDescription
snippet *stringCode snippet or file content to validate

get_capabilities Get capability index

Return inverted capability → component id index from registry.

ParameterTypeDescription
capabilitystringOptional capability key (e.g. asChild, formControl, ssrFull)

list_components List Impact Nova components (legacy)

Legacy flat list. Prefer query_components for capability/SSR/RSC filters and get_component_props for API lookup.

get_component Get component spec

Get full spec for one component: import path, props, variants, subcomponents, usage snippet, and design tokens.

ParameterTypeDescription
name *stringComponent name (e.g. Button, Card, Dialog)

get_design_tokens Get design tokens

Return design tokens (colors, spacing, radius, typography) as structured JSON. Optional filter by type.

ParameterTypeDescription
typestringFilter by token type; omit for all

generate_component Generate component usage

Generate usage for an Impact Nova component. MANDATORY: design system only — do not invent new components. Tables must use impact-nova/data-table.

ParameterTypeDescription
name *string
propsobject
sizestring
variantstring

generate_page Generate page/section

Generate a full page or section using Impact Nova layout and components, with i18n and a11y notes. Call interpret_user_request first when persona or greenfield is unclear.

ParameterTypeDescription
description *stringShort description of the page (e.g. settings form, dashboard card with table)

search_best_practices Search best practices

Search best practices, do's and don'ts, and conventions for Impact Nova (composition, tokens, a11y, i18n, classNames).

ParameterTypeDescription
querystringSearch query (e.g. 'className', 'i18n', 'accessibility')

validate_usage Validate Impact Nova usage (legacy)

Legacy alias for validate_snippet. Check a snippet for correct imports, design-system compliance, token styling, i18n. Prefer validate_snippet for new integrations.

ParameterTypeDescription
snippet *stringCode snippet or file content to validate

export_tokens Export tokens for design tools

Export design tokens in a format suitable for Figma or other design tools (name, value, category, CSS variable).

get_component_spec_for_design Get component spec for design

Return design-oriented spec: component name, variants, props that affect layout/visual, and mapping to design tokens.

ParameterTypeDescription
name *stringComponent name

get_installation_and_config Get installation and configuration steps

Return step-by-step instructions and code snippets to install Impact Nova and configure the project (npm install, CSS, font, i18n, Tailwind).

ParameterTypeDescription
projectTypestringProject type to tailor steps

analyze_project_for_impact_nova Analyze project package.json for Impact Nova install

Pass the user's package.json content (as string). Returns what's already installed, what to install (impact-nova, react, react-dom, optional ag-grid/highcharts), recommended versions, and exact npm install commands. Use when the user says 'install impact-nova', 'configure impact-nova', or 'add impact-nova' so you can suggest the right packages and versions.

ParameterTypeDescription
packageJson *stringRaw content of the project's package.json file

get_real_world_patterns Get real-world patterns and imports

Returns subpath imports, type-only imports, compound patterns (FilterPanel+FilterStrip, DataTable+AG Grid, Sheet, EmptyContainer, Chart). Use topic: 'data-table' (includes AG Grid rules), 'chart' (Highcharts), 'filter', 'sheet', 'empty-state', or omit for all. For DataTable/AG Grid, AG Grid rules are mandatory; for Chart use Highcharts docs for series/options. Use when generating code that matches production Impact Nova usage.

ParameterTypeDescription
topicstringFilter by topic; omit for full document. Use 'layout' for app shell scaffold.

suggest_components_for_ui Suggest components for a UI or screenshot

Given a short description of a UI (e.g. from a screenshot or product user: 'planning grid with KPIs, workflow tabs, filter chips'), returns suggested Impact Nova components. Use for workflow/prototype/user-story requests — not only screenshots.

ParameterTypeDescription
description *stringShort description of the UI or what you see in the screenshot (e.g. 'settings page with form and save button', 'sidebar nav, main content with data table and filters')
elementsarrayOptional list of UI elements to match (e.g. ['sidebar', 'table', 'filters', 'modal', 'form'])

interpret_user_request Interpret user request (any persona)

Call first for ambiguous requests. Detects persona (product, designer, manager, backend, frontend), scaffold need, tool order, and reply style. Works for planning workflows, Figma/screenshots, executive demos, API admin UIs, and frontend component work.

ParameterTypeDescription
userMessage *stringThe user's message verbatim
hasExistingImpactNovaProjectbooleanTrue if workspace already has impact-nova in package.json

scaffold_impact_nova_app Scaffold Impact Nova Vite app

Create a minimal Vite + React app shell (Layout, Router, shared DataTable primitives). Feature pages are NOT baked in — pass `modules[]` with recipe + slug + title from the user prompt (e.g. receipt planning → filtered-workspace). Auto-call for greenfield prototypes.

ParameterTypeDescription
projectName *stringProject name (e.g. receipt-planning-prototype)
modulesarrayFeature modules to generate under src/modules/<slug>/. Derive from user prompt — omit for shell-only scaffold.
skipInstallbooleanIf true, only write files; do not run npm install
targetDirectorystringAbsolute or relative path for the project root. Defaults to ./<projectName>
usePublishedPackagesbooleanIf true, use impact-nova from npm (^2.6.0 / @latest). If false, force file: monorepo link. Omit to auto-detect (npm when MCP runs outside monorepo).