Ignite UI Theming MCP Server

io.github.IgniteUI由 GitHub 帳號 IgniteUI 發布v30.2.0更新於 Nov 11, 2026

Generate Sass palettes, typography, elevations, and themes for Ignite UI components.

已驗證STDIO僅桌面開發者工具媒體與設計

概覽

AI 產生的概覽

為 Ignite UI 元件產生 Sass 調色盤、排版、陰影層級與完整主題,讓助理直接產出可用的主題程式碼。

可以做什麼
  • 偵測專案使用的 Ignite UI 平台(Angular、Web Components、React、Blazor)
  • 產生配色方案,並可細緻控制各個色階
  • 設定字型家族與字級層次的排版,以及陰影層級
  • 產生包含調色盤、排版與陰影的完整淺色或深色主題
  • 查詢元件設計權杖並產生元件層級的主題程式碼
  • 讀取預設集、配色指引與設計系統結構等參考資源
適用情境
適合在開發或改版 Ignite UI 應用程式時使用,讓助理撰寫正確的 Sass 主題程式碼、加入深色模式或自訂單一元件,而不必手寫 mixin 呼叫。
執行需求
以 stdio 在本機執行;可透過 npx 從 igniteui-theming npm 套件啟動,或讓用戶端指向建置後的伺服器檔案。未宣告驗證、環境變數或標頭。產生的 Sass 需要 Dart Sass 1.97.1 以上版本(sass 或 sass-embedded),不支援 LibSass 與 Ruby Sass。
安裝前請注意
此伺服器只產生程式碼,不會自行修改檔案,套用前請檢查產生的 Sass。它專用於 Ignite UI(Infragistics)專案及其預設集,輸出無法用於其他 UI 函式庫。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Ignite UI Theming MCP Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Ignite UI Theming - from Infragistics

[npm version]

The Ignite UI Theming repository collects a set of Sass mixins, functions, and variables used to create themes for a variety of UI frameworks built by Infragistics. The theming package makes it super easy to create palettes, elevations and typography styles for your projects.

Repository Structure

This repository is an npm workspaces monorepo with two packages:

PackageNameDescription
packages/themingigniteui-themingSass source, JSON build artifacts, published to npm
packages/mcpigniteui-theming-mcpMCP server sources, built into packages/theming/dist/mcp/

The igniteui-theming package is the only published artifact — it includes both the Sass theming library and the MCP server binary.

The MCP server is also listed in the MCP Registry as io.github.IgniteUI/igniteui-theming. The server.json at the repo root is its registry manifest, published automatically on release.

Common commands from the repo root:

bash
npm install    # install all workspace dependenciesnpm run build  # build theming + MCP in dependency ordernpm test       # run all tests across both packagesnpm run lint   # lint all packages

Palettes

We provide four predefined palettes - material, bootstrap, fluent and indigo that have all the necessary colors along with diffent variants of those colors to make it even easier picking the right one for your case. Here's what they look like:

[Palettes]

To access any of the colors in the palettes, you can use the color function:

scss
background: color($light-material-palette, 'primary', 500);

You can take a further look on what color functions and mixins the package contains and how to use them in the Colors Wiki Page

Typography

Another valuable module of our theming package is the typography, helping you have consistency all over your project. There are again four typography presets for the four themes that we provide out of the box.

[Typography]

You can set any of the typefaces by using the typography mixin, which accepts 2 arguments(font-family and type-scale). By default the typography is using the material typeface and type-scale.

scss
@include typography($font-family: $material-typeface, $type-scale: $material-type-scale);

Learn more about the typography module in the package by checking out the Typography Wiki Page

Elevations

The theming package is providing one preset of shadows that can be used to give your components a lift. They're super helpful using with buttons, cards, navigation bars, etc.

[Elevations]

You can set elevations 0-24, by using the elevation function, which accepts the elevation level as an argument:

scss
box-shadow: elevation(12);

Learn more about elevations and their abilities in the Elevations Wiki Page

Usage

In order to use the Ignite UI Theming in your application you should install the igniteui-theming package:

npm install igniteui-theming

The package requires Dart Sass 1.97.1 or later, either sass or sass-embedded. LibSass and Ruby Sass are not supported.

Next, you will need to use it in the file that you want like this:

scss
@use '.../node_modules/igniteui-theming/' as *;

You can also use just a fraction of the package:

scss
@use '.../node_modules/igniteui-theming/sass/color' as *;

We provide presets for material, bootstrap, fluent and indigo themes for the color(light and dark palettes), typography and elevations fractions. You can import them into your scss file like this:

scss
@use '.../node_modules/igniteui-theming/sass/typography/presets' as *;

You can read more about what the package contains on the Wiki page

Linting and Testing

To scan the project for linting errors, run

npm run lint

To run the suite of tests, run

npm run test

Testing and Debugging

Preview Palettes

Run from packages/theming. Pass the palette (material, bootstrap, fluent, indigo) and variant (light or dark).

bash
npm run preview:palette -- --palette=material --variant=light

MCP Server (AI-Assisted Theming)

The Ignite UI Theming package includes a Model Context Protocol (MCP) server that enables AI assistants to generate production-ready theming code for your Ignite UI applications. This MCP server is part of the larger AI-assisted development toolchain for Ignite UI.

What is MCP?

The Model Context Protocol allows AI assistants (like Claude, GitHub Copilot, and others) to connect to external tools and data sources. The Ignite UI Theming MCP server acts as an expert theming assistant that can:

  • 🎨 Generate color palettes with automatic shade variations
  • 📝 Create typography systems following design standards
  • 🌓 Build complete themes for light and dark modes
  • 🎯 Customize components with design tokens
  • ✅ Validate colors for accessibility compliance

