Axiom
A React implementation of Optimizely's Axiom Design System.
For Users
Installation
npm install @optiaxiom/react
接入你的智能体
發布者自己的指令。不是 PlugMCP 端點。
用我們的金鑰與日誌託管一份副本。
npx -y @optiaxiom/[email protected]Claude Code 沒有本機指令的安裝連結。複製下方指令並在終端機中執行。
claude mcp add optiaxiom-mcp -- npx -y @optiaxiom/mcp@3.2.4在終端機中執行。
{ "mcpServers": { "optiaxiom-mcp": { "command": "npx", "args": [ "-y", "@optiaxiom/[email protected]" ] } }}claude_desktop_config.json
遠端 URL 還是本機指令? 兩種安裝方式的差異
來自發布者
A React implementation of Optimizely's Axiom Design System.
npm install @optiaxiom/react
MCP server for Axiom Design System - enables AI assistants to generate accurate Axiom code
We provide an MCP server that enables AI assistants like Claude Code and Cursor to access accurate Axiom component metadata, design tokens, and usage examples. This helps AI assistants generate better code using the Axiom design system.
npm install -g @optiaxiom/mcp
See the MCP guide for setup instructions.
fnm installcorepack enableThis is a monorepo containing multiple packages and applications:
optiaxiom/
├── packages/
│ ├── react/ # Main React component library (@optiaxiom/react)
│ ├── web-components/ # Framework-agnostic web components
│ ├── globals/ # Internal utilities and design tokens
│ ├── icons/ # Material Symbols icon kit (@optiaxiom/icons)
│ ├── mcp/ # MCP server for AI assistants (@optiaxiom/mcp)
│ ├── proteus/ # JSON-based UI spec renderer (@optiaxiom/proteus)
│ ├── codemod/ # Codemods for migrating Axiom code
│ └── shared/ # Shared build and development tools
├── apps/
│ ├── docs/ # Documentation site (Nextra + Next.js)
│ ├── storybook/ # Component development and visual testing
│ └── figma/ # Figma integration utilities
└── .changeset/ # Changesets for version management
@optiaxiom/react: React component library@optiaxiom/web-components: Web component library@optiaxiom/globals: Design tokens and shared React contexts (for module federation)@optiaxiom/icons: Material Symbols icon kit@optiaxiom/proteus: Renderer for Proteus, a JSON-based UI specification for building interactive tool interfaces@optiaxiom/mcp: MCP server exposing component metadata to AI assistants@optiaxiom/codemod: Codemods for migrating Axiom code@optiaxiom/shared: Shared build tools (not for public use)The project uses a modern, type-safe stack optimized for design system development:
Core Libraries:
Component Primitives:
Development & Testing:
Documentation & Tooling:
Design tokens are defined in @optiaxiom/globals and provide a consistent design language:
Tokens are consumed via Vanilla Extract's type-safe API, ensuring consistency across components.
For detailed contribution guidelines, see CONTRIBUTING.md.
Quick Start:
Clone the project and run:
pnpm install
Run the following to start your dev environment:
pnpm dev
This will spin up all the apps and packages in dev mode. Use pnpm filtering to run individual apps:
# run docs only (along with all dependencies)
pnpm dev:docs
# run storybook only (along with all dependencies)
pnpm dev:storybook
Run lint and test to check the codebase and run unit tests respectively.
pnpm lint type-checks, formats, and lints in one step (see
CONTRIBUTING.md for details):
pnpm lint
# run tests (in watch mode)
pnpm test
# run tests (once and exit)
pnpm test run
Run build to build the whole project or individual packages:
pnpm build
# build react only
pnpm -F react build
Thanks to Chromatic for providing the visual testing platform that helps us review UI changes and catch visual regressions.
MCP server for Axiom Design System - enables AI assistants to generate accurate Axiom code
{ "mcpServers": { "optiaxiom-mcp": { "command": "npx", "args": [ "-y", "@optiaxiom/[email protected]" ] } }}工具
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
常見問題
在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
這筆記錄未列出必要的環境變數。
@optiaxiom/mcp 透過 stdio 在本機執行。
上次檢查時間:2026-10-28。 MCP server for Axiom Design System - enables AI assistants to generate accurate Axiom code