MCP Authentication / Authorization
Updated Jul 15, 2025
Version 2.0OK - i understand your issue. I dont have a solution.
I would post it here https://github.com/modelcontextprotocol/csharp-sdk/issues
Hi Mark Harrison (UK) , thanks! Just checked the open issues in the SDK - Seems like the bug is closed.
Issue Resolution
Upgraded ModelContextProtocol.AspNetCore to "0.3.0-preview.3" and it started to work. I am having the HttpContext via HttpContextAccessor within Tool class.
Thanks again!
That's good 👍