Self-hosted OAuth 2.1 + Dynamic Client Registration gateway for MCP servers — lets OAuth-only MCP clients (e.g. Claude) connect to any MCP server, without a third-party identity provider. Specification phase.
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp-oauth-gateway": {
"command": "go",
"args": [
"run",
"github.com/xnyzer/mcp-oauth-gateway@latest"
]
}
}
}
Run in terminal:
claude mcp add mcp-oauth-gateway go run github.com/xnyzer/mcp-oauth-gateway@latest
Add to .cursor/mcp.json:
{
"mcpServers": {
"mcp-oauth-gateway": {
"command": "go",
"args": [
"run",
"github.com/xnyzer/mcp-oauth-gateway@latest"
]
}
}
}