独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
O

oidebrett/mcpauth

MCP Gateway for external Authentication and Authorization

装之前:没有可直接复制的命令 · 许可证未标注 · 链接可访问

第一步:docker run -p 127.0.0.1:9080:8080 \

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网

我们没有从该仓库取到可核对的安装命令,也没有公开的远端端点。这两样都没有时,我们不出配置——编一条出来比不给更糟。 各客户端的接法 →

来源明细
收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
评分构成
综合分 1,003 · 10 个来源 · mcp
常见问题(答案都来自我们的记录)
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

MCPAuth

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

MCPAuth: Gateway Authentication for Secure Enterprise MCP Integrations
## 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
Save the Client ID and Client Secret for later use.
### Alternative: Set Up Keycloak OAuth
MCPAuth now supports Keycloak as an identity provider. This is useful for enterprise environments that want to use their existing Keycloak infrastructure.
For complete MCP + Keycloak setup instructions, see the official guide: MCP Security Authorization with Keycloak
#### Detailed Keycloak Client Configuration
##### 1. Create a Keycloak Realm
Use an existing realm (e.g., master) or create a new one
##### 2. Create and Configure the Client
Basic Settings:
Go to your realm → Clients → Create
Client ID: mcp-server (or your preferred ID)
Client Protocol: openid-connect
Access Type / Client Authentication: confidential
Save the client
Settings Tab:
Valid Redirect URIs (add ALL of these):
https://oauth.yourdomain.com/callback
http://localhost:/oauth/callback
http://localhost:/oauth/callback/debug
Explanation:
First line: Production callback for your mcpauth server
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/oidebrett-mcpauth/)
来源
awesome · https://github.com/oidebrett/mcpauth
按领域浏览
MCP 服务
收录来源
10 个独立来源
收录于
今天

同类推荐

全部 6,229 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引