Skip to content

aspire mcp init fails to detect GitHub Copilot CLI due to version parsing issue #14174

@DamianEdwards

Description

@DamianEdwards

Description

The aspire mcp init command fails to detect an installed GitHub Copilot CLI because the version output format has changed and can no longer be parsed.

Error Log

[11:35:44] [dbug] CopilotCliRunner: Could not parse GitHub Copilot CLI version from output: GitHub Copilot CLI 0.0.397.

Expected Behavior

The Aspire CLI should successfully parse the version string GitHub Copilot CLI 0.0.397 and detect the Copilot CLI as installed.

Actual Behavior

Version parsing fails, causing aspire mcp init to not recognize the Copilot CLI.

Environment

  • GitHub Copilot CLI version: 0.0.397
  • OS: Windows

Suggested Fix

Update the version parsing regex/logic in CopilotCliRunner to handle the current version output format: GitHub Copilot CLI X.X.X

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions