nicknikolakakis/mcp-auth-gateway
Generic MCP authentication gateway that wraps any stdio-only MCP server with OAuth 2.1/OIDC, per-user process isolation, and Streamable HTTP/SSE transport for remote access
Platform-specific configuration:
{
"mcpServers": {
"mcp-auth-gateway": {
"command": "npx",
"args": [
"-y",
"mcp-auth-gateway"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
<p align="center"> <strong> <a href="#quick-start">Getting Started</a> • <a href="CONTRIBUTING.md">Contributing</a> • <a href="https://github.com/nicknikolakakis/mcp-auth-gateway/issues">Get In Touch</a> </strong> </p>
<p align="center"> <a href="https://github.com/nicknikolakakis/mcp-auth-gateway/actions/workflows/test.yml?query=branch%3Amain"> </a> <a href="https://goreportcard.com/report/github.com/nicknikolakakis/mcp-auth-gateway"> </a> <a href="https://github.com/nicknikolakakis/mcp-auth-gateway/releases"> </a> <a href="LICENSE"> </a> </p>
---
Generic authentication gateway for MCP servers. Wraps any stdio-only MCP server with OAuth 2.1 authentication and exposes it over Streamable HTTP/SSE for remote access from Claude Desktop, Cowork, and other MCP clients.
Most MCP servers are designed to run locally via stdio. This makes them unusable for teams that need:
No existing project combines all of these. mcp-auth-gateway fills this gap.
grLoading reviews...