Quick Start

Most users don't need to clone anything. The server ships inside the published igniteui-theming package and is listed in the MCP Registry as io.github.IgniteUI/igniteui-theming — clients that support registry installation can add it by that name, and everything else uses the npx configuration shown below.

To run it from source instead:

1. Clone and Build

Clone the repository and build:

bash
npm installnpm run build
2. Configure Your AI Client

The MCP server works with any MCP-compatible client. Here are setup instructions for popular clients:

VS Code (with MCP-compatible extensions)

For local development - Create or edit .vscode/mcp.json:

json
{  "servers": {    "igniteui-theming": {      "command": "node",      "args": ["/absolute/path/to/igniteui-theming/packages/theming/dist/mcp/index.js"]    }  }}

Using published package:

json
{  "servers": {    "igniteui-theming": {      "command": "npx",      "args": ["-y", "igniteui-theming"]    }  }}
WebStorm / JetBrains IDEs
  1. Go to Settings → Tools → AI Assistant → MCP Servers
  2. Click + Add MCP Server
  3. Configure:
    • Name: igniteui-theming
    • Command: node (for local) or npx (for package)
    • Arguments:
      • Local: /absolute/path/to/igniteui-theming/packages/theming/dist/mcp/index.js
      • Package: -y igniteui-theming
  4. Click OK and restart AI Assistant
Claude Desktop

Add to your configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

For local development:

json
{  "mcpServers": {    "igniteui-theming": {      "command": "node",      "args": ["/absolute/path/to/igniteui-theming/packages/theming/dist/mcp/index.js"]    }  }}

Using published package:

json
{  "mcpServers": {    "igniteui-theming": {      "command": "npx",      "args": ["-y", "igniteui-theming"]    }  }}
Cursor

Create or edit .cursor/mcp.json in your project:

For local development:

json
{  "mcpServers": {    "igniteui-theming": {      "command": "node",      "args": ["/absolute/path/to/igniteui-theming/packages/theming/dist/mcp/index.js"]    }  }}

Using published package:

json
{  "mcpServers": {    "igniteui-theming": {      "command": "npx",      "args": ["-y", "igniteui-theming"]    }  }}

What Can It Do?

🎨 Create Complete Themes

Simply describe your theme to your AI assistant:

"Create a Material Design dark theme for my Angular app with that takes inspiration from the Gruvbox color scheme."

The AI will generate production-ready Sass code with:

  • Color palette with all shade variations
  • Typography setup with proper type scales
  • Elevation shadows
  • Platform-specific imports and configuration
🌈 Generate Color Palettes

"Generate a light theme palette using teal as primary and purple as secondary"

Get perfectly calculated color shades following design system standards.

📝 Setup Typography

"Set up typography using Inter font with Material Design type scale for Web Components"

Get proper typography configuration with font families and responsive type scales.

🎯 Customize Components

"What design tokens are available for the button component?"

"Create a flat button theme with purple background and white text"

Discover and customize individual component styles using design tokens.

Available Capabilities

The MCP server provides 8 tools and 16 resources:

Tools (Actions)
ToolDescription
detect_platformAuto-detect which Ignite UI platform your project uses
create_paletteGenerate color palette with automatic shade calculations
create_custom_paletteCreate palette with fine-grained control over individual shades
create_typographySetup typography with font families and type scales
create_elevationsConfigure elevation shadows
create_themeGenerate complete theme (palette + typography + elevations)
get_component_design_tokensDiscover customizable properties for components
create_component_themeGenerate component-specific theme code
Resources (Reference Data)
  • Platform Information: Configuration for Angular, Web Components, React, and Blazor
  • Preset Libraries: Pre-built palettes, typography, and elevation sets
  • Color Guidance: Best practices for color selection and usage
  • Design System Schemas: Material, Bootstrap, Fluent, and Indigo configurations

Supported Platforms

  • Angular - igniteui-angular
  • Web Components - igniteui-webcomponents
  • React - igniteui-react
  • Blazor - igniteui-blazor

Example Interactions

Creating a new project theme

You: "I'm starting a new Angular project with Ignite UI. Create a complete Material Design theme with primary blue, secondary coral, light theme, and Roboto font"

AI: Uses create_theme tool and generates complete Sass code ready to use

Adding dark mode

You: "I need a dark mode version with the same primary blue but dark surface"

AI: Uses create_theme with variant: "dark" and generates dark theme code

Customizing components

You: "What properties can I customize on the card component?"

AI: Uses get_component_design_tokens to show available tokens

You: "Make the card have a light gray background with subtle shadow"

AI: Uses create_component_theme to generate component theme code

Full Documentation

For detailed documentation including:

  • Complete tool parameter reference
  • All prompt examples
  • Platform-specific differences
  • Troubleshooting guide
  • Development instructions

See the MCP Server README

Development Scripts

bash
# Build for production (theming + MCP)npm run build
# Run testsnpm run test
# Debug with MCP Inspector (from packages/mcp)npm run inspect

Contributing

Contributions are welcome! Please read CONTRIBUTING.md and feel free to submit a Pull Request.

來源:README.md,提交 c8c3791

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

5
  1. v30.2.0最新Nov 11, 2026
  2. v30.1.0Nov 3, 2026
  3. v30.0.0Oct 22, 2026
  4. v29.1.1Oct 21, 2026
  5. v29.0.0Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分