Skip to content

ai config

Marina Stoyanova edited this page Apr 20, 2026 · 2 revisions

ig ai-config

Overview

ig ai-config configures AI tooling for an existing project by creating or updating .vscode/mcp.json and copying available Ignite UI AI skill files into the current working directory.

Using the ai-config command, you can set up MCP (Model Context Protocol) servers and AI coding skills for your project. The command adds entries for the Ignite UI CLI and theming MCP servers without overwriting other server configurations. New projects created through the Ignite UI schematics are configured with AI tooling out of the box.

Note

Running ig ai-config on an existing project will preserve any third-party MCP server entries already in .vscode/mcp.json.

Arguments

ig ai-config does not accept any arguments or options. The command operates on the current working directory.

Usage Examples

Configure AI tooling in an existing project

Context Command
Existing project ig ai-config

This command creates .vscode/mcp.json in the current directory if it does not exist, and adds the igniteui-cli and igniteui-theming MCP server entries if they are missing.

Angular schematic integration

The addAIConfig() rule is automatically invoked as part of the Ignite UI Angular schematics pipeline. It copies AI skill files and creates or updates .vscode/mcp.json, adding angular-cli, igniteui-cli, and igniteui-theming MCP server entries when they are missing.

Trigger Command What it does
New Angular project ng new myapp --collection=@igniteui/angular-schematics Automatically runs addAIConfig() at the end of project creation, configuring all three MCP servers
Angular ai-config schematic ng generate @igniteui/angular-schematics:ai-config Runs addAIConfig() to set up MCP servers and AI skills in an existing project

When triggered, addAIConfig() adds the angular-cli MCP server in addition to the igniteui-cli and igniteui-theming servers, providing a more complete AI development environment for Angular projects.

Clone this wiki locally