mcp

v1.1.0
@quasar/mcp Checked 8 hours ago Published 2 months ago

MCP server for AI agents: the Quasar documentation and component API, served from the packages installed in your project

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

list_pages List documentation pages

Every documentation page available offline, as route, title and approximate size, grouped by the installed package that ships it. Prefer search_docs to find a page; this is the full index.

ParameterTypeDescription
descriptionsbooleanAdd each page's one-line description (doubles the size of the listing)
packagestringOnly the pages shipped by this package

search_docs Search the documentation

Find documentation pages by keywords (component names, props, features, config options). Each hit names the approximate size of the page and the sections where the keywords occur: pass one as get_page's section to read only that part.

ParameterTypeDescription
query *stringKeywords, e.g. "table pagination" or "boot files"
limitintegerMaximum hits (default 5)
packagestringOnly search this package's pages

get_page Read a documentation page

The markdown of one documentation page, by route (as listed by list_pages or search_docs, a link from another page, or a quasar.dev URL; a #fragment selects that section). Pass a heading to get only that section, or outline to get the headings and pick one: whole component pages are long.

ParameterTypeDescription
route *stringPage route, e.g. vue-components/button
outlinebooleanOnly the title and headings of the page, to pick a section
sectionstringA heading of the page, to return only that section, its subsections included (case does not matter, the #anchor form works too); omit for the whole page

list_api List API descriptors

The names every get_api call accepts: Quasar components (QBtn, QTable, ...), plugins (Notify, Dialog, ...), directives (Ripple, ...) and utilities.

get_api Get an API descriptor

The exact API of a Quasar component, plugin or directive as installed: props, slots, events, methods (with types, defaults and descriptions), as the documentation site presents it. Pass part for one section, member for one prop, slot, event or method (the cheapest call by far), format "json" for the raw descriptor.

ParameterTypeDescription
name *stringDescriptor name, e.g. QBtn, Notify, Ripple
formatstringmarkdown (default): the compact form the documentation site inlines; json: the raw descriptor
memberstringOne prop, slot, event or method by name (pagination, body-cell, update:model-value, toggleFullscreen; case and punctuation do not matter); with part when the name exists in several
partstringOne section of the descriptor; omit for all of it

check_updates Check for updates

Whether newer releases of quasar, @quasar/app-vite or this server exist, by querying the npm registry. Newer docs come with the newer packages.