stellar-mcp

v0.57.0
@snowflake/stellar-mcp Checked 5 days ago Published 3 days ago

MCP 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.

ParameterTypeDescription
name *stringThe component name (e.g., 'Button', 'Dialog')
docs_sectionstringDocs section to load when include_docs=true: 'code', 'examples', 'usage', or 'all'.
include_docsbooleanWhen 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.

ParameterTypeDescription
categorystringOptional category filter for list mode (e.g., 'actions', 'forms-&-input', 'navigation')
include_relatedbooleanWhen true, append components related to the top search result (search mode only).
limitnumberMaximum number of matching results to return (search mode only)
querystringOptional search query. If omitted, returns component listing.
related_limitnumberMaximum 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.

ParameterTypeDescription
limitnumberMaximum number of matches to return (query mode only).
querystringOptional docs query. If omitted, returns all available docs IDs.

query_tokens Query Tokens

Query tokens with optional category and query filters. Supports pagination.

ParameterTypeDescription
categorystringOptional token category name (e.g., 'semantic gap', 'semantic size', 'radius', 'semantic colors', 'elevation', 'typography').
limitnumberMaximum number of tokens to return.
offsetnumberSkip first N matching tokens.
querystringOptional 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.

ParameterTypeDescription
id *stringToken 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.

ParameterTypeDescription
css_property *stringThe CSS property name (e.g., 'gap', 'marginBottom', 'paddingLeft', 'backgroundColor', 'borderRadius', 'boxShadow')
include_allbooleanWhen true, include all tokens for the mapped category.
limitnumberMaximum number of recommended tokens to return.

query_icons Query Icons

List icons, pictograms, and illustrations, or search by name when a query is provided.

ParameterTypeDescription
querystringOptional search query (e.g., 'arrow', 'chart', 'user'). If omitted, returns a list.
typestringOptional type filter: 'icon', 'pictogram', 'illustration', or 'all'.

get_icon Get Icon

Get information about a specific icon, pictogram, or illustration.

ParameterTypeDescription
name *stringThe 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.

ParameterTypeDescription
componentstringOptional Core UI component name for exact/semantic target lookup (e.g., 'LoadingIndicator', 'SidePanel', 'Typeahead').
filterstringOptional 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).

ParameterTypeDescription
id *stringDocumentation ID from `query_docs` (e.g., "guide:core-ui-migration", "foundation:spacing", "page:components-button-code"), or legacy aliases like "migration".