Basecoat UI MCP

v1.8.0
io.github.zygiu-zygis/basecoat-ui-mcp Checked 2 hours ago Published 1 month ago

Offline Basecoat UI MCP: templates, macro layouts, theming contract, and static validation.

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

search_components

Find up to 8 compact component summaries by intent and/or query (either field may be omitted). Valid component IDs include: button, card, dialog, dropdown-menu, table, tabs, badge, avatar, input, select, etc. Next step: Call get_component_details or basecoat_component_syntax with the selected component id.

ParameterTypeDescription
componentIdstringAlternative component identifier alias.
environmentstringTarget environment (defaults to html).
idstringAlternative component identifier alias.
intentstringSemantic intent or use case (e.g., "modal dialog", "user menu", "data table", "form field").
namestringAlternative component identifier alias.
querystringDirect component ID or name keyword to filter (e.g., "dialog", "button", "table").

get_component_details

Get one minimal component template, dependencies, and composition tips for Astro or HTML. Valid IDs: any of the 57 Basecoat components (button, card, dialog, dropdown-menu, table, tabs, badge, etc.). When called with {}, returns the top-level component catalog index. Next step: Call validate_composition or basecoat_quality_inspector after integrating markup.

ParameterTypeDescription
componentIdstringAlternative component identifier alias.
environmentstringTarget framework/environment template to output (defaults to "html").
idstringBasecoat component ID from search_components (e.g., "button", "dialog", "card", "dropdown-menu", "table", "tabs").
namestringAlternative component identifier alias.

get_component_html

Fetch HTML markup template and dependencies for a Basecoat component. Valid IDs: any of 57 Basecoat components. When called with {}, returns the top-level component catalog index. Next step: Call validate_composition or basecoat_quality_inspector to audit.

ParameterTypeDescription
componentIdstringAlternative component identifier alias.
environmentstringTarget framework/environment template to output (defaults to "html").
idstringBasecoat component ID from search_components (e.g., "button", "dialog", "card", "dropdown-menu", "table", "tabs").
namestringAlternative component identifier alias.

validate_composition

[STAGE 4: QUALITY AUDIT] Statically check HTML/Astro source for Basecoat migration errors, semantic rhythm, FSM bindings, missing scripts, nested cards, spacing and hierarchy issues. Pass code or alias html and optionally a semanticProfile and densityProfile. Does not render or evaluate dynamic code. Next step: Fix any errors/warnings reported in the diagnostic output.

ParameterTypeDescription
codestringHTML or Astro source code to validate statically against Basecoat rules and tokens.
densityProfilestringOptical spacing density profile ("comfortable" or "compact").
htmlstringAlias for code parameter. Pass either code or html.
semanticProfilestringSemantic rhythm profile ID (e.g., "default", "dashboard"). Defaults to "default".

validate_markup

[STAGE 4: QUALITY AUDIT] Alias of validate_composition. Statically check HTML/Astro source for Basecoat migration errors, semantic rhythm, FSM bindings, missing scripts, nested cards, spacing and hierarchy issues. Next step: Fix any errors/warnings reported in the diagnostic output.

ParameterTypeDescription
codestringHTML or Astro source code to validate statically against Basecoat rules and tokens.
densityProfilestringOptical spacing density profile ("comfortable" or "compact").
htmlstringAlias for code parameter. Pass either code or html.
semanticProfilestringSemantic rhythm profile ID (e.g., "default", "dashboard"). Defaults to "default".

search_macro_blocks

Search approved macro layout blocks by query, role, family, or tag. Optional design/page/slot context filters to slot-compatible roles. Returns summaries and immutable refs only; use cursors for more.

ParameterTypeDescription
componentIdstringAlternative identifier or query alias.
cursorstringPagination cursor returned from a previous search.
designIdstringActive design session ID to search with session-specific block registry overrides.
environmentstringTarget environment.
familystringBlock family filter (e.g. "layout", "workspace", "auth", "detail").
idstringAlternative identifier or query alias.
limitintegerMaximum number of block manifests to return per page (1-32, default 10).
namestringAlternative identifier or query alias.
pageIdstringTarget page ID in the design session when scoping to a slot.
parentNodeIdstringParent node ID hosting the target slot.
qstringFull-text search query across macro block IDs, descriptions, and tag sets.
rolestringMacro role filter (e.g. "navigation", "canvas", "header", "region", "form").
slotIdstringTarget parent slot ID to filter compatible blocks by role.
tagstringSpecific functional tag to filter by (e.g. "sidebar", "data-table", "kpi").

