Demo showing how to use Entra ID with MCP servers without passing access tokens through.
Overview
What is Minimal Entra ID-authenticated MCP Server?
This project is a minimal server implementation that demonstrates how to use Entra ID for authentication with MCP servers, utilizing HTTP+SSE transport without passing access tokens directly.
How to use Minimal Entra ID-authenticated MCP Server?
To use this server, clone the repository, install the dependencies, build the project, and start the server using the following commands:
npm install
npm run build
npm run start
Key features of Minimal Entra ID-authenticated MCP Server?
- Demonstrates Entra ID authentication with MCP servers.
- Uses session mapping to assign sessions through a JWT-like token.
- Provides a minimal setup for testing and development purposes.
Use cases of Minimal Entra ID-authenticated MCP Server?
- Implementing secure authentication for MCP servers.
- Testing Entra ID integration in development environments.
- Learning about session management without cookies.
FAQ from Minimal Entra ID-authenticated MCP Server?
- Is this server suitable for production use?
No, this implementation is not intended for production use and should be used for testing and educational purposes only.
- What tools are needed for testing?
You will need to use MCP Inspector or any tool that supports HTTP+SSE transport for MCP servers and authentication.