-
Notifications
You must be signed in to change notification settings - Fork 8
ai config
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.
ig ai-config does not accept any arguments or options. The command operates on the current working directory.
| 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.
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.