get_macro_block

Retrieve one section of a compiled macro block blueprint (manifest, structure, slots, ports, rules, dependencies, provenance). Follow next cursors until complete. Optional designId pins aliases to that session registry.

ParameterTypeDescription
componentIdstringAlternative block identifier alias matching idOrRef.
cursorstringPagination cursor for large section reads exceeding packet limits.
designIdstringActive design session ID to retrieve session-bound block variants.
environmentstringTarget environment (defaults to html).
idstringAlternative block identifier alias matching idOrRef.
idOrRefstringCanonical macro block ID or SHA-256 content reference hash.
namestringAlternative block identifier alias matching idOrRef.
sectionstringSpecific block section to retrieve: "all", "manifest", "structure", "slots", "ports", "rules", "dependencies", or "provenance". Defaults to "all".

begin_design

Create a persistent design session under the host project root. Pass designId, profile (alias or ref), operationId, and optional decisions. Pins and hash-verifies the packaged macro registry. Idempotent for the same operationId. Oversized optional receipt fields may be omitted with truncated:true after commit.

ParameterTypeDescription
designId *stringUnique identifier for the new design session (slug format, e.g. "workspace-v1").
operationId *stringIdempotency key for session creation.
profile *stringTarget rhythm/scaffold profile or recipe alias (e.g. "workspace-dashboard", "executive-dashboard").
decisionsobjectInitial architectural decisions for the session (e.g. density, stylePack, responsive breakpoints).

get_design_context

Read a focused design view: sessions (no designId), overview, decisions, graph, rules, focus, or next. Pin revision on first read; continuations must match. Does not create sessions.

ParameterTypeDescription
componentIdstringAlternative design session ID alias matching designId.
cursorstringPagination cursor for paginated context listings.
designIdstringTarget design session ID (required for all views except "sessions").
environmentstringTarget environment.
idstringAlternative design session ID alias matching designId.
namestringAlternative design session ID alias matching designId.
nodeIdstringTarget node ID within the page (for "node" view).
pageIdstringTarget page ID within the design session (for "page" or "node" view).
revisionintegerTarget design session revision to inspect (defaults to latest).
viewstringContext perspective to retrieve: "sessions", "overview", "decisions", "graph", "rules", "focus", or "next". Defaults to "sessions".

apply_design_patch

Apply one atomic list of design graph operations with expectedRevision and operationId. Replay with the same operationId returns the original receipt. A committed mutation always acknowledges success; oversized optional fields may be omitted with truncated:true. Does not write application source files.

ParameterTypeDescription
designId *stringIdentifier of the design session to mutate.
expectedRevision *integerExpected current revision of the session to guarantee optimistic concurrency.
operationId *stringIdempotency key for this patch transaction.
operations *arrayOrdered array of patch operations (add_node, remove_node, move_node, connect, disconnect, set_decision, set_binding).

validate_design

Validate a design session (or one page) in draft or complete mode. Returns totals plus paginated diagnostics. A plan-ready graph is not proof of rendered correctness.

ParameterTypeDescription
designId *stringIdentifier of the design session to validate.
cursorstringPagination cursor if validation diagnostics exceed single response limit.
modestringValidation strictness mode: "draft" allows unbound slots; "complete" enforces zero open slots and full port connectivity.
pageIdstringOptionally scope validation to a single page within the session.
revisionintegerSpecific revision to validate (defaults to latest).

get_rhythm_rules

Read the effective semantic rhythm profile by family, including project-local overrides under a contained .basecoat/rhythm.json. Semantic IDs and approved implementation utilities are returned separately. Results are content-addressed and cursor-paginated; changed effective revisions invalidate prior cursors.

ParameterTypeDescription
componentIdstringAlternative identifier alias for profile or family.
cursorstringPagination cursor for bounded continuation of rhythm rules.
environmentstringTarget environment.
familystringSemantic rhythm family to filter by (e.g. "spacing", "layout", "typography", "colors", "elevation"). Accepts aliases like "layouts".
idstringAlternative identifier alias for profile or family.
limitintegerMaximum number of rhythm mappings to return per page (1-32, default 10).
namestringAlternative identifier alias for profile or family.
profilestringRhythm profile identifier to query (e.g. "default", "compact", "comfortable"). Defaults to "default".

