onu-mcp

v0.4.0
@javaabu/onu-mcp Checked 7 hours ago Published 13 days ago

MCP server for Onu (@javaabu/onu): gives AI assistants the component docs and the rules for writing Onu code.

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

onu_get_rules Rules for writing Onu code

The rules for writing UI with Onu: setup, imports, forms with Laravel validation, Thaana and RTL, theming, icons and accessibility. Read once before writing Onu code.

onu_list_components List Onu components and guides

Every Onu docs page (components, hooks and guides) by section, with its path and one line on what it is for. Pass `section` (e.g. `text-inputs`, `listing-pages`, `guides`) to list one section.

ParameterTypeDescription
sectionstringSection id or title; omit for every section

onu_get_doc Get an Onu docs page

The full docs page of a component, hook or guide as Markdown: usage, Props table, RTL notes and Accessibility. `name` can be the component name (`PasswordInput`), the file name (`password-input`) or the path (`text-inputs/password-input`).

ParameterTypeDescription
name *stringComponent, hook or guide name, or a docs path

onu_search_docs Search the Onu docs

Search every Onu docs page for words, e.g. `date range laravel`, `thaana textarea`, `bulk delete`. Returns the best pages with a snippet; read one with onu_get_doc.

ParameterTypeDescription
query *stringWords to look for
limitintegerMaximum results (default 8)