Sugarcoat provides first-class AI integration to help you build faster with AI-powered coding assistants. Whether you're using Claude Code, Cursor, VS Code Copilot, or other AI tools, Sugarcoat can provide context about components, design tokens, and usage patterns.
Overview#
Sugarcoat offers two complementary approaches for AI integration:
MCP Server#
The Model Context Protocol (MCP) server enables real-time, interactive communication between AI assistants and the Sugarcoat component library. AI assistants can:
- Search and browse available components
- View component source code and props
- Get usage examples
- Access design tokens (colors, spacing, typography)
- Generate installation commands
Learn more about MCP Server setup →
LLM Documentation Files#
The llm.txt files provide static documentation that can be included in AI assistant context. These files follow the emerging llms.txt standard↗ and contain:
- Complete component reference
- Installation instructions
- Design token documentation
- Usage examples
Quick Start#
For Claude Code Users#
This creates a .mcp.json file in your project root. Restart Claude Code to activate the Sugarcoat MCP server.
For Cursor Users#
This creates .cursor/mcp.json. Restart Cursor to activate.
For VS Code Users#
This creates .vscode/mcp.json. Restart VS Code to activate.
For Other AI Tools#
Sugarcoat hosts LLM documentation files that any AI tool can reference:
- Concise: sugarcoatui.com/llm.txt↗
- Complete: sugarcoatui.com/llm-full.txt↗
Simply ask your AI assistant to read these URLs for Sugarcoat documentation.
When to Use Each Approach#
| Approach | Best For |
|---|---|
| MCP Server | Interactive AI assistants that support MCP (Claude Code, Cursor, VS Code) |
| llm.txt Files | AI tools without MCP support, or when you want static documentation |
Both approaches can be used together for maximum AI assistance coverage.
Supported AI Assistants#
| Assistant | MCP Support | llm.txt Support |
|---|---|---|
| Claude Code | Yes | Yes |
| Cursor | Yes | Yes |
| VS Code Copilot | Yes | Yes |
| ChatGPT | No | Yes (manual) |
| Other LLMs | No | Yes (manual) |