docs-mcp
v0.7.1The official MCP server for SEED Design documentation
MCP (Model Context Protocol) tools for accessing SEED Design documentation. This package provides LLMs with structured access to SEED Design's React and Breeze component documentation, design guidelines, Rootage specifications, and more. For use with Claude Desktop or other MCP clients: Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):
Summary extracted from the README.
@seed-design/docs-mcp
MCP (Model Context Protocol) tools for accessing SEED Design documentation. This package provides LLMs with structured access to SEED Design's React and Breeze component documentation, design guidelines, Rootage specifications, and more.
Installation
npm install @seed-design/docs-mcp
# or
bun add @seed-design/docs-mcp
Usage
As a stdio MCP server (CLI)
For use with Claude Desktop or other MCP clients:
# Global installation
npm install -g @seed-design/docs-mcp
seed-docs-mcp
# Or via npx
npx @seed-design/docs-mcp
Integration with Claude Desktop
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"seed-docs": {
"command": "npx",
"args": ["-y", "@seed-design/docs-mcp"]
}
}
}
Or if installed globally:
{
"mcpServers": {
"seed-docs": {
"command": "seed-docs-mcp"
}
}
}
Programmatic Usage
For building custom MCP servers or integrating into your own applications:
import { server } from "@seed-design/docs-mcp/server";
import { initializeTools } from "@seed-design/docs-mcp/tools";
// Initialize the tools
await initializeTools(server);
// Use with your preferred transport
// Example: stdio, HTTP, SSE, etc.
Available Tools
Discovery
discover_seed_docs- Discover all available documentation sections and categories. Call this first to understand the documentation structure.
Documentation
list_docs- List available documents in a section (see Documentation Sections) with optional category filterget_doc- Get the content of a specific document by section and pathget_full_docs- Get all documents from a section combined into a single text (react,docs,breeze,ai-integration,lynx)
Rootage (Design Tokens & Component Specs)
get_rootage- Get SEED Design rootage specifications (design tokens and component specs)- Without path: Returns index with all available resources
- With path: Returns specific resource (e.g.,
/color.json,/components/action-button.json)
Icons
list_icons- List all available icons with optional type filtersearch_icons- Search icons by keywordget_icon_details- Get detailed information about a specific icon
Documentation Sections
| Section | Description |
|---|---|
foundations |
Design foundations such as color, typography, and spacing |
components |
Component design specs and usage guidelines (anatomy, properties, guidelines) |
patterns |
Design patterns and guidelines |
react |
React component library, API references, usage examples |
docs |
Design references such as migration guides |
breeze |
Ready-to-use utility UI components |
ai-integration |
MCP, llms.txt integration guides |
lynx |
Lynx framework |
updates |
SEED updates and release notes |
Example Usage
// 1. Discover available sections
discover_seed_docs()
// 2. Get component design guidelines
get_doc({ section: "components", path: "action-button" })
// 3. List React components
list_docs({ section: "react", category: "components" })
// 4. Get specific component documentation
get_doc({ section: "react", path: "components/button" })
// 5. Get AI integration guide
get_doc({ section: "ai-integration", path: "figma-mcp" })
Development
# Install dependencies
bun install
# Run in development mode (stdio)
bun run dev
# Build the package
bun run build
# Lint check
bun run lint
# Lint fix
bun run lint:fix
# Type check
bun run typecheck
# Clean build artifacts
bun run clean
Test with MCP Inspector
npx @modelcontextprotocol/inspector bun ./dist/stdio.js