nimbus-mcp

v3.9.0
@commercetools/nimbus-mcp Checked 3 hours ago Published 6 days ago

MCP server for the Nimbus design system

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

get_component Get Component

Returns detailed information about a Nimbus component or pattern. With name only: returns metadata and available sections. With name + section: returns section content (overview, guidelines, implementation, accessibility, props).

ParameterTypeDescription
name *stringComponent or pattern name, e.g. "Button", "TextInput", "MoneyInputField". Case-insensitive.
sectionstringSection to retrieve. Omit to get metadata + section list.

get_docs_page Get Docs Page

Returns the full content of a Nimbus documentation page by its route path (as returned by search_docs). For tabbed pages, optionally specify a section to retrieve a single view. Use search_docs first to find the page path.

ParameterTypeDescription
path *stringRoute path from search_docs results, e.g. "home/getting-started/installation".
sectionstringFor tabbed pages, which view to return (e.g. "overview", "dev", "guidelines", "a11y"). Omit to get all views concatenated.

get_tokens Get Tokens

Returns Nimbus design tokens. No params: lists all categories with counts. With category: returns tokens in that category (large categories are paginated by default). With value: reverse-lookup to find which tokens resolve to that value (e.g. "16px" → spacing.400). With uikitToken: resolve a UI Kit token name (e.g. "customProperties.constraint7" or "designTokens.spacingXl") to its CSS value, find matching Nimbus tokens, and recommend the best category.

ParameterTypeDescription
categorystringToken category to retrieve, e.g. "spacing", "color", "fontSize". Use "colorPalettes" to list available palette names for the colorPalette prop. Case-insensitive.
limitintegerMaximum number of tokens to return per page. Only applies when category is provided. Defaults to all for small categories, 20 for large categories (> 55 tokens).
offsetintegerStarting index for paginated results. Only applies when category is provided. Omit or pass 0 for the first page.
uikitTokenstringUI Kit token name to resolve, e.g. "constraint7", "spacingXl", "customProperties.constraint7", or "designTokens.spacingXl". Resolves the token to its CSS value, finds matching Nimbus tokens, and recom…
valuestringReverse-lookup: find tokens whose resolved value matches this string, e.g. "16px" or "#0969DA". Case-insensitive.

list_components List Components

Returns Nimbus components. Optionally filter by subcategory or fuzzy-search by name, description, or tags.

ParameterTypeDescription
categorystringFilter by subcategory, e.g. "Inputs", "Buttons", "Navigation". Case-insensitive.
querystringFuzzy search query over component name, description, and tags.

search_docs Search Docs

Search all Nimbus docs (components, patterns, hooks, icons, tokens) including guidelines and accessibility views. Returns matching pages with content snippets. Props are not searchable here — use get_component with section='props' for prop details. Results include a toolHint field indicating which tool to call for deeper info (e.g. get_component, get_tokens, search_icons, get_docs_page).

ParameterTypeDescription
query *stringSearch query to find relevant documentation pages. e.g. "form validation", "color tokens", "accessibility", "onChange".

search_icons Search Icons

Fuzzy-search Nimbus icons by name or keyword. Returns matching icon names with import paths from @commercetools/nimbus-icons. Results are paginated (10 per page). Use the offset parameter to retrieve additional results.

ParameterTypeDescription
query *stringSearch query to match against icon names and keywords, e.g. "checkmark", "arrow", "settings".
offsetintegerStarting index for paginated results. Omit or pass 0 for the first page.

migrate_from_uikit Migrate from UI Kit

Returns migration mapping data for UI Kit components to their Nimbus equivalents. Use componentName for a single lookup, or filePath to extract all UI Kit imports from a file and get mappings for each. The MCP provides data; the LLM does the actual code rewriting.

ParameterTypeDescription
componentNamestringUI Kit component name to look up, e.g. "PrimaryButton", "TextInput", "CollapsiblePanel".
filePathstringAbsolute path to a source file. Extracts @commercetools-uikit/* imports and returns mappings for all found components.