The Ignite UI Theming MCP server enables AI assistants to generate production-ready theming code. It must be configured in your editor before the theming tools become available.
AGENT INSTRUCTION — MCP Server Setup (REQUIRED)
Before using any theming tools, you MUST verify the MCP server is available by calling
detect_platform. If the tool is not available or the call fails, configure it by following the setup steps below.
Create or edit .vscode/mcp.json in your project:
{
"servers": {
"igniteui-theming": {
"command": "npx",
"args": ["-y", "igniteui-theming", "igniteui-theming-mcp"]
}
}
}Create or edit .cursor/mcp.json:
{
"mcpServers": {
"igniteui-theming": {
"command": "npx",
"args": ["-y", "igniteui-theming", "igniteui-theming-mcp"]
}
}
}Edit the Claude Desktop config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"igniteui-theming": {
"command": "npx",
"args": ["-y", "igniteui-theming", "igniteui-theming-mcp"]
}
}
}- Go to Settings → Tools → AI Assistant → MCP Servers
- Click + Add MCP Server
- Set Command to
npxand Arguments toigniteui-theming igniteui-theming-mcp - Click OK and restart the AI Assistant
- Detect platform: Call
detect_platform— it will detectwebcomponentsfrompackage.json - Generate a theme: Call
create_themewith your desired colors and design system - Customize components: Call
get_component_design_tokensfirst, thencreate_component_themewith palette token values - Get color references: Call
get_colorto get the correct CSS custom property for any palette shade - Adjust layout: Call
set_size,set_spacing, orset_roundness
IMPORTANT — File Safety Rule: When generating theme code, never overwrite existing style files directly. Always propose changes as an update and let the user review before writing to disk.