get_fsm_recipe

Read finite FSM states, events, guards, actions, or transitions. Recipes are structural metadata, not executable runtime code.

ParameterTypeDescription
componentIdstringAlternative recipe identifier alias.
cursorstringPagination cursor for bounded continuation of FSM recipe details.
environmentstringTarget environment.
idstringAlternative recipe identifier alias.
limitintegerMaximum number of FSM entries to return per page (1-32, default 10).
namestringAlternative recipe identifier alias.
recipestringFSM recipe identifier or alias to retrieve (e.g. "dialog", "tabs", "navigation", "collapsible-navigation", "sidebar").
sectionstringSpecific FSM recipe contract section to inspect ("states", "events", "guards", "actions", "transitions").

basecoat_setup_config

[STAGE 1: ARCHITECT] Generate production Tailwind CSS v4 @import statements, OKLCH design tokens, @theme inline blocks, and theme bootstrap scripts for a selected framework (astro, vanilla, nextjs, sveltekit, vite, htmx) and style pack (vega, nova, maia, lyra, mira, luma, sera, rhea). Next step: Call basecoat_compose_stack or basecoat_page_architect.

ParameterTypeDescription
componentIdstringFramework or style pack identifier alias.
environmentstringTarget environment alias (html, astro, react, vue, svelte).
frameworkstringTarget framework or environment for setup instructions and boilerplate (astro, vanilla, nextjs, sveltekit, vite, htmx). Defaults to astro.
idstringFramework or style pack identifier alias.
includeDarkThemeScriptbooleanWhether to include the synchronous inline <head> dark mode bootstrap script to prevent theme flashing. Defaults to true.
namestringFramework or style pack identifier alias.
stylePackstringAesthetic style pack preset (vega: standard shadcn New York v4, nova: modern SaaS, maia: playful organic, lyra: brutalist technical, mira: compact editorial, luma: soft modern, sera: architectural fla…

basecoat_page_architect

[STAGE 1: ARCHITECT] Search and retrieve complete layout scaffolds (Workspace Dashboard, Auth Split-Screen, Data Table Detail, Workspace Settings, Pricing, etc.) with explicit slot markers, grid structures, and responsive containers. Next step: Call basecoat_rules_enforcer and basecoat_creative_director, then basecoat_compose_stack or basecoat_component_syntax.

ParameterTypeDescription
blockstringSpecific block identifier or pattern to retrieve scaffold for (e.g. "sidebar-01".."sidebar-16", "dashboard-01".."dashboard-07", "login-01").
componentIdstringAlternative recipe or block identifier alias.
densitystringVisual layout density: "comfortable" (standard SaaS spacing, p-6/h-14) or "compact" (dense data tools, p-4/h-12).
environmentstringTarget framework/environment template (defaults to html).
idstringAlternative recipe or block identifier alias matching id or recipe.
intentstringUser or business intent for page scaffolding (e.g. "workspace-dashboard", "executive-dashboard", "sidebar-07", "data-table-detail", "auth-split-flow").
namestringAlternative recipe or block identifier alias.
recipestringMacro recipe identifier to resolve directly (e.g. "workspace-dashboard", "workspace-detail", "workspace-settings", "auth-split-flow").

basecoat_rules_enforcer

[STAGE 2: RULES & RHYTHM] Retrieve indexed technical implementation constraints covering strict Tailwind CSS v4 syntax, mandatory FSM data-state contracts, semantic CSS variable tokens, and semantic HTML landmarks. Next step: Call basecoat_creative_director or basecoat_component_syntax.

ParameterTypeDescription
categorystringFilter rules by technical domain: "tailwind-v4", "fsm-contracts", "tokens", "semantic-html", "dashboard-patterns", or "all".
codestringHTML/markup snippet to audit against the indexed technical constraints.
componentIdstringComponent ID alias to filter relevant rules.
environmentstringTarget output environment: "html", "astro", "react", "vue", or "svelte". Defaults to "html".
htmlstringAlternative alias for the code parameter to audit against constraints.
idstringRule ID or component ID to inspect.
namestringRule or component name alias.
querystringSearch query to match against rule IDs, titles, forbidden patterns, or required syntax.

basecoat_creative_director

[STAGE 2: RULES & RHYTHM] Surface Kanso minimalism and Basecoat design intelligence: typography ladders, optical spacing rhythm, whitespace density, contrast ratios, style packs, and subtle elevation strategies. Next step: Call basecoat_compose_stack or basecoat_component_syntax.

ParameterTypeDescription
componentIdstringComponent ID alias.
densitystringInterface spatial density profile: "compact" (dense table/data tool, p-4/h-12), "standard" (balanced dashboard, p-6/h-14), or "comfortable" (generous whitespace reading, p-8/h-14).
environmentstringTarget environment (defaults to "html").
idstringPrinciple ID or component ID alias.
namestringComponent name or principle name alias.
stylePackstringBasecoat curated style pack aesthetic: "vega" (default New York v4), "nova" (SaaS), "maia" (organic pill), "lyra" (high-density brutalist), "mira" (editorial), "luma" (soft), "sera" (architectural), o…
topicstringDesign topic to inspect: "typography", "whitespace", "hierarchy", "elevation", "style-packs", "content-strategy", "density", or "all".
visitorJobstringVisitor mental model and primary task: "operate" (fast scanning SaaS), "persuade" (marketing landing), "read" (prose doc), or "experience" (immersive showcase).

basecoat_compose_stack

[STAGE 3: SYNTAX & STACKS] Assemble full shell architectures (sidebar-01..16, topbar-shell, inset-shell, split-shell) and hydrate pre-configured component stacks (kpi-4-col-delta, area-revenue-stack, data-table-full-crud, detail-inspector-drawer, field-group-settings) into slots with optical density control. Next step: Call basecoat_quality_inspector to verify markup compliance.

ParameterTypeDescription
componentIdstringPoka-Yoke alias for shellId.
densitystringOptical spacing density mode. Defaults to standard.
environmentstringTarget output environment/framework. Defaults to html.
headerIdstringOptional header stack ID from header-stacks: breadcrumb-command-header, tabs-filter-header, or date-range-export-header.
idstringPoka-Yoke alias for shellId.
namestringPoka-Yoke alias for shellId.
shellstringPoka-Yoke alias for shellId.
shellIdstringShell architecture ID from shell-stacks: sidebar-01..sidebar-16, topbar-shell, inset-shell, or split-shell. Defaults to sidebar-01.
stacksOrdered list or record of component stack IDs to hydrate into the shell slots (e.g., ["kpi-4-col", "area-chart-overview", "data-table-full-crud", "recent-sales-feed", "detail-drawer"]). Also accepts c…
titlestringOptional workspace/page title to inject into the shell header.

basecoat_component_syntax

[STAGE 3: SYNTAX & STACKS] Retrieve copy-pasteable Basecoat component markup with pre-configured FSM state variants (default, active, loading, disabled, open, closed) and dependencies for any of the 57 Basecoat components. Next step: Call basecoat_quality_inspector to audit assembled markup.

ParameterTypeDescription
componentstringComponent name or alias to retrieve canonical FSM-bound syntax for (e.g. "dialog", "tabs", "button", "input", "select", "metric-card", "data-table", "sidebar-shell", "field", "field-group").
componentIdstringAlternative identifier alias for the component.
environmentstringTarget output environment: "html", "astro", "react", "vue", or "svelte". Defaults to "html".
iconstringVerified Lucide action icon to inject with canonical data-icon="inline-start|inline-end" positioning.
idstringAlternative identifier alias for the component (matches component argument).
namestringAlternative identifier alias for the component.
orientationstringSpatial orientation: "vertical" (standard stacked), "horizontal" (grid 2-column for settings), or "inline" (checkbox/switch/radio).
statestringTarget interactive state variant to bind to markup: "default", "active", "loading", "disabled", "open", "closed", "invalid", or "open/closed".
variantstringVisual variant token (e.g. "outline", "ghost", "secondary", "destructive", "subcard", "horizontal", "inline", "error").

basecoat_list_charts

[STAGE 3: SYNTAX & STACKS] List and filter 50+ Basecoat ApexCharts and SVG data visualization blueprints by category (area, bar, line, pie, radar, radial, tooltip) or keyword search/query. Next step: Call basecoat_get_chart_blueprint with the selected chart ID.

ParameterTypeDescription
categorystringFilter charts by category (area, bar, line, pie, radar, radial, tooltip).
componentIdstringAlias for chart ID filter.
idstringFilter or match by specific chart ID.
namestringFilter or match by chart name.
querystringSearch keyword alias for search.
searchstringSearch keyword for chart variant (e.g., stacked, gradient, sparkline, donut, gauge).

basecoat_get_chart_blueprint

[STAGE 3: SYNTAX & STACKS] Retrieve complete chart markup, CSS theme tokens (--chart-1..5), layout footprint, client options, and framework mount code (vanilla, astro, react, vue, svelte) with optional theme token overrides for a specific chart blueprint ID or category. Next step: Call basecoat_quality_inspector to audit the assembled page.

ParameterTypeDescription
chartIdstringChart blueprint ID from basecoat_list_charts (e.g., area-default, area-stacked, bar-multiple, pie-donut, radar-default, radial-half, tooltip-default). Also accepts category name or keyword alias.
componentIdstringAlias for chartId/id.
enginestringChart rendering engine (svg or apexcharts). Defaults to svg.
environmentstringTarget environment (html, astro, react, vue, svelte). Defaults to html.
frameworkstringTarget framework mount generator (vanilla, astro, react, vue, svelte, html). When html or omitted, resolves to vanilla.
idstringAlias for chartId. Defaults to "area-default" if neither chartId nor id is provided.
namestringAlias for chartId/name.
themeTokensobjectOptional CSS theme token overrides (e.g. { "var(--chart-1)": "var(--color-primary)" }).

basecoat_quality_inspector

[STAGE 4: QUALITY AUDIT] Audit HTML/Astro markup and return a structured quality report with Score (0-100), Syntax Violations, Accessibility/ARIA omissions, and Auto-Fix suggestions. Final quality gate for all generated Basecoat UI code.

ParameterTypeDescription
codestringHTML/component markup string to inspect for syntax violations, a11y omissions, and quality metrics.
componentIdstringAlternative component identifier alias to inspect.
densityProfilestringDensity profile context: "comfortable" (standard rhythm) or "compact" (dense micro-spacing allowed).
enforceFsmbooleanWhether to strictly enforce FSM data-state bindings and field-group hierarchies on interactive controls.
environmentstringTarget environment for inspection (defaults to html).
htmlstringAlternative parameter alias for the code string to inspect.
idstringAlternative component identifier alias to inspect.
markupstringAlternative parameter alias for the markup snippet to inspect.
namestringAlternative component identifier alias to inspect.
semanticProfilestringSemantic token rhythm profile to validate against (defaults to "default").

setup_config

[STAGE 1: ARCHITECT] Alias of basecoat_setup_config. Generate production Tailwind CSS v4 setup, OKLCH tokens, and theme scripts.

ParameterTypeDescription
componentIdstringFramework or style pack identifier alias.
environmentstringTarget environment alias (html, astro, react, vue, svelte).
frameworkstringTarget framework or environment for setup instructions and boilerplate (astro, vanilla, nextjs, sveltekit, vite, htmx). Defaults to astro.
idstringFramework or style pack identifier alias.
includeDarkThemeScriptbooleanWhether to include the synchronous inline <head> dark mode bootstrap script to prevent theme flashing. Defaults to true.
namestringFramework or style pack identifier alias.
stylePackstringAesthetic style pack preset (vega: standard shadcn New York v4, nova: modern SaaS, maia: playful organic, lyra: brutalist technical, mira: compact editorial, luma: soft modern, sera: architectural fla…

get_page_architect

[STAGE 1: ARCHITECT] Alias of basecoat_page_architect. Search and retrieve complete layout scaffolds with explicit slot markers.

ParameterTypeDescription
blockstringSpecific block identifier or pattern to retrieve scaffold for (e.g. "sidebar-01".."sidebar-16", "dashboard-01".."dashboard-07", "login-01").
componentIdstringAlternative recipe or block identifier alias.
densitystringVisual layout density: "comfortable" (standard SaaS spacing, p-6/h-14) or "compact" (dense data tools, p-4/h-12).
environmentstringTarget framework/environment template (defaults to html).
idstringAlternative recipe or block identifier alias matching id or recipe.
intentstringUser or business intent for page scaffolding (e.g. "workspace-dashboard", "executive-dashboard", "sidebar-07", "data-table-detail", "auth-split-flow").
namestringAlternative recipe or block identifier alias.
recipestringMacro recipe identifier to resolve directly (e.g. "workspace-dashboard", "workspace-detail", "workspace-settings", "auth-split-flow").

enforce_rules

[STAGE 2: RULES & RHYTHM] Alias of basecoat_rules_enforcer. Retrieve indexed technical implementation constraints.

ParameterTypeDescription
categorystringFilter rules by technical domain: "tailwind-v4", "fsm-contracts", "tokens", "semantic-html", "dashboard-patterns", or "all".
codestringHTML/markup snippet to audit against the indexed technical constraints.
componentIdstringComponent ID alias to filter relevant rules.
environmentstringTarget output environment: "html", "astro", "react", "vue", or "svelte". Defaults to "html".
htmlstringAlternative alias for the code parameter to audit against constraints.
idstringRule ID or component ID to inspect.
namestringRule or component name alias.
querystringSearch query to match against rule IDs, titles, forbidden patterns, or required syntax.

get_creative_direction

[STAGE 2: RULES & RHYTHM] Alias of basecoat_creative_director. Surface Kanso minimalism and Basecoat design intelligence.

ParameterTypeDescription
componentIdstringComponent ID alias.
densitystringInterface spatial density profile: "compact" (dense table/data tool, p-4/h-12), "standard" (balanced dashboard, p-6/h-14), or "comfortable" (generous whitespace reading, p-8/h-14).
environmentstringTarget environment (defaults to "html").
idstringPrinciple ID or component ID alias.
namestringComponent name or principle name alias.
stylePackstringBasecoat curated style pack aesthetic: "vega" (default New York v4), "nova" (SaaS), "maia" (organic pill), "lyra" (high-density brutalist), "mira" (editorial), "luma" (soft), "sera" (architectural), o…
topicstringDesign topic to inspect: "typography", "whitespace", "hierarchy", "elevation", "style-packs", "content-strategy", "density", or "all".
visitorJobstringVisitor mental model and primary task: "operate" (fast scanning SaaS), "persuade" (marketing landing), "read" (prose doc), or "experience" (immersive showcase).

compose_stack

[STAGE 3: SYNTAX & STACKS] Alias of basecoat_compose_stack. Assemble shell architectures and hydrate pre-configured component stacks into slots.

ParameterTypeDescription
componentIdstringPoka-Yoke alias for shellId.
densitystringOptical spacing density mode. Defaults to standard.
environmentstringTarget output environment/framework. Defaults to html.
headerIdstringOptional header stack ID from header-stacks: breadcrumb-command-header, tabs-filter-header, or date-range-export-header.
idstringPoka-Yoke alias for shellId.
namestringPoka-Yoke alias for shellId.
shellstringPoka-Yoke alias for shellId.
shellIdstringShell architecture ID from shell-stacks: sidebar-01..sidebar-16, topbar-shell, inset-shell, or split-shell. Defaults to sidebar-01.
stacksOrdered list or record of component stack IDs to hydrate into the shell slots (e.g., ["kpi-4-col", "area-chart-overview", "data-table-full-crud", "recent-sales-feed", "detail-drawer"]). Also accepts c…
titlestringOptional workspace/page title to inject into the shell header.

get_component_syntax

[STAGE 3: SYNTAX & STACKS] Alias of basecoat_component_syntax. Retrieve copy-pasteable Basecoat component markup with FSM state variants.

ParameterTypeDescription
componentstringComponent name or alias to retrieve canonical FSM-bound syntax for (e.g. "dialog", "tabs", "button", "input", "select", "metric-card", "data-table", "sidebar-shell", "field", "field-group").
componentIdstringAlternative identifier alias for the component.
environmentstringTarget output environment: "html", "astro", "react", "vue", or "svelte". Defaults to "html".
iconstringVerified Lucide action icon to inject with canonical data-icon="inline-start|inline-end" positioning.
idstringAlternative identifier alias for the component (matches component argument).
namestringAlternative identifier alias for the component.
orientationstringSpatial orientation: "vertical" (standard stacked), "horizontal" (grid 2-column for settings), or "inline" (checkbox/switch/radio).
statestringTarget interactive state variant to bind to markup: "default", "active", "loading", "disabled", "open", "closed", "invalid", or "open/closed".
variantstringVisual variant token (e.g. "outline", "ghost", "secondary", "destructive", "subcard", "horizontal", "inline", "error").

list_charts

[STAGE 3: SYNTAX & STACKS] Alias of basecoat_list_charts. List and filter 50+ Basecoat ApexCharts and SVG data visualization blueprints.

ParameterTypeDescription
categorystringFilter charts by category (area, bar, line, pie, radar, radial, tooltip).
componentIdstringAlias for chart ID filter.
idstringFilter or match by specific chart ID.
namestringFilter or match by chart name.
querystringSearch keyword alias for search.
searchstringSearch keyword for chart variant (e.g., stacked, gradient, sparkline, donut, gauge).

get_chart_blueprint

[STAGE 3: SYNTAX & STACKS] Alias of basecoat_get_chart_blueprint. Retrieve complete chart markup, CSS theme tokens, and client options.

ParameterTypeDescription
chartIdstringChart blueprint ID from basecoat_list_charts (e.g., area-default, area-stacked, bar-multiple, pie-donut, radar-default, radial-half, tooltip-default). Also accepts category name or keyword alias.
componentIdstringAlias for chartId/id.
enginestringChart rendering engine (svg or apexcharts). Defaults to svg.
environmentstringTarget environment (html, astro, react, vue, svelte). Defaults to html.
frameworkstringTarget framework mount generator (vanilla, astro, react, vue, svelte, html). When html or omitted, resolves to vanilla.
idstringAlias for chartId. Defaults to "area-default" if neither chartId nor id is provided.
namestringAlias for chartId/name.
themeTokensobjectOptional CSS theme token overrides (e.g. { "var(--chart-1)": "var(--color-primary)" }).

inspect_quality

[STAGE 4: QUALITY AUDIT] Alias of basecoat_quality_inspector. Audit HTML/Astro markup and return a structured quality report.

ParameterTypeDescription
codestringHTML/component markup string to inspect for syntax violations, a11y omissions, and quality metrics.
componentIdstringAlternative component identifier alias to inspect.
densityProfilestringDensity profile context: "comfortable" (standard rhythm) or "compact" (dense micro-spacing allowed).
enforceFsmbooleanWhether to strictly enforce FSM data-state bindings and field-group hierarchies on interactive controls.
environmentstringTarget environment for inspection (defaults to html).
htmlstringAlternative parameter alias for the code string to inspect.
idstringAlternative component identifier alias to inspect.
markupstringAlternative parameter alias for the markup snippet to inspect.
namestringAlternative component identifier alias to inspect.
semanticProfilestringSemantic token rhythm profile to validate against (defaults to "default").

get_design_rules

Retrieve technical implementation constraints covering Tailwind CSS v4 syntax, mandatory FSM data-state contracts, semantic CSS variables, and HTML landmarks. When called with {}, returns the top-level catalog index.

ParameterTypeDescription
categorystringFilter rules by technical domain.
codestringMarkup snippet to audit.
componentIdstringComponent identifier alias.
environmentstringTarget environment.
familystringSemantic rhythm family filter (e.g. "spacing", "layout", "typography").
htmlstringAlternative markup snippet alias.
idstringIdentifier or keyword alias.
namestringRule or component name alias.
profilestringRhythm profile filter (e.g. "default", "compact", "comfortable").
querystringSearch query matching rule IDs or keywords.

list_blocks

Alias of search_macro_blocks. Search or list approved macro layout blocks by query, role, family, or tag. When called with {}, returns the top-level macro block catalog index.

ParameterTypeDescription
componentIdstringAlternative identifier or query alias.
cursorstringPagination cursor returned from a previous search.
designIdstringActive design session ID to search with session-specific block registry overrides.
environmentstringTarget environment.
familystringBlock family filter (e.g. "layout", "workspace", "auth", "detail").
idstringAlternative identifier or query alias.
limitintegerMaximum number of block manifests to return per page (1-32, default 10).
namestringAlternative identifier or query alias.
pageIdstringTarget page ID in the design session when scoping to a slot.
parentNodeIdstringParent node ID hosting the target slot.
qstringFull-text search query across macro block IDs, descriptions, and tag sets.
rolestringMacro role filter (e.g. "navigation", "canvas", "header", "region", "form").
slotIdstringTarget parent slot ID to filter compatible blocks by role.
tagstringSpecific functional tag to filter by (e.g. "sidebar", "data-table", "kpi").