MCP Server with OAuth 2.1 Authentication
Available Endpoints:
/ - This landing page
/demo/login - Initiate OAuth 2.1 authentication flow
/auth/callback - OAuth callback endpoint
/demo - Protected demo page (requires authentication)
/mcp - MCP server endpoint (requires authentication)
/mcp/tools/searchPatient - Search patient tool
/mcp/tools/createCheckin - Create check-in tool
/sse - SSE endpoint for MCP (requires authentication)
Demo Login (No OAuth Setup Required)
OAuth 2.1 Features:
- PKCE (Proof Key for Code Exchange) for enhanced security
- State parameter for CSRF protection
- Secure session management with KV storage
- Token validation and expiry handling
MCP Tools:
- searchPatient - Search for patients by phone number
- createCheckin - Create check-in for existing patients
- getCheckinRules - Get check-in rules and requirements