Skip to main content
Glama
lyse-labs
by lyse-labs

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カスタムプロパティ

  • エイリアスの解決とグループメタデータ

仕組み

  1. スキャナーがコードベースを読み取り、コンポーネント名、プロップス、トークン値を抽出します。

  2. MCPサーバーがこのデータをAIエージェントが呼び出せるツールとして公開します。

  3. CLAUDE.mdの指示により、エージェントは新しいコンポーネントを作成する前に既存のものを確認するようになります。

エージェントは推測をやめ、再利用を開始します。

ライセンス

MIT

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
6Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    A read-only MCP server that provides AI coding agents with a queryable contract for design system tokens, components, patterns, and anti-patterns.
    24
    1
    Apache 2.0
  • A
    license
    A
    quality
    C
    maintenance
    An 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.
    4
    11
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    MCP server for the coss ui design system, enabling AI agents to fetch components, props, and design tokens on demand for accurate, low-cost code generation.
    6
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    An 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.
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • The Figma MCP server brings Figma design context directly into your AI workflow.

  • MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lyse-labs/ds-pilot'

If you have feedback or need assistance with the MCP directory API, please join our Discord server