Skip to content

feat: enhance MCP configuration for multiple coding assistants and up…#1681

Closed
Marina-L-Stoyanova wants to merge 1 commit into
masterfrom
mstoyanova/update-mcp-config-agent-agnostic
Closed

feat: enhance MCP configuration for multiple coding assistants and up…#1681
Marina-L-Stoyanova wants to merge 1 commit into
masterfrom
mstoyanova/update-mcp-config-agent-agnostic

Conversation

@Marina-L-Stoyanova
Copy link
Copy Markdown
Contributor

…date related prompts

Description

enhance MCP configuration for multiple coding assistants

Related Issue

Closes #

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring / code cleanup
  • Build / CI configuration 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

  • [x ] I have tested my changes locally (npm run test)
  • I have built the project successfully (npm run build)
  • I have run the linter (npm run lint)
  • I have added/updated tests as needed
  • My changes do not introduce new warnings or errors

Additional Context

image

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-config CLI command to prompt for/select coding assistants separately from AI agents and write MCP config per assistant.
  • Update Angular schematics schema/tests to include assistant selection 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.

Comment thread packages/cli/lib/commands/ai-config.ts Outdated
copyAgentInstructionFiles(agents);
}

const AI_AGENT_CHOICES = Object.keys(AI_AGENT_SKILLS_DIRS) as AIAgentTarget[];
Comment thread packages/cli/lib/commands/ai-config.ts Outdated
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[];
Base automatically changed from copilot/update-ai-config-agent-agnostic to master May 8, 2026 15:40
…date related prompts

Co-authored-by: Copilot <copilot@github.com>
@Marina-L-Stoyanova Marina-L-Stoyanova force-pushed the mstoyanova/update-mcp-config-agent-agnostic branch from 12ca3bd to 68b060c Compare May 11, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants