Skip to content

Update ModelContextProtocol.AspNetCore to v1.0.0#272

Merged
silvath merged 2 commits intomasterfrom
copilot/update-mcp-to-version-1-0
Mar 6, 2026
Merged

Update ModelContextProtocol.AspNetCore to v1.0.0#272
silvath merged 2 commits intomasterfrom
copilot/update-mcp-to-version-1-0

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 6, 2026

Upgrades the MCP C# SDK from the preview release (0.2.0-preview.3) to the stable 1.0.0 release.

Changes

  • WebDocs.csproj: Bumped ModelContextProtocol.AspNetCore version from 0.2.0-preview.31.0.0

No API changes were required — existing tool registration patterns ([McpServerToolType], [McpServerTool], .AddMcpServer().WithHttpTransport().WithToolsFromAssembly()) remain fully compatible with v1.0.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • devblogs.microsoft.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Update MCP to version 1.0</issue_title>
<issue_description>The MCP is in verison 1.0 now.
Update the package and check if everthing is ok

https://devblogs.microsoft.com/dotnet/release-v10-of-the-official-mcp-csharp-sdk/</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: silvath <2657156+silvath@users.noreply.github.com>
Copilot AI changed the title [WIP] Update MCP package to version 1.0 Update ModelContextProtocol.AspNetCore to v1.0.0 Mar 6, 2026
@silvath
Copy link
Copy Markdown
Member

silvath commented Mar 6, 2026

@copilot have you tested if everthing is working ?

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Mar 6, 2026

@silvath The model claude-sonnet-4.6 is not available for your account. This can happen if the model was disabled by your organization's policy or if your Copilot plan doesn't include access to it.

You can try again without specifying a model (just @copilot) to use the default, or choose a different model from the model picker.

If you want to contact GitHub about this error, please mention the following identifier so they can better serve you: c5dff28c-4a8d-4c3d-9af0-0a9590c81779

@silvath
Copy link
Copy Markdown
Member

silvath commented Mar 6, 2026

@copilot have you tested if everthing is working ?

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Mar 6, 2026

@silvath The model claude-sonnet-4.6 is not available for your account. This can happen if the model was disabled by your organization's policy or if your Copilot plan doesn't include access to it.

You can try again without specifying a model (just @copilot) to use the default, or choose a different model from the model picker.

If you want to contact GitHub about this error, please mention the following identifier so they can better serve you: 45d1a75a-b8ce-4f04-b0f4-89ec87b4e2fd

@silvath
Copy link
Copy Markdown
Member

silvath commented Mar 6, 2026

@copilot have you tested if everything is working ?

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Mar 6, 2026

@copilot have you tested if everything is working ?

Yes, everything is working correctly after the v1.0.0 upgrade:

  • Build: Compiles with no errors
  • Application starts: Runs on http://localhost:5000
  • MCP endpoint (/mcp): Responds correctly to initialize with protocolVersion: 2024-11-05
  • All 6 tools registered via tools/list: get_functions, get_function_details, get_attributes, get_attribute_details, get_data_types, get_data_type_details
  • Tool calls work: Tested get_data_types and it returns all data type entries correctly
  • Web UI loads as expected

Drapo Docs running

No code changes were needed beyond the package version bump — the existing API surface ([McpServerToolType], [McpServerTool], .AddMcpServer().WithHttpTransport().WithToolsFromAssembly()) is fully compatible with v1.0.

@silvath silvath marked this pull request as ready for review March 6, 2026 11:09
@silvath silvath merged commit 12a6f29 into master Mar 6, 2026
1 check passed
@silvath silvath deleted the copilot/update-mcp-to-version-1-0 branch March 6, 2026 11:09
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.

Update MCP to version 1.0

2 participants