feat: enhance MCP configuration for multiple coding assistants and up…#1681
Closed
Marina-L-Stoyanova wants to merge 1 commit into
Closed
feat: enhance MCP configuration for multiple coding assistants and up…#1681Marina-L-Stoyanova wants to merge 1 commit into
Marina-L-Stoyanova wants to merge 1 commit into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Enhances Ignite UI’s AI tooling configuration to support multiple coding assistants by generating MCP server config files in assistant-specific locations/JSON shapes, and updates prompts/tests accordingly across the CLI and Angular schematics.
Changes:
- Add assistant-to-MCP-config mapping (path + root JSON key) and update MCP config writer to use it.
- Update
ai-configCLI command to prompt for/select coding assistants separately from AI agents and write MCP config per assistant. - Update Angular schematics schema/tests to include
assistantselection and verify correct MCP output paths/keys.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| spec/unit/ai-config-spec.ts | Extends unit tests to cover non-VS Code MCP config output and new interactive prompt flow. |
| packages/cli/lib/commands/ai-config.ts | Adds assistant selection + multi-target MCP configuration to the CLI ai-config command. |
| packages/core/util/mcp-config.ts | Introduces assistant-specific MCP config mapping and updates addMcpServers to use it. |
| packages/ng-schematics/src/cli-config/index.ts | Updates schematic logic to configure MCP for selected assistants and adjusts ai-config option handling. |
| packages/ng-schematics/src/cli-config/index_spec.ts | Adds schematic tests for assistant-specific MCP output paths/keys. |
| packages/ng-schematics/src/cli-config/ai-config-schema.json | Adds assistant option and updates agent prompt messaging/labels. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| copyAgentInstructionFiles(agents); | ||
| } | ||
|
|
||
| const AI_AGENT_CHOICES = Object.keys(AI_AGENT_SKILLS_DIRS) as AIAgentTarget[]; |
Comment on lines
+32
to
+37
| export async function configure(agents?: AIAgentTarget[], skills = true, assistants: AiCodingAssistant[] = ["vscode"]): Promise<void> { | ||
| if (!agents?.length) { | ||
| agents = await promptForAgents(); | ||
| } | ||
| if (!agents.length) return; | ||
| configureMCP(); | ||
| configureMCP(assistants); |
Comment on lines
+152
to
+153
| export function addAIConfig(options: { agent?: AIAgentTarget[]; assistant?: AiCodingAssistant[] } = {}): Rule { | ||
| const selected = options.agent?.length ? options.agent : ["claude", "generic"] as AIAgentTarget[]; |
…date related prompts Co-authored-by: Copilot <copilot@github.com>
12ca3bd to
68b060c
Compare
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.
…date related prompts
Description
enhance MCP configuration for multiple coding assistants
Related Issue
Closes #
Type of Change
Affected Packages
igniteui-cli(packages/cli)@igniteui/cli-core(packages/core)@igniteui/angular-templates(packages/igx-templates)@igniteui/angular-schematics(packages/ng-schematics)@igniteui/mcp-server(packages/igniteui-mcp)Checklist
npm run test)npm run build)npm run lint)Additional Context