An MCP (Model Context Protocol) proxy server that provides authenticated Gmail access through OAuth.
backend/index.ts - Main HTTP server and MCP endpointbackend/auth/ - OAuth flow and session managementbackend/mcp/ - MCP protocol implementationbackend/gmail/ - Gmail API integrationfrontend/ - OAuth callback and admin interfaceRequired:
GOOGLE_CLIENT_ID - Google OAuth client IDGOOGLE_CLIENT_SECRET - Google OAuth client secretJWT_SECRET - Secret for signing session tokensGET /auth/googleGET /auth/callbackPOST /mcp (with Authorization header)gmail_list_messages - List Gmail messagesgmail_get_message - Get specific message contentgmail_send_message - Send emailgmail_search_messages - Search messages with query