@seed-design/docs-mcp
v0.5.1
Published
The official MCP server for SEED Design documentation
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-mcpUsage
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-mcpIntegration 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 (react, docs, breeze, ai-integration, lynx) 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
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 |
| ---------------- | -------------------------------------------------------------------- |
| react | React component library, API references, usage examples |
| docs | Component design guidelines, Foundation (color, typography, spacing) |
| breeze | Ready-to-use utility UI components |
| ai-integration | MCP, llms.txt integration guides |
| lynx | Lynx framework |
Example Usage
// 1. Discover available sections
discover_seed_docs()
// 2. List React components
list_docs({ section: "react", category: "components" })
// 3. Get specific component documentation
get_doc({ section: "react", path: "components/button" })
// 4. 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 cleanTest with MCP Inspector
npx @modelcontextprotocol/inspector bun ./dist/stdio.js