🚀 GoogleWorkspace OAuth + MCP Server
This server implements the MCP authorization specification with Telegram authentication.
🔐 OAuth 2.1 Endpoints
Protected Resource Metadata:
GET /.well-known/oauth-protected-resource
Authorization Server Metadata:
GET /.well-known/oauth-authorization-server
Authorization Endpoint:
GET /authorize?client_id=...&redirect_uri=...&response_type=code
Token Endpoint:
POST /token
Client Registration (DCR):
POST /register
📡 MCP Endpoint
MCP Service:
POST /mcp (requires Authorization: Bearer <token>)
✨ Features
- ✅ Full OAuth 2.1 authorization code flow with PKCE
- ✅ Telegram authentication (Web App + Login Widget)
- ✅ Dynamic Client Registration (RFC 7591)
- ✅ MCP authorization specification compliant
- ✅ JWT token generation for MCP