remote-mcp-server-with-auth
Installation
SKILL.md
remote-mcp-server-with-auth
Skill by ara.so — MCP Skills collection
What This Project Does
remote-mcp-server-with-auth is a production-ready template for building remote Model Context Protocol (MCP) servers with GitHub OAuth authentication, deployable on Cloudflare Workers. It demonstrates best practices for MCP server architecture including modular tools, role-based access control, dual transport protocols (streamable HTTP and SSE), and PostgreSQL database integration with SQL injection protection.
Key Capabilities
- Modular Tool Architecture: Separate files for each tool in
src/tools/ - Dual Transport Support:
/mcp(streamable HTTP, recommended) and/sse(SSE, legacy) - GitHub OAuth Authentication: Built-in user authentication with role-based permissions
- Database Lifespan Management: PostgreSQL connection pooling across tool calls
- Security: SQL injection protection, query validation, username-based write access
- Monitoring: Optional Sentry integration for production observability