Dotnet

•
1
•

Secures a Model Context Protocol (MCP) server with Microsoft Entra ID using OAuth2 and JWT, providing a reference implementation.

This tool provides a robust reference implementation of a Model Context Protocol (MCP) server, designed for secure operations with Microsoft Entra ID. It leverages OAuth2 and JWT for authentication and authorization, and is orchestrated using .NET Aspire. The server exposes a variety of tools and prompts, all protected by granular role-based access control (App Roles), and further enhances security by calling downstream APIs via OAuth 2.0 On-Behalf-Of (OBO) token exchange.

Características Principales

018 MCP Tools for task management, project queries, and admin operations
02OAuth 2.0 On-Behalf-Of (OBO) token exchange for downstream API calls
03Role-Based Access Control via Microsoft Entra ID App Roles
041 GitHub stars
056 MCP Prompts for task/project analysis and compliance auditing

Casos de Uso

01Implementing OAuth 2.0 On-Behalf-Of (OBO) flows for secure API calls
02Building secure Model Context Protocol (MCP) servers
03Establishing role-based access control for tools and prompts using Entra ID