mcp
v0.1.2MCP 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.
| Parameter | Type | Description |
|---|---|---|
section | string | Only 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.
| Parameter | Type | Description |
|---|---|---|
query * | string | Keywords, e.g. 'dark mode' or 'nuxt install'. |
content | boolean | Also search the full text of every page. |
limit | integer | How 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.
| Parameter | Type | Description |
|---|---|---|
path * | string | The page: a route, a slug or a URL. |