mcp-oauth2.1-server
If you are the rightful owner of mcp-oauth2.1-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This is a reference MCP Server implementation using the official typescript SDK.
The MCP Server Reference Implementation is designed to demonstrate the draft Authorization spec updates for the Model Context Protocol. It utilizes the official TypeScript SDK and can be integrated with various authentication providers such as Cognito and Keycloak. The server validates the scope 'mcp:access' and is compatible with OAuth 2.1 standards, requiring secure protocols like HTTPS. For testing purposes, ngrok can be used to create a secure tunnel to the server. The server is configured to run on port 1335 and can be set up with a custom domain using ngrok. This implementation is useful for developers looking to understand and implement MCP authorization mechanisms in their applications.
Features
- Supports OAuth 2.1 standards for secure communication.
- Integrates with Cognito and Keycloak for authentication.
- Validates 'mcp: access' scope for resource access.
- Utilizes ngrok for secure tunneling during testing.
- Configurable via environment variables for flexibility.