stellar-mcp
v0.57.0MCP server for Stellar 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
Get detailed component API/docs. Use this instead of repo/code search when implementing Stellar components.
| Parameter | Type | Description |
|---|---|---|
name * | string | The component name (e.g., 'Button', 'Dialog') |
docs_section | string | Docs section to load when include_docs=true: 'code', 'examples', 'usage', or 'all'. |
include_docs | boolean | When true, append component documentation content to the response. Recommended for all implementation tasks. |
query_components Query Components
First step for component discovery. Use this instead of repo/code search to find Stellar components. Returns doc IDs for direct get_doc usage.
| Parameter | Type | Description |
|---|---|---|
category | string | Optional category filter for list mode (e.g., 'actions', 'forms-&-input', 'navigation') |
include_related | boolean | When true, append components related to the top search result (search mode only). |
limit | number | Maximum number of matching results to return (search mode only) |
query | string | Optional search query. If omitted, returns component listing. |
related_limit | number | Maximum number of related components to append (search mode only). |
query_docs Query Docs
List available docs IDs when query is omitted, or filter docs by query.
| Parameter | Type | Description |
|---|---|---|
limit | number | Maximum number of matches to return (query mode only). |
query | string | Optional docs query. If omitted, returns all available docs IDs. |
query_tokens Query Tokens
Query tokens with optional category and query filters. Supports pagination.
| Parameter | Type | Description |
|---|---|---|
category | string | Optional token category name (e.g., 'semantic gap', 'semantic size', 'radius', 'semantic colors', 'elevation', 'typography'). |
limit | number | Maximum number of tokens to return. |
offset | number | Skip first N matching tokens. |
query | string | Optional token query by name/value/description (e.g., 'blue', 'spacing', '16px'). |
get_token Get Token
Get exact token details by token name as used in code. Also validates: returns metadata when the token exists, or suggestions / migration hints when it does not. ⚠️ Use this to verify tokens BEFORE writing code.
| Parameter | Type | Description |
|---|---|---|
id * | string | Token name as used in code (e.g., "tokens['space-gap-md']", "tokens['color-text']", "legacyBaltoTheme.reusableTextPrimary"). |
find_token_for_css Find Token for CSS
Find the correct token to use for a specific CSS property. This ensures you use the right token category for each property.
| Parameter | Type | Description |
|---|---|---|
css_property * | string | The CSS property name (e.g., 'gap', 'marginBottom', 'paddingLeft', 'backgroundColor', 'borderRadius', 'boxShadow') |
include_all | boolean | When true, include all tokens for the mapped category. |
limit | number | Maximum number of recommended tokens to return. |
query_icons Query Icons
List icons, pictograms, and illustrations, or search by name when a query is provided.
| Parameter | Type | Description |
|---|---|---|
query | string | Optional search query (e.g., 'arrow', 'chart', 'user'). If omitted, returns a list. |
type | string | Optional type filter: 'icon', 'pictogram', 'illustration', or 'all'. |
get_icon Get Icon
Get information about a specific icon, pictogram, or illustration.
| Parameter | Type | Description |
|---|---|---|
name * | string | The icon name (e.g., 'ArrowRightIcon', 'arrow-right', 'ChartPictogram') |
query_migration Query Migration
List Core UI -> Stellar mappings or find the migration target for a specific Core UI component.
| Parameter | Type | Description |
|---|---|---|
component | string | Optional Core UI component name for exact/semantic target lookup (e.g., 'LoadingIndicator', 'SidePanel', 'Typeahead'). |
filter | string | Optional keyword filter for list mode (e.g., 'dialog', 'button'). Ignored when component is provided. |
get_doc Get Doc
Get a documentation page by ID (guide, foundation, or page path).
| Parameter | Type | Description |
|---|---|---|
id * | string | Documentation ID from `query_docs` (e.g., "guide:core-ui-migration", "foundation:spacing", "page:components-button-code"), or legacy aliases like "migration". |