
oidebrett/mcpauth
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
사이트맵 외부 인증 및 인증을위한 게이트웨이
개요
MCPAuth MCPAuth : 보안 기업 MCP의 게이트웨이 인증 통합 종이에 설명 된 Concept (PoC)의 인증 및 인증 구성 요소입니다. Enterprise AI Integration View Paper (2025)에 대한 단순화 및 보안 MCP 게이트웨이 이 저장소는 . SelfHostedMCP.com 웹 사이트를 참조하십시오. 그것은 보장 가능한 OAuth2.1 기반 인증 게이트웨이를 제공합니다. 정체성, 권한 부여 및 정책 관리 백엔드 MCP 서버에서 2025-03-26 MCP 사양. McpAuth는 다음과 같이 설계되었습니다. - MCP 서버 - OAuth 2. 사용.
개요(AI 번역)
MCPAuth의 MCPAuth: 보안 기업 MCP를 위한 게이트웨이 인증 통합
MCPAuth: 보안 기업 MCP를 위한 게이트웨이 인증 통합
McpAuth는 MCP Gateway Proof of Concept(PoC)의 인증 및 인증 구성품입니다.
- Enterprise AI 통합을 위한 단순하고 안전한 MCP 게이트웨이* **Ivo Brett, CISSP, B.Eng, MSc ** 종이 보기 (2025)
이 저장소는 secure, scalable 및 호환 엔터프라이즈 통합을 활성화하기 위해 더 넓은 이니셔티브의 일부입니다 ** Model Context Protocol (MCP)**. SelfHostedMCP.com 웹 사이트를 참조하십시오. 그것은 보장 가능한 OAuth2.1 기반 인증 게이트웨이를 제공합니다. 정체성, 권한 부여 및 정책 관리 백엔드 MCP 서버에서 2025-03-26 MCP 사양.
목적
McpAuth는 다음과 같이 설계되었습니다.
- **Decouple 보안 로직 ** MCP 서버
- **중앙화 ID 관리 ** OAuth 2.1 및 OIDC 사용
- 지원 ** 동적 클라이언트 등록 **
- Enforcefine-grained 토큰 범위 및 정책 제어
- 엔터프라이즈급 Zero Trust 아키텍처의 ** 가능한 모듈**
배경
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
MCPAuth: Gateway Authentication for Secure Enterprise MCP Integrations
McpAuth is the authentication and authorization component of the MCP Gateway Proof of Concept (PoC) described in the paper:
Simplified and Secure MCP Gateways for Enterprise AI Integration
Ivo Brett, CISSP, B.Eng, MSc
View Paper (2025)
This repository is part of a broader initiative to enable secure, scalable, and compliant enterprise integration with the Model Context Protocol (MCP). See the website SelfHostedMCP.com. It provides an extensible OAuth2.1-based authentication gateway that offloads identity, authorization, and policy management from backend MCP servers—ensuring conformance with the 2025-03-26 MCP Specification.
Purpose
McpAuth is designed to:
- Decouple security logic from MCP servers
- Centralize identity management using OAuth 2.1 & OIDC
- Support dynamic client registration
- Enforce fine-grained token scopes and policy controls
- Act as a composable module in enterprise-grade Zero Trust architectures
Background
This implementation is part of a larger PoC that validates:
- A reference MCP Gateway architecture for secure deployments
- Threat model mapping aligned with frameworks such as MAESTRO and Narajala & Habler
- Real-world compatibility with tools like Cloudflare Tunnels, WireGuard, Traefik, and CrowdSec
The full proof of concept includes:
- Two isolated MCP servers (local and cloud-based)
- Secure tunneling via WireGuard and Pangolin
- Centralized intrusion detection and observability
- Seamless integration with Anthropic’s MCP Inspector
Features
- OAuth2 authentication with PKCE via Traefik
forwardAuth - Seamless integration with MCP Gateway SSE endpoints
- Email whitelisting for controlled access
- Docker-ready, easy to deploy
- Includes a Python-based test server
Quick Start (assuming a completely standalone working environment)
Set Up Google OAuth
Go to the Google Cloud Console Navigate to APIs & Services > Credentials Click Create Credentials → OAuth client ID Choose Web Application Add an Authorized redirect URI — you’ll get this later when you set up Traefik, but it will look like: https://oauth.yourdomain.com/callback
설치
docker run -p 127.0.0.1:9080:8080 \설정
{
"mcpServers": {
"protected-server": {
"url": "https://your-mcp-server.com"
}
}
}