design-system-mcp
A Model Context Protocol server that exposes an airline design system as a queryable knowledge base, enabling AI to discover components, find components for use cases, and scaffold prototypes.
README
Design System MCP Server
An MCP (Model Context Protocol) server that exposes an airline-grade design system as a queryable knowledge base — enabling AI-assisted component discovery, use-case-driven scaffolding, and spec-driven prototype generation.
This project will encode deep domain knowledge — fare display, ancillary retailing, and booking flows — into an AI workflow that lets Claude reason about component selection the way an experienced engineer would.
What This Is
Most design system tooling answers the question "what does this component do?"
This MCP server answers "what component should I use for this problem?"
Claude Desktop (or Claude Code) can invoke these tools mid-conversation to make informed, design-system-aware decisions when scaffolding prototypes — without digging through Storybook or asking a teammate.
Architecture
Claude Desktop / Claude Code ←— orchestration layer
↓
Design System MCP Server ←— this repo (tool layer)
↓
components.json ←— structured component knowledge base
The MCP server runs locally via stdio. Claude decides when to call a tool based on context — the developer never has to invoke tools manually.
Tools
get_component
Returns full component spec by exact name — variants, props, accessibility guidance, usage notes, and related components.
Input: { name: "FareCard" }
Output: variants, props, a11y guidance, usage, related components
find_component_for_use_case
Semantic search — describe what you need in plain English and get the most relevant components ranked by relevance.
Input: { description: "show ancillary upsell offers after fare selection" }
Output: AncillaryOfferCard, AncillaryOfferGroup, AncillaryCartSummary
list_components_by_category
Browse the component library by category. Returns name, category, and description for each match.
Input: { category: "Booking forms" }
Output: PassengerForm, BookingFormStepper, PriceBreakdown
Component Coverage
The knowledge base covers three core categories of the airline passenger journey:
Fare display & selection
FareCard— single fare option with price, cabin class, and conditionsFareGrid— responsive fare family comparison grid
Ancillary offers
AncillaryOfferCard— individual ancillary product (bag, seat, upgrade, insurance)AncillaryOfferGroup— grouped ancillary offers with expand/collapseAncillaryCartSummary— persistent selected ancillaries and running total
Booking forms
PassengerForm— passenger details capture (adult, child, infant variants)BookingFormStepper— multi-step booking flow navigationPriceBreakdown— itemised fare, tax, fee, and ancillary cost summary
Setup
Prerequisites: Node.js v18+, Claude Desktop
git clone https://github.com/yourusername/design-system-mcp
cd design-system-mcp
npm install
npm run build
Add to your ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"design-system-mcp": {
"command": "/path/to/node",
"args": ["/path/to/design-system-mcp/build/index.js"]
}
}
}
Restart Claude Desktop. The server will appear under Settings → Developer.
Example Usage
In Claude Desktop or Claude Code:
"I need to build a fare selection screen for an NDC booking flow. What components should I use?"
Claude will call find_component_for_use_case, get back FareGrid and FareCard, then call get_component on each to retrieve their full specs — and use that context to scaffold a React prototype using the correct components, props, and accessibility patterns.
Roadmap
This server is Phase 2 of a larger pipeline:
- Phase 3a — Spec-to-Figma generator: take a service blueprint and generate an editable Figma layout (spec-first path)
- Phase 3b — Figma MCP tool: read a Figma frame and map its components to this design system (design-first path)
- Phase 4 — Full pipeline: service blueprint → structured spec → Figma → MCP tools → React prototype, orchestrated by Claude Code
Background
This project grew out of 6 years building and governing Spark — Sabre's enterprise design system across airline and hospitality products. The goal is to encode that domain expertise into an AI workflow that lets prototypes scale in complexity without losing design system fidelity.
The broader thesis: AI-assisted engineering is about encoding deep domain knowledge into workflows that make the right decisions automatically.
Tech Stack
- TypeScript
@modelcontextprotocol/sdkzod- Node.js v20
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。