Fix: remove mcp configuration files from project templates - #1800
Merged
Conversation
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Removing the template file drops the angular-cli MCP server from the CLI-first Angular flow (unless re-added via ig ai-config logic), and the docs that claim .vscode/mcp.json is created by ig new become inaccurate.
Pull request overview
This PR removes the default VS Code MCP configuration files (.vscode/mcp.json) from the shipped project templates so MCP setup becomes opt-in via ig ai-config / the ig new wizard choices rather than being scaffolded unconditionally.
Changes:
- Removed the Angular template’s
.vscode/mcp.jsonthat previously includedangular-cli,igniteui-cli, andigniteui-themingMCP servers. - Removed the React and Web Components templates’
.vscode/mcp.jsonthat previously includedigniteui-cliandigniteui-themingMCP servers.
File summaries
| File | Description |
|---|---|
| packages/igx-templates/igx-ts/projects/_base/files/__dot__vscode/mcp.json | Removes default VS Code MCP config from Angular base template. |
| packages/cli/templates/webcomponents/igc-ts/projects/_base/files/__dot__vscode/mcp.json | Removes default VS Code MCP config from Web Components base template. |
| packages/cli/templates/react/igr-ts/projects/_base/files/__dot__vscode/mcp.json | Removes default VS Code MCP config from React base template. |
Review details
Suppressed comments (2)
packages/cli/templates/webcomponents/igc-ts/projects/_base/files/__dot__vscode/mcp.json:1
- With template-level
.vscode/mcp.jsonremoved, documentation that saysig new"also gets an initial.vscode/mcp.json" becomes inaccurate unless the user explicitly selects the VS Code assistant duringig new/ig ai-config. For example:packages/igniteui-mcp/igniteui-doc-mcp/docs_baseline/webcomponents/general-how-to-mcp-e2e.md:98-101currently states this unconditionally. The docs should reflect that.vscode/mcp.jsonis only created when the VS Code assistant is selected (or--assistants vscodeis passed).
packages/igx-templates/igx-ts/projects/_base/files/__dot__vscode/mcp.json:1 - Removing this file drops the previously-scaffolded
angular-cliMCP server entry for CLI-created Angular projects. In theig newflow,packages/cli/lib/commands/new.tsalways callsconfigure(), butconfigureMCP()inpackages/cli/lib/commands/ai-config.tsonly callsaddMcpServers(assistant)with noadditionalServers, andaddMcpServers()only writesigniteui-cli+igniteui-theming(seepackages/core/util/mcp-config.ts). As a result, users selecting VS Code in the wizard will no longer get theangular-cliMCP server that this deleted template file used to provide.
- Files reviewed: 3/3 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
kdinev
approved these changes
Sep 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removed the default mcp.json files containing Ignite UI MCP server configurations from the project template.
After this fix, users can decide whether to include MCP configuration by selecting the appropriate ai-config option or through the wizard.