.NET MCP server: Add server logging and display in client console
Authorised Territory demonstrates how to add server-side logging to a .NET MCP server and surface those log messages in a .NET console client when the client invokes a tool.
Overview
The video shows how a .NET MCP server can send logging output back to a client, and how a .NET console client can display that logging in its own console output. The logging is emitted as part of the flow when the client invokes a tool.
Related starting point
- Starting solution referenced in the video: https://youtu.be/-xy7ysq8Mzc