Skip to content

fix: update AI assistant labels for clarity in mcp-config and schema#1731

Open
Marina-L-Stoyanova wants to merge 1 commit into
masterfrom
mstoyanova/mcp-generic-update
Open

fix: update AI assistant labels for clarity in mcp-config and schema#1731
Marina-L-Stoyanova wants to merge 1 commit into
masterfrom
mstoyanova/mcp-generic-update

Conversation

@Marina-L-Stoyanova

Copy link
Copy Markdown
Contributor

Description

Update Github copilot mcp configuration

Related Issue

Closes #1720

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)
  • [ x ] @igniteui/cli-core (packages/core)
  • @igniteui/angular-templates (packages/igx-templates)
  • @igniteui/angular-schematics (packages/ng-schematics)
  • @igniteui/mcp-server (packages/igniteui-mcp)

Checklist

  • 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

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the user-facing assistant labels used by the ai-config flows (CLI-core label constants and Angular schematic prompt schema) so the .mcp.json “generic” option explicitly includes GitHub Copilot and the VS Code option is no longer branded as Copilot-specific.

Changes:

  • Adjusts the .mcp.json assistant label to mention GitHub Copilot as a supported generic target.
  • Simplifies the vscode assistant label from “VS Code (GitHub Copilot)” to “VS Code”.
  • Mirrors the same wording changes in the Angular schematics ai-config JSON schema prompt items.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
packages/ng-schematics/src/cli-config/ai-config-schema.json Updates assistant prompt labels shown by the Angular schematic wizard.
packages/core/util/mcp-config.ts Updates central assistant label strings used by the CLI’s interactive assistant selection.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 18 to 21
export const AI_ASSISTANT_LABELS: Record<AiCodingAssistant, string> = {
"generic": ".mcp.json (generic for Claude Code, VS Code, and other assistants)",
"vscode": "VS Code (GitHub Copilot)",
"generic": ".mcp.json (generic for Claude Code, GitHub Copilot, and other assistants)",
"vscode": "VS Code",
"cursor": "Cursor",
Comment on lines +48 to 50
{ "value": "generic", "label": ".mcp.json (generic for Claude Code, GitHub Copilot, and other assistants)" },
{ "value": "vscode", "label": "VS Code" },
{ "value": "cursor", "label": "Cursor" },
Comment on lines +48 to +49
{ "value": "generic", "label": ".mcp.json (generic for Claude Code, GitHub Copilot, and other assistants)" },
{ "value": "vscode", "label": "VS Code" },
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 87.785%. remained the same — mstoyanova/mcp-generic-update into master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Copilot now defaults to .mcp.json for mcp configuration

3 participants