This article was drafted with AI help and reviewed by the author.
A local MCP server that runs over stdio on a developer laptop mostly inherits the laptop's trust. A remote one is different. It listens on a public HTTPS endpoint, many clients connect to it, and it usually calls other APIs on behalf of real users.
At that point it is just an API with a new kind of caller. The MCP authorization specification says so directly: a protected MCP server acts as an OAuth 2.1 resource server.
This post goes through what that means for a server written in ASP.NET Core with the official MCP C# SDK, using Microsoft Entra ID as the authorization server. It focuses on the decisions and the failure cases, with example values throughout. The rules come from the specification dated 2026-07-28 and its security best practices page, as published on 27 November 2026.…