Skip to content

NuGet MCP Server doesn’t work in GitHub Copilot Chat window even after restarting #14829

@v-luzh

Description

@v-luzh

NuGet Product Used

Visual Studio Package Management UI

Product Version

VS Main\11625.112 + NuGet Client Dev\7.6.0.33

Worked before?

It's a regression since it doesn’t repro on VS Main\11617.104 + NuGet Client Dev\7.6.0.22.

Impact

It's more difficult to complete my work

Repro Steps & Context

Note:

  1. Repro rate: 100%

Repro Steps:

  1. Create a C# Console App (.NET 10.0) in VS and open the project-level PM UI.
  2. Go back to the ‘Browse’ tab of PM UI, select the source ‘nuget.org’ from the ‘Package source’ dropdown list and select a vulnerable package from the ‘Version’ dropdown list (for example, Newtonsoft.Json 11.0.2 in this instance).
  3. Install the vulnerable package and click the ‘Installed’ tab.
  4. Go to the Solution Explorer window and click the link ‘Fix with GitHub Copilot’ on vulnerability InfoBar at the top of Solution Explorer window.
  5. Click the ‘select tools’ button (the spanner icon) on the bottom-right of GitHub Copilot Chat window.

Expected Result:

No error occurs.

Actual Result:

NuGet MCP Server doesn’t work even after restarting as the screenshot below.

Image

Verbose Logs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions