Is your feature request related to a problem? Please describe.
I want to see MCP server logs in Application Insights, for all events, but in particular:
- Valid tool calls
- Invalid tool calls (non-existent tool name)
- Tool listings
- Invalid JSON RPC messages (message
method is non-existent or the whole payload is invalid)
Describe the solution you'd like
Some type of a glue NuGet package that allows the MCP .NET SDK to write to AI or a code example for doing it without introducing a custom middleware or instrumenting individual tool implementations etc.
Describe alternatives you've considered
I am in the process of looking at how the MCP .NET SDK does structured logging and seeing whether I can take that and point it at AI without needing to deal with OTel.