
atrawog/mcp-oauth-gateway
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
OAuth 2.1 認可サーバーでは、コード変更なしで任意の MCP (Model Context Protocol) サーバーに認証を追加しています.
概要
OAuth 2.1 認可サーバーでは、コード変更なしで任意の MCP (Model Context Protocol) サーバーに認証を追加しています。 ゲートウェイは、ユーザー認証の Identity Provider (IdP) として GitHub を使用して OAuth 認可サーバーとして機能します。 - : MCP プロトコルの開発とテストのリファレンス実装 - : 将来の MCP プロトコルの反復のテスト プラットフォームとして使用される - : この実装は、セキュリティのベスト プラクティスのために努力していますが、この実装にはバグとセキュリティ 脆弱性が含まれている可能性があります - : 徹底したセキュリティレビューなしでの生産使用をお勧めしません - : 開発・テストを目的とした実験ソフトウェアです。 MCP OAuth Gateway は、MCP サーバー向けのものです。 OAuth 2.1 を動的クライアント登録 (RFC 7591/7592) で実装し、 GitHub をユーザー認証の ID プロバイダーとして活用します.
概要(AI 翻訳)
OAuth 2.1 認可サーバーでは、コード変更なしで任意の MCP (Model Context Protocol) サーバーに認証を追加しています。 ゲートウェイは、ユーザー認証の Identity Provider (IdP) として GitHub を使用して OAuth 認可サーバーとして機能します。
⊙ドキュメントを見る | ◀インストールガイド | ️️** 建築概要**
⚠️ 重要なお知らせ
MCPプロトコルのリファレンス実装とテストプラットフォームです。
-主な目的:MCPプロトコル開発およびテストの参照実装
- 実験的な性質:将来のMCPプロトコルの反復のためのテストプラットフォームとして使用される
- セキュリティ免責事項:この実装は、セキュリティのベストプラクティスのために努力しているが、この実装は、バグとセキュリティの脆弱性が含まれている可能性があります
- 生産警告:徹底したセキュリティレビューなしでの生産使用をお勧めしません
- あなた自身のリスクで使用: 開発・テストを目的とした実験ソフトウェアです。
️️ 建築
概要
MCP OAuth Gateway は、MCP サーバーの「**zero-modification」認証レイヤーです。 OAuth 2 を実行します.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
MCP OAuth Gateway
An OAuth 2.1 Authorization Server that adds authentication to any MCP (Model Context Protocol) server without code modification. The gateway acts as an OAuth Authorization Server while using GitHub as the Identity Provider (IdP) for user authentication.
📖 View Documentation | 🔧 Installation Guide | 🏗️ Architecture Overview
⚠️ Important Notice
This is a reference implementation and test platform for the MCP protocol.
- Primary Purpose: Reference implementation for MCP protocol development and testing
- Experimental Nature: Used as a test platform for future MCP protocol iterations
- Security Disclaimer: While this implementation strives for security best practices, this implementation likely contains bugs and security vulnerabilities
- Production Warning: NOT recommended for production use without thorough security review
- Use at Your Own Risk: This is experimental software intended for development and testing
🏗️ Architecture
Overview
The MCP OAuth Gateway is a zero-modification authentication layer for MCP servers. It implements OAuth 2.1 with dynamic client registration (RFC 7591/7592) and leverages GitHub as the identity provider for user authentication. The architecture follows these core principles:
- Complete Separation of Concerns: Authentication, routing, and MCP protocol handling are strictly isolated
- No MCP Server Modifications: Official MCP servers run unmodified, wrapped only for HTTP transport
- Standards Compliance: Full OAuth 2.1, RFC 7591/7592, and MCP protocol compliance
- Production-Ready Security: HTTPS everywhere, PKCE mandatory, JWT tokens, secure session management
- Dynamic Service Discovery: Services can be enabled/disabled via configuration
System Components
┌─────────────────────────────────────────────────────────────────────────────────────┐
│ EXTERNAL CLIENTS │
│ (Claude.ai, MCP CLI tools, IDE extensions, Custom integrations) │
└─────────────────────────────────────────────────────────────────────────────────────┘
│
HTTPS │ :443
↓
┌─────────────────────────────────────────────────────────────────────────────────────┐
│ TRAEFIK REVERSE PROXY │
│ (Layer 1: Routing & TLS Termination) │
├─────────────────────────────────────────────────────────────────────────────────────┤
│ • Let's Encrypt automatic HTTPS certificates for all subdomains │
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →