mcp-auth-proxy
MCP Auth Proxy is a secure OAuth 2.1 authentication proxy for Model Context Protocol (MCP) servers
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Check it deeper on your machine
It has changed since its scan on 11 Nov 2026.
As a Claude Code plugin, install it and then ask Claude Code:
/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/sigbit/mcp-auth-proxy with scanskillsafety
Or from a terminal, clone it and run it:
git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/sigbit/mcp-auth-proxy'
It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.
Badge for your README
Markdown
[](/listings/sigbit--mcp-auth-proxy)HTML
<a href="/listings/sigbit--mcp-auth-proxy"><img src="/api/listings/sigbit--mcp-auth-proxy/badge.svg" alt="findsafeskills safety rating" /></a>Install
Install instructions from the README
As written by the repo's author. findsafeskills has not verified these steps.
> Domain binding & 80/443 must be accessible from outside.
Download binary from [release](https://github.com/sigbit/mcp-auth-proxy/releases) page.
If you use stdio transport
./mcp-auth-proxy \
--external-url https://{your-domain} \
--tls-accept-tos \
--password changeme \
-- npx -y @modelcontextprotocol/server-filesystem ./That's it! Your HTTP endpoint is now available at `https://{your-domain}/mcp`.
- stdio (when a command is specified): MCP endpoint is https://{your-domain}/mcp. - SSE/HTTP (when a URL is specified): MCP endpoint uses the backend’s original path (no conversion).
> Already have certificates? Pass `--tls-cert-file` and `--tls-key-file` instead of `--tls-accept-tos`.
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
README.md · README · 73 lines
View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)
- # MCP Auth Proxy
- 
- > If you found value here, please consider starring.
- ## Overview
- - **Drop-in OAuth 2.1/OIDC gateway for MCP servers — put it in front, no code changes.**
- - **Your IdP, your choice**: Google, GitHub, or any OIDC provider — e.g. Okta, Auth0, Azure AD, Keycloak — plus optional password.
- - **Flexible user matching**: Support exact matching and glob patterns for user authorization (e.g., `*@company.com`)
- - **Publish local MCP servers safely**: Supports all stdio, SSE, and HTTP transports. For stdio, traffic is converted to `/mcp`. For SSE/HTTP, it's proxied as-is. Of course, with authentication.
- - **Verified across major MCP clients**: Claude, Claude Code, ChatGPT, GitHub Copilot, Cursor, etc. — the proxy smooths client-specific quirks for consistent auth.
- ---
- 📖 **For detailed usage, configuration, and examples, see the [Documentation](https://sigbit.github.io/mcp-auth-proxy/)**
- ## Quickstart
- > Domain binding & 80/443 must be accessible from outside.
- Download binary from [release](https://github.com/sigbit/mcp-auth-proxy/releases) page.
- If you use stdio transport
- ```sh
- ./mcp-auth-proxy \
- --external-url https://{your-domain} \
- --tls-accept-tos \
- --password changeme \
- -- npx -y @modelcontextprotocol/server-filesystem ./
- ```
- That's it! Your HTTP endpoint is now available at `https://{your-domain}/mcp`.
- - stdio (when a command is specified): MCP endpoint is https://{your-domain}/mcp.
- - SSE/HTTP (when a URL is specified): MCP endpoint uses the backend’s original path (no conversion).
- > Already have certificates? Pass `--tls-cert-file` and `--tls-key-file` instead of `--tls-accept-tos`.
- ## Why not MCP Gateway?
- mcp-auth-proxy: **A lightweight proxy that adds authentication to any MCP server** (optional stdio→HTTP(S) conversion)
- MCP Gateway: **A hub to orchestrate multiple MCP servers** (aggregation, catalog integration)
- ### When to choose `mcp-auth-proxy`
- - **You just need to add auth to one or a few MCPs** (enforce OAuth/OIDC/password-only)
- - **Catalog integration and aggregation aren’t needed** (e.g., self-hosted or independently managed MCP deployments)
- ### When to choose MCP Gateway
- - **You need to manage multiple MCPs centrally** (aggregation, policies/permissions, auditing, centralized logging)
- - **You want catalog integration and aggregation**
- _Note_: They are not mutually exclusive. You can **put `mcp-auth-proxy` in front of a Gateway's public endpoint to enforce authentication** if the Gateway itself doesn't handle it.
- **TL;DR:** Orchestrate many → Gateway / Expose safely & quickly → mcp-auth-proxy
- ## Verified MCP Client
- | MCP Client | Status | Notes |
- | ----------------- | ------ | ------------------------------------------------ |
- | Claude - Web | ✅ | |
- | Claude - Desktop | ✅ | |
- | Claude Code | ✅ | |
- | ChatGPT - Web | ✅ | Need to implement `search` and `fetch` tools.(1) |
- | ChatGPT - Desktop | ✅ | Need to implement `search` and `fetch` tools.(1) |
- | GitHub Copilot | ✅ | |
- | Cursor | ✅ | |
- - \*1: https://platform.openai.com/docs/mcp
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.