Skip to content

Conversation

@joelverhagen
Copy link
Contributor

@joelverhagen joelverhagen commented Aug 11, 2025

Progress on microsoft/vscode#257679 and microsoft/vscode#259901 (switch to .NET SDK to allow for custom package sources in the future -- still hard coded to nuget.org right now).

Depends on microsoft/vscode#259634 (NuGet can return a server.json instead of a vscode MCP.json)

Summary of changes:

  • Switch to .NET 10 for setup:dotnet and make it work on Windows, this is for local use
  • Use actions/setup-dotnet for setting up .NET on GitHub Actions, since this is the "blessed" way to do it, like we are for Python and node.js.
  • Add tests for npm, pip, nuget, and docker package types
    • These pass locally but I may need some iterations with the CI
  • Add telemetry events for MCP tool installation
    • This is the first time PublicNonPersonalData is used in the repo, but I think it's the best fit for package names based on my investigation of the vscode repo (these are similar to extension names I think)
  • Switch NuGet implementation to using the .NET SDK, extract the server.json
    • I put my CLI executor in the nuget.ts file, but it could be moved to a shared place, or perhaps there's an existing implementation I should use.

Verified with:

  • npm: @azure/mcp (old flow, no server.json)
  • Python: mcp-server-fetch (old flow, no server.json)
  • Docker: mcp/node-code-sandbox (old flow, no server.json)
  • NuGet: NuGet.Mcp.Server (new flow), Knapcode.SampleMcpServer (new flow, this one has an input)

Happy path (with server.json)

Video.webm

dotnet not found

dotnet-not-found.webm

@joelverhagen joelverhagen force-pushed the jver/nuget-mcp-server-json branch from 156b75f to 36f9067 Compare August 11, 2025 15:28
@joelverhagen joelverhagen force-pushed the jver/nuget-mcp-server-json branch from 49d975d to a229016 Compare August 11, 2025 19:20
@alexr00 alexr00 removed their assignment Aug 12, 2025
@joelverhagen
Copy link
Contributor Author

@connor4312 - could you review this?
It is blocked on microsoft/vscode#259634 but I think can be reviewed.

…' into jver/nuget-mcp-server-json

# Conflicts:
#	src/extension/mcp/vscode-node/commands.ts
#	src/extension/mcp/vscode-node/nuget.ts
@vs-code-engineering vs-code-engineering bot added this to the August 2025 milestone Aug 13, 2025
@connor4312 connor4312 enabled auto-merge August 13, 2025 15:26
@connor4312 connor4312 added this pull request to the merge queue Aug 13, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 13, 2025
@connor4312 connor4312 added this pull request to the merge queue Aug 13, 2025
Merged via the queue into microsoft:main with commit 831dfa7 Aug 13, 2025
6 checks passed
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.

5 participants