Docs MCP
Provides MCP server for AI Agents to directly access Crispy documentation.
Overview
@seed-design/docs-mcp is the official MCP (Model Context Protocol) server for Crispy documentation.
With this MCP server, AI Agents can directly access the following information:
- React Components: Installation, props, usage examples
- Design Guidelines: Component anatomy, properties, and usage guidelines
- Foundation: Design tokens including colors, typography, and spacing
- Rootage: Source JSON data for design tokens and component specifications
- Icons: Icon search and usage instructions
It runs independently without Figma integration, allowing AI tools in projects using Crispy to better understand documentation.
Installation
Available Tools
Discovery
discover_tools
Discover all available tools and check the purpose of each. Useful when first connecting to the MCP server.
Parameters:
| Name | Type | Description |
|---|---|---|
query | string (optional) | Search term to filter tools (e.g., 'installation', 'component') |
category | string (optional) | Category filter (discovery, react, breeze, design-guidelines, rootage, icons) |
Example:
React Components
list_react_components
Returns a list of all available Crispy React components.
Parameters: None
Example Response:
get_react_component
Returns detailed documentation for a specific React component, including installation, props, and usage examples.
Parameters:
| Name | Type | Description |
|---|---|---|
componentName | string | Component name (kebab-case, e.g., action-button, text-field) |
Example:
get_react_changelog
Returns the changelog for the Crispy React package. Useful for checking what changed during version upgrades.
Parameters: None
React Section-specific Tools
Tools for accessing each section of React documentation. Both list_* and get_* tools are provided for each section.
| Section | list Tool | get Tool | Description |
|---|---|---|---|
| Getting Started | list_react_getting_started | get_react_getting_started | Installation, CLI, styling setup |
| Stackflow | list_react_stackflow | get_react_stackflow | Stackflow integration guide |
| Developer Tools | list_react_developer_tools | get_react_developer_tools | Codemod, Figma integration |
| Migration | list_react_migration | get_react_migration | Migration guide |
| AI Integration | list_react_ai_integration | get_react_ai_integration | AI tool integration |
| Updates | list_react_updates | get_react_updates | Version update information |
Usage Example
First, use the list_* tool to check available documentation:
Response:
Use the path from the desired documentation to get detailed content:
Breeze
Breeze is a collection of utility UI components ready to use in projects.
list_breeze_components
Returns a list of available Breeze components.
Parameters: None
Example Response:
get_breeze_component
Returns detailed documentation for a specific Breeze component.
Parameters:
| Name | Type | Description |
|---|---|---|
componentName | string | Component name (kebab-case, e.g., animate-number) |
Example:
Design Guidelines
Access component design guideline documentation, including anatomy, properties, and usage recommendations.
list_docs_components
Returns a list of components that have design guidelines.
Parameters: None
Example Response:
get_docs_component
Returns design guidelines for a specific component.
Parameters:
| Name | Type | Description |
|---|---|---|
componentName | string | Component name (kebab-case, e.g., action-button) |
Example:
Rootage
Access Crispy's Rootage specification (source JSON data for design tokens and component specifications).
get_rootage
Returns Rootage resources. When called without a path, returns a list of all available resources.
Parameters:
| Name | Type | Description |
|---|---|---|
path | string (optional) | Resource path (e.g., /color.json, /components/action-button.json) |
Examples:
Query resource list:
Query specific resource:
Icons
Search Crispy icons and check their usage.
list_icons
Returns a list of icons. Can be filtered by type, variant, and service.
Parameters:
| Name | Type | Description |
|---|---|---|
type | string (optional) | Icon type (monochrome, multicolor) |
variant | string (optional) | Monochrome icon variant (line, fill) |
service | string (optional) | Multicolor icon service category (e.g., secondhand, real-estate) |
limit | number (optional) | Maximum number to return (default: 50, max: 200) |
Example:
search_icons
Search icons by keyword. Supports both English and Korean search.
Parameters:
| Name | Type | Description |
|---|---|---|
query | string | Search term (e.g., arrow, back, shopping) |
type | string (optional) | Icon type filter |
limit | number (optional) | Maximum number to return (default: 20, max: 100) |
Example:
Example Response:
get_icon_details
Returns detailed information and React component import statement for a specific icon.
Parameters:
| Name | Type | Description |
|---|---|---|
iconName | string | Icon name (e.g., icon_arrow_left_line) |
Example:
Example Response:
Programmatic Usage
@seed-design/docs-mcp can be installed as an npm package and integrated into custom MCP servers.
Installation
Since server is an McpServer instance from MCP TypeScript SDK v2, install @modelcontextprotocol/server as well to connect transport directly.
Usage Example
Development
Commands for local development and testing.
Testing with MCP Inspector
Use MCP Inspector to test tools in the browser: