Show HN: Cloudflare Workers Compatible MCP Boilerplate with OAuth & PostgreSQL
Published on: 2025-06-10 04:56:50
MCP Server Boilerplate with OAuth & PostgreSQL
A complete boilerplate for building remote Model Context Protocol (MCP) servers on Cloudflare Workers with custom OAuth authentication and PostgreSQL database integration.
🚀 What You Get
This boilerplate provides everything you need to build production-ready MCP servers:
🔐 Complete OAuth 2.1 Provider - Custom OAuth implementation with user registration/login
- Custom OAuth implementation with user registration/login 🗄️ PostgreSQL Integration - Full database schema with user management and OAuth tokens
- Full database schema with user management and OAuth tokens ⚡ Cloudflare Workers - Serverless deployment with global edge distribution
- Serverless deployment with global edge distribution 🛠️ MCP Tools Framework - Modular tool system with user context
- Modular tool system with user context 🔌 Custom Routes Framework - Easy-to-use system for adding REST API endpoints
- Easy-to-use system for adding REST API endpoints 🎨 Beautiful UI -
... Read full article.