A .NET starter for building secure MCP servers integrated with Microsoft Entra ID, tested with Claude AI.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"mcp-server-dotnet-entra-id": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A .NET boilerplate for building secure MCP servers integrated with Microsoft Entra ID.
This server supports HTTP transport. Be the first to test it — help the community know if it works.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in security
An evil MCP server used for redteam testing
AI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Proof primitive for AI agents on MultiversX. Anchor file hashes on-chain as verifiable proofs.
Security-first platform for AI agents. 38 specialized agents, 15 AI-powered extensions, zero-knowledge multi-agent orchestration. SENTINEL WAF, Ed25519 auth, 2.6M grounding facts.
MCP Security Weekly
Get CVE alerts and security updates for Mcp Server Dotnet Entra Id and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A .NET boilerplate for building secure MCP servers integrated with Microsoft Entra ID.
This project provides a ready-to-use foundation for anyone who wants to quickly set up a Model Context Protocol (MCP) server that’s secured with Microsoft Entra ID (Azure AD). It includes all the core components needed to authenticate users from your organization, manage user identity securely, and expose MCP tools in a trusted enterprise environment.
Out of the box, it’s tested and compatible with Claude AI and ChatGPT, making it the fastest way to get your own Entra-protected MCP server running in minutes.
This project demonstrates how to bridge the authentication gap between MCP clients (Claude AI, ChatGPT) and Microsoft Entra ID, ensuring these systems can work together securely and seamlessly.
A .NET 8.0 example implementation showing how to build an OAuth 2.1 proxy that enables Claude AI to authenticate with Microsoft Entra ID for Model Context Protocol (MCP) servers.
This project demonstrates how to bridge the authentication gap between Claude AI and Microsoft Entra ID (Azure AD). Claude requires RFC 7591 Dynamic Client Registration, which Entra ID doesn't support. This proxy translates between these incompatible systems while maintaining enterprise security.
Built with the official Model Context Protocol C# SDK - This SDK was a game-changer for implementing MCP servers in .NET, providing strongly-typed interfaces and automatic protocol handling.
┌──────────┐ OAuth 2.1 ┌──────────────────────┐ OAuth 2.0 ┌────────────┐
│ │ (with Dynamic Reg) │ │ (Pre-registered) │ │
│ Claude ├─────────────────────►│ MCP (OAuth) Server ├────────────────────►│ Entra ID │
│ AI │◄─────────────────────┤ (this project) │◄────────────────────┤ │
└──────────┘ └──────────────────────┘ └────────────┘
OAuth login flow with custom branding before Entra ID authentication
✅ Claude AI - Fully tested and working with Claude Desktop and web interface
✅ ChatGPT - Tested and working; see Troubleshooting for notes about Dynamic Client Registration and persistent client storage requirements.
⚠️ Other MCP Clients - This proxy implements the MCP OAuth specification. While it may work with other MCP clients, it has primarily been tested with Claude AI and ChatGPT. VS Code's MCP integration typically uses direct OAuth with pre-configured client credentials and may not require this proxy
This project includes a complete MCP server implementation with:
✅ Authentication Status: Authenticated via Entra ID OAuth
📋 User Information:
• Name: John