Skip to main content
Glama

aurum-mcp

LLMクライアントからAurumデザインシステムを操作しましょう。 コンポーネント、トークン、アイコン、FigmaノードID、変更履歴など、すべてをClaude Code、Cursor、Copilot CLI、Gemini、Claude Desktopからクエリ可能です。

aurum-mcpは、AurumデザインシステムのカタログをLLMに提供するModel Context Protocolサーバーです。バンドルされたJSONマニフェスト(changejarapp.github.io/aurum-androidから自動同期)を読み込み、LLMが以下のような質問に回答するための9つのツールを公開します。

  • 「AurumChipの使い方を教えて。」

  • 「ネガティブフィードバック用のテキストにはどのカラートークンを使えばいい?」

  • 「AurumTopAppBarのFigmaノードは何?」

  • 「戻る矢印のアイコンを教えて。」

  • 「最新のリリースで何が変更された?」


インストール(全クライアント共通)

以下のリストから使用するクライアントを選び、対応する設定ファイルにスニペットを貼り付けて、クライアントを再起動してください。

Claude Code(プロジェクトルートの.mcp.json、または~/.claude.json)

{
  "mcpServers": {
    "aurum": {
      "command": "npx",
      "args": ["-y", "github:atri-jar/aurum-mcp#latest-stable"]
    }
  }
}

Cursor(~/.cursor/mcp.json)

{
  "mcpServers": {
    "aurum": {
      "command": "npx",
      "args": ["-y", "github:atri-jar/aurum-mcp#latest-stable"]
    }
  }
}

Copilot CLI(~/.copilot/mcp.json)

{
  "mcpServers": {
    "aurum": {
      "command": "npx",
      "args": ["-y", "github:atri-jar/aurum-mcp#latest-stable"]
    }
  }
}

Gemini CLI(~/.gemini/settings.jsonのmcpServers内)

{
  "mcpServers": {
    "aurum": {
      "command": "npx",
      "args": ["-y", "github:atri-jar/aurum-mcp#latest-stable"]
    }
  }
}

Claude Desktop(~/Library/Application Support/Claude/claude_desktop_config.json)

同様の形式です。上記のスニペットをmcpServers内に貼り付けてください。アプリを再起動します。

以上です。npmレジストリも、~/.npmrcも、PATも、環境変数も不要です。 公開Gitと公開npxのみを使用します。


Related MCP server: GDS MCP

バージョニング

デフォルトのスニペットでは、常に最新の安定版を指すCI管理のGitタグ#latest-stableを使用しています。npmの@latestディストリビューションタグと同様に動作し、npxのキャッシュが切れるたびに自動更新されます(クライアントのキャッシュ設定により、約10分から数時間)。

再現性を確保したい場合(自動化スクリプトや監査が必要な環境など)は、明示的なタグを指定してください:

"args": ["-y", "github:atri-jar/aurum-mcp#v0.1.0"]

aurum-mcpの各バージョンには、対応するAurumライブラリバージョンのマニフェストが含まれています(@aurum-mcp:0.1.6 ⇄ aurum:0.1.6)。LLMクライアントからget_aurum_versionを呼び出すと、現在参照している正確なバージョンを確認できます。


ツール

ツール

目的

list_components

Aurumコンポーネントをファミリーごとに列挙

get_component

コンポーネントの完全な仕様(KDoc、シグネチャ、パラメータ、Figmaディープリンク)

list_tokens

トークンテーブル:カラー(セマンティック+ビジュアル)、スペーシング、半径、境界線幅、アイコンサイズ、エレベーション、タイポグラフィ

search_icons

名前の一部やカテゴリからアイコンを検索

get_icon

単一アイコン:ドローアブル、Composeパス、線+塗りつぶしのFigmaディープリンク

get_changelog

バージョンごとの変更履歴(Markdown形式、デフォルトは[Unreleased])

lookup_figma_node

逆引き:FigmaノードID / URLから対応するAurumコンポーネントやアイコンを検索

search

全コンテンツに対する全文検索と、次のツール候補の提案

get_aurum_version

マニフェストの来歴:バージョン、SHA、生成タイムスタンプ

入力スキーマとレスポンス例の詳細はdocs/tools.mdを参照してください。


なぜnpmではなくnpx-from-Gitなのか?

私たちは3つの配布チャネル(公開npm、GitHub Packages、npx-from-Git)を検討し、シンプルさ、完全な所有権、新しいインフラの構築不要を最適化するために3番目を選択しました:

  • 管理すべき新しいアカウントがゼロ。 npm組織も、NPM_TOKENのローテーションも、2FAの復旧も、72時間ごとの公開永続性の懸念もありません。リポジトリ自体がエンドツーエンドの成果物となります。

  • ブランチベースのテストが無料。 フィーチャーブランチを試したい場合は、スニペットを#feat/branch-nameに変更するだけです。npmの場合、レジストリに永遠に残るプレリリース版を公開する必要があります。

  • 既存の認証を利用可能。 このリポジトリは公開されており、チームメンバーはGitHubアクセス権を持っているため、新しい設定は不要です。

  • インストール時のわずかな遅延。 初回起動時はクローン+ビルドで約5〜10秒かかりますが、npmでも約2〜5秒かかります。キャッシュされた起動は同一です。

