MCP OAuth Gateway Documentation#
Welcome to MCP OAuth Gateway#
The MCP OAuth Gateway is a comprehensive OAuth 2.1 compliant gateway for Model Context Protocol (MCP) services. It provides secure authentication, dynamic client registration, and seamless integration with multiple MCP service implementations.
Key Features#
๐ OAuth 2.1 Compliance#
Full implementation of OAuth 2.1 specification
RFC 7591 Dynamic Client Registration
RFC 7592 Client Management
PKCE (RFC 7636) support for enhanced security
GitHub OAuth integration for user authentication
๐ MCP Protocol Support#
StreamableHTTP transport implementation
Support for both proxy pattern (wrapping official servers) and native implementations
Session management with secure session IDs
Multiple protocol version support (2024-11-05, 2025-03-26, 2025-06-18)
๐๏ธ Architecture#
Traefik reverse proxy with automatic SSL via Letโs Encrypt
Redis for token and session storage
Docker Compose orchestration
Health checks for all services
Centralized logging in ./logs directory
๐ ๏ธ Developer Experience#
Blessed trinity of tools:
just
,pixi
,docker-compose
Automated testing with real services (no mocks!)
Sidecar coverage testing for production containers
Comprehensive justfile with 100+ commands
Documentation Structure#
Learn about the gateway architecture and core concepts
Complete reference for all justfile commands and workflows
Documentation for all Python packages in the gateway
Detailed documentation for all MCP and infrastructure services
Document with Jupyter Book - Divine documentation tooling
Support#
GitHub Issues: Report bugs or request features
Documentation: Youโre already here!
CLAUDE.md: The sacred development guidelines