NeuralNg Angular UI Expert MCP

v1.0.1
io.github.hasanaydin7/neuralng Checked 5 days ago Published 1 month ago

Angular UI expert for NeuralNg discovery, composition, validation, icons and project-aware themes.

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

search_components Search NeuralNg components

Search the deterministic NeuralNg component catalog, README files, and llms.txt guidance. Omit query or use an empty string to browse a bounded list in stable id order.

ParameterTypeDescription
limitinteger
querystring

search_icons Search Neural Icons by UI intent

Search all 6,184 Neural Icons variants by name, category, or common UI intent and return exact CSS classes, smallest category imports, usage markup, and accessibility guidance. Brand icons are excluded unless explicitly requested.

ParameterTypeDescription
query *string
categorystring
include_brandsboolean
limitinteger
stylestring

get_component Get a structured NeuralNg component API

Resolve a component and return its versioned public API. Use summary for discovery, standard for implementation, or full for every class slot and example.

ParameterTypeDescription
component *string
detailstring

get_component_examples Get NeuralNg component examples

Return bounded, executable examples extracted from the published component README with their heading and language.

ParameterTypeDescription
component *string
limitinteger

get_component_contract Get a NeuralNg component contract

Resolve a component by id, class, selector, or entry point and return its public contract.

ParameterTypeDescription
component *string

recommend_components Recommend NeuralNg components

Recommend documented NeuralNg components for a UI goal using deterministic intent matching.

ParameterTypeDescription
goal *string
limitinteger

plan_ui Plan a NeuralNg UI composition

Turn a product goal into a deterministic, contract-backed component composition with exact imports, providers, state, accessibility checks, and implementation order.

ParameterTypeDescription
goal *string
kindstring

suggest_form_structure Suggest a NeuralNg form structure

Return a contract-backed form composition with exact imports, providers, state ownership, accessibility checks, and implementation order.

ParameterTypeDescription
goal *string

suggest_page_structure Suggest a NeuralNg page structure

Return a contract-backed page composition with exact imports, providers, state ownership, accessibility checks, and implementation order.

ParameterTypeDescription
goal *string

suggest_table_structure Suggest a NeuralNg table structure

Return a contract-backed table composition with exact imports, providers, state ownership, accessibility checks, and implementation order.

ParameterTypeDescription
goal *string

validate_usage Validate NeuralNg Angular template usage

Parse an Angular template with @angular/compiler and validate syntax, NeuralNg elements and attribute directives, bindings, required inputs, literal values, icon-button accessibility, standalone imports, provider requirements, and duplicate Toast channels.

ParameterTypeDescription
template *string
importsarrayStandalone declaration names, e.g. ["NeuralButton"].
imports_jsonstringDeprecated JSON-encoded array; prefer imports.
providersarrayConfigured provider names.
providers_jsonstringDeprecated JSON-encoded array; prefer providers.

inspect_project Inspect the current Angular project

Read the bounded MCP working directory and return a schema-v2 Angular compiler-backed inventory of NeuralNg versions, templates, elements and attribute directives, exact imports, providers, icons, theme/appearance setup, conventions, evidence, and diagnostics.

inspect_neuralng_project Inspect the current NeuralNg Angular workspace (legacy name)

Compatibility alias for inspect_project. It accepts no path and returns the same read-only schema-v2 inspection.

suggest_consistent_ui Plan UI consistent with the current project

Inspect the current Angular workspace and return a schema-v2 consistency plan with component evidence, version alignment, exact import/provider deltas, theme ownership, bounded risks, and validation next steps.

ParameterTypeDescription
goal *string
kindstring

create_theme_recipe Create a compact NeuralNg theme recipe

Create a deterministic sparse recipe from high-level brand and interface decisions. options accepts string fields: description, preset, primary, surface, radius, border, density, elevation, motion, typographyScale. Use options: {} for neutral defaults. Use preset, not extends; extends belongs to the returned recipe.

ParameterTypeDescription
name *string
optionsobjectNative options object (preferred).
options_jsonstringLegacy JSON-encoded options; prefer options.

validate_theme_recipe Validate a NeuralNg theme recipe

Validate compact recipe JSON against the published schema and the complete Core and Editor token contract.

ParameterTypeDescription
recipeobjectNative recipe object (preferred).
recipe_jsonstringLegacy JSON-encoded recipe; prefer recipe.

edit_theme_recipe Edit a compact NeuralNg theme recipe

Apply a safe sparse patch with dotted set paths and unset paths, then validate the resulting recipe.

ParameterTypeDescription
patchobjectNative patch object (preferred).
patch_jsonstringLegacy JSON-encoded patch; prefer patch.
recipeobjectNative recipe object (preferred).
recipe_jsonstringLegacy JSON-encoded recipe; prefer recipe.

diff_theme_recipes Diff compact NeuralNg theme recipes

Return only the deterministic dotted paths that differ between two compact recipes.

ParameterTypeDescription
leftobjectNative left object (preferred).
left_jsonstringLegacy JSON-encoded left; prefer left.
rightobjectNative right object (preferred).
right_jsonstringLegacy JSON-encoded right; prefer right.

get_component_theme_contract Get a component-scoped NeuralNg theme contract

Return only the supported theme properties for one Core or Editor component. Use detail=defaults only when current default values are needed.

ParameterTypeDescription
component *string
detailstring

compile_theme_recipe Compile a NeuralNg theme recipe summary

Compile and validate a compact recipe, returning summary, diagnostics, artifact byte sizes and integration instructions without emitting the full token graph.

ParameterTypeDescription
recipeobjectNative recipe object (preferred).
recipe_jsonstringLegacy JSON-encoded recipe; prefer recipe.