受け入れるトレードオフ:バージョン固定のUXがやや劣る(Gitタグ vs セマンティックバージョニング)ことと、npmでの検索性が低いことです。詳細な理由はdocs/architecture.mdに記載されています。


ローカル開発

git clone https://github.com/atri-jar/aurum-mcp.git
cd aurum-mcp
pnpm install
pnpm dev          # run the server via tsx + stdio
pnpm inspect      # spawn the official MCP Inspector UI
pnpm build        # tsc → dist/
pnpm smoke        # end-to-end tools/list + tools/call test

サーバーは(コミット済みの)data/manifest.jsonを読み込みます。最新のマニフェストをライブのAurumギャラリーから取得し、バンドルされたコピーを更新するには以下を実行します:

make manifest-fetch

CIがこれを自動的に行います(.github/workflows/sync-manifest.ymlを参照)。


アーキテクチャの概要

AurumデザインシステムはChangejarapp/aurum-android(プライベート)に存在し、changejarapp.github.io/aurum-androidで公開ギャラリーを提供しています。そのtooling/gallery/generate.pyスクリプトは、単一のパーサーセットからコンポーネント、トークン、アイコン、Code Connectマッピング、変更履歴を集約します。私たちは、同じデータの構造化されたJSONプロジェクションを生成する--emit-manifestフラグを追加しました。契約はaurum-android内のtooling/manifest/schema.jsonです。このMCPサーバーはそのJSONの読み取り側であり、起動時にマニフェストを読み込んでインデックス化し、上記の9つのツールを提供します。単一の信頼できる情報源に対し、2つのレンダリングターゲット(人間用のHTML、エージェント用のJSON)が存在します。aurum-iosがリリースされた際は、そのマニフェストを兄弟ソースとしてプラグインするだけで済みます。MCPコードはプラットフォームに依存しません。

パイプラインの全体図:docs/architecture.md。


貢献

IssueやPRを歓迎します。ワークフロー(マニフェスト同期、ドリフトチェック、リリースプロセス)についてはdocs/contributing.mdを参照してください。コードスタイル:TypeScript strict、Prettierデフォルト。Markdownフォーマッタにビジネスロジックを含めないこと。

ライセンス

MIT — LICENSEを参照してください。

Available Tools

9 tools
get_aurum_versionA

Return the Aurum library version, manifest SHA, generation timestamp, and platform coverage. Use this to verify which Aurum snapshot you are reasoning about before answering version-specific questions.

Inputs: no named parameters.

get_changelogA

Return one or more Aurum changelog entries as markdown. Default returns the [Unreleased] section. Pass a specific version (e.g. 0.1.5) for that release, or all for the full history.

Inputs: version.

get_componentA

Fetch the full details of a single Aurum component by name: KDoc, Compose signature, every parameter (with types, defaults, and per-param docs), preview function names, Figma deeplink, Code Connect path, and gallery URL. Use after list_components or search to get the canonical snippet for a component.

Inputs: name (required), platform.

get_iconA

Fetch full details for a single Aurum icon by name: drawable resource paths, Compose path (AurumIcons.<Category>.<Name>), paired line/fill Figma node IDs, and deeplinks. Pass weight to focus on one variant.

Inputs: name (required), weight.

list_componentsA

List every Aurum component in the current manifest, with one-line descriptions and family grouping. Optionally filter to a specific platform (android, ios, or all). Use this as a starting point for navigation; follow up with get_component for full details.

Inputs: platform.

list_tokensA

List Aurum design tokens by category: color (semantic + visual palette), spacing, radius, borderWidth, iconSize, elevation, typography. Omit category to get a summary of all categories with counts. Pass a category for the full table.

Inputs: category.

lookup_figma_nodeB

Reverse-lookup: given a Figma node ID (5126:2507 or 5126-2507) or a full Figma URL, return the matching Aurum components, Code Connect mappings, or icons. Designed for the designer workflow: 'I'm looking at this Figma node, what code is it?'.

Inputs: nodeIdOrUrl (required).

search_iconsA

Search Aurum's icon catalog by name fragment or category. Returns matching icons with their drawable resource names, paired line/fill Figma node IDs, and deeplinks. Use this when a designer or engineer is looking for the right icon to use.

Inputs: query (required), category.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 9 tools

    Disambiguation5/5

    Each tool targets a distinct resource or action: version, changelog, component details, icon details, components listing, tokens listing, Figma lookup, general search, and icon search. No overlap in purposes.

    Naming Consistency5/5

    All tools use consistent snake_case with clear verb-noun patterns (get_, list_, search, lookup_). The naming logically distinguishes operations like retrieving single items (get_component) vs listing all (list_components).

    Tool Count5/5

    With 9 tools, the server is well-scoped for a design system reference library. Each tool covers a necessary aspect (components, icons, tokens, changelog, version, Figma integration, and search) without excess.

    Completeness4/5

    The tool set covers the core read operations for components, icons, tokens, changelog, and Figma lookup. A minor gap is the lack of a dedicated 'list all icons' tool (only search_icons is available, requiring a query), but the overall surface is thorough.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers