@cascivo/mcp
MCP server exposing the cascivo component registry to AI agents
Versions
0.6.2latest0.6.10.6.00.5.20.5.1+ show 13 moreshow less
0.5.00.4.10.3.50.3.40.3.30.2.00.1.80.1.60.1.50.1.40.1.20.1.10.1.0Tools 23
list_registries List available component registries: the cascade directory plus any configured via CASCADE_REGISTRIES env.
list_components List all cascade components, optionally filtered by category and/or type.
get_component Get the full manifest (props, states, tokens, a11y, examples) for one component.
search_components Fuzzy search components by name, tags, or description.
add_to_project Add a component to the current project by running the cascade CLI.
list_templates List marketplace templates (whole-page compositions) from the static catalog, optionally filtered by category, tag, framework, or verified status.
get_template Get one marketplace template by name or install spec — its components, install command, demo link, and screenshots.
add_template Install a marketplace template (its components + page/fixture files) into the current project by running the cascade CLI.
create_app Scaffold a complete, ready-to-run cascivo app (Vite + React + TypeScript) wired with the app shell, side navigation, header, and a theme — one page per nav section, with signal-driven section switching. Runs `cascivo create` as a child process, writing the project into a new <name> directory.
create_theme Generate a cascade theme CSS file from three colors.
scaffold_page [Deprecated — use scaffold_view instead] Generate a JSX page layout from a description.
validate_view Validate a CascadeView JSON config against the registry. Returns errors with exact paths.
scaffold_view Generate a valid starter ViewConfig from a description. Always validates before returning.
scaffold_flow Generate a starter declarative <Flow nodes edges /> (from @cascivo/flow) for a node/edge diagram — flowchart, DAG, or pipeline. Returns serializable nodes/edges plus ready-to-paste JSX. Edit the labels/edges to match the intent.
get_view_grammar Get the bound-vocabulary grammar + system prompt for generating valid ViewConfig JSON, derived from the component manifests. Use this to constrain an LLM to cascivo's real components, props, and enum values (anti-hallucination). Optionally scope to a subset of components.
get_tokens Get the cascade token catalog (closed set). Agents must select from this catalog rather than hard-coding values. Returns the CANONICAL token set by default — exactly one name per purpose. Pass includeAliases: true to also list backwards-compat aliases, each tagged with its canonical name.
search_icons Resolve an icon by intent. cascivo icon export names differ from Lucide/Radix (e.g. LayoutDashboard→Dashboard, Rocket→Spaceship), so guessing an import name wastes a compile. Pass a concept, a familiar foreign name, or an intent word ("deploy", "git branch") and get the matching @cascivo/icons exports ranked by relevance. Omit the query to list every icon name.
get_variant_matrix Get the deterministic token variant matrix: a map from design intent (a colour role + state slot, e.g. accent + hover) to the exact token name, plus every semantic/component token resolved to a concrete value in each theme. Use this to answer "what is the warm theme\'s accent-hover value?" or "which token is the active state of primary?" without guessing how layered theme CSS resolves.
validate_component Run cascivo's structural invariants over candidate component source (TSX and/or CSS) before writing it to disk. Catches banned React hooks, off-scale @media/@container breakpoints, missing static fallbacks for progressive CSS (@function/if()), and hallucinated --cascivo-* tokens. Use this to self-correct generated code in a loop until `valid` is true.
list_guides List the cascivo concept guides available to get_guide (getting-started, theming, tokens, troubleshooting, …).
get_guide Get the full markdown of one cascivo concept guide by slug (e.g. "getting-started", "theming", "troubleshooting"). Use list_guides for the slugs.
get_context Get intent, whenToUse/whenNotToUse, and authoring guidance for one component by name.
select_component Heuristic ranking of cascade components by natural language need. Returns top matches with scores and reasons. Note: heuristic ranking, not a model call.
Permissions 4
network medium filesystem low shell high env_vars low