Entra ID MCP Server Session Demo
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Entra ID MCP Server Session Demolog in to the session demo using Entra ID"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🔒 Minimal Entra ID-authenticated MCP Server
Minimal server showing how to implement Entra ID authentication with MCP and HTTP+SSE transport. Unlike the previous server implementation, this relies on a confidential client living inside the MCP server, and then using "session mapping" to make sure that the client gets a session assignment through, what looks like, a JWT token (since we can't use cookies).
This repository has been archived. Refer to thereference collection for latest samples and best practices.
This is not intended for production use. If you are to adopt any of the practices in this implementation, ensure that you are implementing proper caching and secure token/credential handling practices.
Run server
npm install
npm run build
npm run startTesting
You will need to use MCP Inspector or a tool that supports HTTP+SSE transport for MCP servers and authentication.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dend/entra-id-mcp-server-session-demo'
If you have feedback or need assistance with the MCP directory API, please join our Discord server