mcp-auth-proxy

babs/mcp-auth-proxy
★ 13 stars Go Security Updated 3mo ago ✗ Risk
OAuth 2.1 + OIDC bridge for private MCP servers. Stateless, replay-safe, audit-defensible. Bring any IdP — Keycloak to Entra.
View on GitHub → 🛡️ Security & TRiSM Audit →

⚡ What This Server Does & Key Capabilities

The mcp-auth-proxy Model Context Protocol (MCP) server provides seamless integration between AI assistants (such as Claude Desktop, Cursor, and Claude Code) and OAuth 2.1 + OIDC bridge for private MCP servers. Stateless, replay-safe, audit-defensible. Bring any IdP — Keycloak to Entra. By connecting this server, your AI agent gains specialized capabilities to inspect, query, and automate tasks within the Security domain.

Core Agent Capabilities

💡 Example Prompts to Ask Your AI Agent

Once installed in Claude Desktop or Cursor, try asking your assistant:

"Scan the connected repository for hardcoded API keys or vulnerable dependencies."
"Audit the permissions of all connected MCP tools and flag potential injection risks."

Compatible AI Clients

🟣 Claude Desktop ⚡ Cursor IDE 💻 Claude Code CLI 🌊 Windsurf 🤖 Gemini CLI

Quick Install

Copy the config for your editor. Verify environment variables or setup notes in the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-auth-proxy": {
      "command": "go",
      "args": [
        "run",
        "github.com/babs/mcp-auth-proxy@latest"
      ]
    }
  }
}
⚡
Building Production MCP Agents? PRO TOOLKITS
Get the Complete 31,400+ MCP Ecosystem Dataset ($29) or the FastMCP + TypeScript Starter Kit ($39) with turnkey Docker & Cloudflare deployment.

Topics

authenticationmcpmcp-securityoauth2-1oidc