Acerca de
Explore the creation of a secure Model Context Protocol (MCP) server that mandates OAuth 2.0 authentication for accessing its functionalities. This sample illustrates the implementation of JWT bearer token authentication, protected MCP tools (like simple math operations), and seamless integration with ASP.NET Core's authentication and authorization mechanisms, providing crucial OAuth resource metadata for client discovery. It uses .NET Aspire and Keycloak to showcase a robust security model.