{"repo":"famma-ai/mcp-auth","free":true,"listed":false,"github":"https://github.com/famma-ai/mcp-auth","clone":"git clone https://github.com/famma-ai/mcp-auth.git","description":"MCP Auth via Reverse Proxy","language":"TypeScript","stars":26,"topics":["auth","cloudflare","mcp","modelcontextprotocol","oauth","reverse-proxy","supabase"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Famma AI - MCP Auth SDK for building OAuth-protected Remote MCP servers on Cloudflare Workers with pluggable auth adapters (Supabase already implemented). Who is this for? TL;DR: If you are building an MCP server/agent that needs user authentication but your identity provider does not yet offer an OAuth 2.1 flow (e.g., Supabase as of October 2025), this SDK helps you run your MCP behind a reverse-proxy-based OAuth flow and deploy it as a Cloudflare Worker. Use this if: - You have an MCP agent/server and need authenticated access per user. - Your IdP lacks a suitable OAuth 2.1 flow for your use case today. - You want a Cloudflare Workers deployment with pluggable auth adapters (Supabase included). Interface - Exported primitives: createOAuthProviderWithMCP , createAuthProxy - Adapters: SupabaseAuthAdapter - Types: AppConfig , AuthAdapter , CoreBindings , TokenExchangeResult - AppConfig.loginPath? optional login route (default \"/auth/login\" ) Install Quickstart Your MCP agent should be of type agents/mcp (extend or be compatible with McpAgent ). Setup and Deployment 1. Create KV namespace First, create a KV namespace for token storage: Copy the id value from the output. 2. Configure wrangler.jsonc Create or update your wrangler.jsonc with the KV ID from the previous step. Make sure to keep the binding name as OAUTH KV : 3. Create .dev.vars for local development For local development, create a .dev.vars file in your project root: Note : .dev.vars is already included in .gitignor","default_branch":null,"files":null,"tree":[],"storefront":"/r/famma-ai","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/famma-ai/mcp-auth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}