ds-pilot
ds-pilot
デザインシステム(コンポーネント + トークン)をAIエージェントに公開するためのMCPサーバーです。エージェントによるコンポーネントの重複作成や、トークン化すべき値のハードコードを防ぎます。
インストール
npx @lyse-labs/ds-pilot initこれにより、以下の処理が行われます:
コンポーネントディレクトリとトークンファイルの検出
.mcp.jsonへのMCPサーバーの設定CLAUDE.mdへのデザインシステムに関する指示の追加
Related MCP server: BrixUI MCP Server
使用方法
MCPサーバー(AIエージェント用)
npx @lyse-labs/ds-pilot serve --components ./src/components --tokens ./tokens.json設定が完了すると、AIエージェントは以下の操作が可能になります:
search_components("button")— 既存のコンポーネントを検索get_component_props("Button")— プロップス、型、デフォルト値を確認list_tokens("color")— すべてのカラー(色)トークンを一覧表示get_token("color.primary")— 特定のトークン値を取得
CLI(ユーザー用)
# List all components
npx @lyse-labs/ds-pilot list components --dir ./src/components
# List tokens filtered by type
npx @lyse-labs/ds-pilot list tokens --file ./tokens.json --type color
# Search components
npx @lyse-labs/ds-pilot search button --dir ./src/components
# Show component props
npx @lyse-labs/ds-pilot props Button --dir ./src/components対応フォーマット
コンポーネント
React (
.tsx,.ts,.jsx,.js)Vue / Nuxt (
.vue(<script setup lang="ts">を使用))型、デフォルト値、構造化されたバリアントを持つプロップス
名前付きエクスポートおよびデフォルトエクスポート
トークン
DTCG JSON (W3C標準)
シンプルなネストされたJSON (Figmaエクスポート)
CSSカスタムプロパティ
エイリアスの解決とグループメタデータ
仕組み
スキャナーがコードベースを読み取り、コンポーネント名、プロップス、トークン値を抽出します。
MCPサーバーがこのデータをAIエージェントが呼び出せるツールとして公開します。
CLAUDE.mdの指示により、エージェントは新しいコンポーネントを作成する前に既存のものを確認するようになります。
エージェントは推測をやめ、再利用を開始します。
ライセンス
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
The Figma MCP server brings Figma design context directly into your AI workflow.
Serves your design system and coding standards to coding agents, so they stop guessing.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
MCP server for building and testing AI agents with multi-model experimentation and insights.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceA read-only MCP server that provides AI coding agents with a queryable contract for design system tokens, components, patterns, and anti-patterns.15 npm1Apache 2.0
- AlicenseAqualityDmaintenanceAn MCP server that connects AI clients to Figma components, design tokens, and variables from the BrixUI Design System, enabling component browsing, searching, and token retrieval.47 npmMIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that gives AI assistants structured access to a design system's tokens, components, guidelines, and patterns, enabling them to read, lint, and author design system data.1MIT
- AlicenseAqualityCmaintenanceMCP server that gives LLMs deep knowledge of design systems and tokens, enabling intelligent design evolution, token analysis, and designer-to-developer handoffs.3712 npm2MIT