mona-ui-mcp

v0.62.0
@nanahoshi/mona-ui-mcp Checked 7 hours ago Published 1 day ago

An MCP server that gives coding agents the Mona UI docs, API reference and a template checker

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

list_components List Mona UI components

Lists every Mona UI docs page by category, with the entry point each one imports from, after the setup essentials. Call it once before using Mona UI.

ParameterTypeDescription
categorystringOnly list one category, such as "Data" or "Forms".

search_docs Search the Mona UI docs

Searches the Mona UI docs and API reference. Returns the best matching page sections and symbols, each with the call that reads it in full.

ParameterTypeDescription
query *stringWhat to find, in words or names, such as "grid inline editing" or "monaTooltip".
limitintegerHow many results to return. Defaults to 8.
scopestring"docs" for page sections only, "api" for symbols only. Defaults to "all".

get_docs_page Read a Mona UI docs page

Reads a Mona UI docs page as markdown, with each example's code. A long page comes back as its intro and an outline; then ask for a section.

ParameterTypeDescription
page *stringThe page, by name or title, such as "grid", "sidebar-state" or "Date Picker".
fullbooleanReturn a long page in full instead of its outline.
sectionstringA heading of the page, such as "Editing" or "Examples > Looks". Returns it with its sub-sections.

get_api Get a Mona UI API reference

Returns the API reference of a Mona UI symbol: import path, selector, inputs with types and defaults, outputs, methods. Takes a class name, a selector, a pipe name or an entry point.

ParameterTypeDescription
name *stringSuch as "GridComponent", "mona-grid", "monaButton", "monaSlice" or the entry point "grid".

check_template Check a template's Mona UI usage

Checks an Angular template's use of Mona UI: unknown elements and directives, made-up inputs and outputs, missing required inputs, two-way bindings on one-way inputs. Also lists the imports the template needs.

ParameterTypeDescription
template *stringThe component's template: the HTML file, or its inline template.