aurum-mcp
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を呼び出すと、現在参照している正確なバージョンを確認できます。
ツール
ツール | 目的 |
| Aurumコンポーネントをファミリーごとに列挙 |
| コンポーネントの完全な仕様(KDoc、シグネチャ、パラメータ、Figmaディープリンク) |
| トークンテーブル:カラー(セマンティック+ビジュアル)、スペーシング、半径、境界線幅、アイコンサイズ、エレベーション、タイポグラフィ |
| 名前の一部やカテゴリからアイコンを検索 |
| 単一アイコン:ドローアブル、Composeパス、線+塗りつぶしのFigmaディープリンク |
| バージョンごとの変更履歴(Markdown形式、デフォルトは |
| 逆引き:FigmaノードID / URLから対応するAurumコンポーネントやアイコンを検索 |
| 全コンテンツに対する全文検索と、次のツール候補の提案 |
| マニフェストの来歴:バージョン、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-fetchCIがこれを自動的に行います(.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 toolsget_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).
searchA
Free-text search across all Aurum content (components, tokens, icons, changelog). Returns the top hits with the next-tool to call for details. Use this when you don't know which specific tool to start with.
Inputs: query (required), limit.
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
Scored across 9 tools
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.
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).
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.
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
Related MCP Connectors
Search the Cerebrium docs: deployment, cerebrium.toml, hardware, endpoints. Also sends feedback.
Run any Relay model (image, video, audio, LLM), poll tasks, upload files and search Relay's docs.
Retrieve information from the Medusa documentation to assist you with your Medusa development.
Find, write, publish and check pages and API references in your DeveloperHub docs from an AI client
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceProvides AI assistants with access to WordPress Design System component information and design guidance.9GPL 2.0
- FlicenseAqualityDmaintenanceExposes Levit design system (GDS) metadata to AI coding tools, enabling queries about color tokens and component usage via natural language.11-
- AlicenseNot gradedqualityBmaintenanceProvides a real API for coding agents to look up design system components, props, and tokens, preventing guessed answers.9MIT
- FlicenseNot gradedqualityBmaintenanceEnables intent-based semantic search over external design system documentation, allowing MCP-compatible AI assistants to retrieve relevant design tokens, component architectures, and code patterns via a single tool.-