QuantGeekDev OAuth2.1
0
Implements a reference authorization server based on the draft MCP OAuth 2.1 specification.
概要
This reference implementation of an MCP (Model Context Protocol) server showcases the draft Authorization spec updates using the official TypeScript SDK. It supports authentication via Cognito and Keycloak, validating scopes with `mcp:access` and `<resource-id>/mcp:access`. This server implementation is designed to be used with the provided Postman collection for easy testing and integration. Note that OAuth 2.1 requires HTTPS, so using ngrok with a static URL is recommended for proper testing. Configuration via environment variables allows for customization of port and protocol.
主な機能
- 0 GitHub stars
- Includes Postman collection for easy testing
- Supports Cognito and Keycloak authentication providers
- Uses official TypeScript SDK
- Scope validation for mcp:access
- Reference implementation of draft MCP OAuth 2.1 specification
ユースケース
- Testing and validating MCP authorization flows
- Understanding the MCP OAuth 2.1 specification
- Implementing a compliant MCP authorization server