Menu

Your remote MCP server is an OAuth resource server, notes for ASP.NET Core on Azure
📰

Your remote MCP server is an OAuth resource server, notes for ASP.NET Core on Azure

DEV Community: dotnet·Tayyab Hafiz·8 days ago
#V9i9ByXw
#devtodotnet#devto#dev#server#token
Long article (1347 words) — no AI summary yet.
Reading 0:00
15s threshold

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.