mcp

v0.1.2
@newtui/mcp Checked 11 hours ago Published 14 days ago

MCP server for the newt/ui documentation — lets a coding agent list, search and read the Discord-inspired component library's docs.

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

list_docs List documentation pages

Every page of the newt/ui documentation (Discord-inspired components for React, Vue and HTML/CSS) with its title, route, description and section. Use it to find the page to read with get_doc.

ParameterTypeDescription
sectionstringOnly pages listed under this section, e.g. 'Installation' or 'Forms'. Case-insensitive.

search_docs Search the documentation

Keyword search over the newt/ui docs. Ranks pages by where every query term appears: title first, then route, description and section. Set content to true to search page bodies as well — slower, but it finds a prop or a token mentioned only inside a page.

ParameterTypeDescription
query *stringKeywords, e.g. 'dark mode' or 'nuxt install'.
contentbooleanAlso search the full text of every page.
limitintegerHow many results to return. Defaults to 10.

get_doc Read a documentation page

One page of the newt/ui docs as Markdown. Accepts a route ('/docs/theming'), a slug ('button', 'installation/nuxt') or a full newtui.dev URL. Read this rather than recalling an API from memory.

ParameterTypeDescription
path *stringThe page: a route, a slug or a URL.