mcp
v0.1.10MUI MCP Server
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
generateReactCode
generates React + Material UI code from a natural-language prompt (optionally grounded in a Figma frame). Returns the generated files plus a short explanation. Requires `MUI_RECIPES_API_KEY`. Pass `threadId` back on subsequent calls to keep multi-turn conversations on the same chat. Pass `muiPairing` to target a specific MUI / MUI X major.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Natural-language brief for the codegen run. |
designContext | Design tool context. Use the `figma` variant when the host has a Figma frame in scope; `opaque` is the escape hatch for other tools (Penpot, Sketch, screenshots). | |
model | string | Optional model override; otherwise the backend default. |
muiPairing | object | Target MUI / MUI X version pairing. Detect from the project's `package.json` (`@mui/material` and `@mui/x-data-grid` ranges) and pass accordingly. Omit to default to the latest stable pairing (current… |
threadId | string | Continue an existing conversation. Must be owned by the caller. Omit to start a new thread. |
fetchDocs
Fetch documentation for one or more URLs extracted from previous tool calls responses. The URLs should be passed as an array in the "urls" argument.
| Parameter | Type | Description |
|---|---|---|
urls * | array | The list of URLs to fetch documentation from |