Reference docMembers
Building an MCP client in .NET
Building an MCP client in .NET is a reference document for GitHub Copilot, from the GitHub awesome-copilot collection by github. The full text is about 677 words in 10 sections, with 9 code blocks. It is a supporting file that a skill or agent reads while it works, so the main instructions can stay short.
It is most useful for people working in Backend and Sales who use GitHub Copilot.
What it covers
- Packages
- Connecting via STDIO launching a server process
- Connecting via HTTP Streamable
- Listing and calling tools
- Listing prompts and resources
- Subscribing to server notifications
- Version negotiation 2026-07-28
- Handling server-to-client requests sampling, elicitation, roots
- Using MCP tools as IChatClient function tools
- Resuming a session HTTP, stateful
The full text is in the members library
Book a call and we will give you access to the full GitHub Copilot library: every entry in full, search by meaning, copy and download.
Source: https://github.com/github/awesome-copilot/blob/main/skills/dotnet-mcp-builder/references/client.md
Author: github, GitHub awesome-copilot. License: MIT.