Skip to content
Back to search

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.

Checked today

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
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/sigbit--mcp-auth-proxy/badge.svg)](/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

i

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)

  1. # MCP Auth Proxy
  2. ![Secure your MCP server with OAuth 2.1 — in a minute](./mcp-auth-proxy.svg)
  3. > If you found value here, please consider starring.
  4. ## Overview
  5. - **Drop-in OAuth 2.1/OIDC gateway for MCP servers — put it in front, no code changes.**
  6. - **Your IdP, your choice**: Google, GitHub, or any OIDC provider — e.g. Okta, Auth0, Azure AD, Keycloak — plus optional password.
  7. - **Flexible user matching**: Support exact matching and glob patterns for user authorization (e.g., `*@company.com`)
  8. - **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.
  9. - **Verified across major MCP clients**: Claude, Claude Code, ChatGPT, GitHub Copilot, Cursor, etc. — the proxy smooths client-specific quirks for consistent auth.
  10. ---
  11. 📖 **For detailed usage, configuration, and examples, see the [Documentation](https://sigbit.github.io/mcp-auth-proxy/)**
  12. ## Quickstart
  13. > Domain binding & 80/443 must be accessible from outside.
  14. Download binary from [release](https://github.com/sigbit/mcp-auth-proxy/releases) page.
  15. If you use stdio transport
  16. ```sh
  17. ./mcp-auth-proxy \
  18. --external-url https://{your-domain} \
  19. --tls-accept-tos \
  20. --password changeme \
  21. -- npx -y @modelcontextprotocol/server-filesystem ./
  22. ```
  23. That's it! Your HTTP endpoint is now available at `https://{your-domain}/mcp`.
  24. - stdio (when a command is specified): MCP endpoint is https://{your-domain}/mcp.
  25. - SSE/HTTP (when a URL is specified): MCP endpoint uses the backend’s original path (no conversion).
  26. > Already have certificates? Pass `--tls-cert-file` and `--tls-key-file` instead of `--tls-accept-tos`.
  27. ## Why not MCP Gateway?
  28. mcp-auth-proxy: **A lightweight proxy that adds authentication to any MCP server** (optional stdio→HTTP(S) conversion)
  29. MCP Gateway: **A hub to orchestrate multiple MCP servers** (aggregation, catalog integration)
  30. ### When to choose `mcp-auth-proxy`
  31. - **You just need to add auth to one or a few MCPs** (enforce OAuth/OIDC/password-only)
  32. - **Catalog integration and aggregation aren’t needed** (e.g., self-hosted or independently managed MCP deployments)
  33. ### When to choose MCP Gateway
  34. - **You need to manage multiple MCPs centrally** (aggregation, policies/permissions, auditing, centralized logging)
  35. - **You want catalog integration and aggregation**
  36. _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.
  37. **TL;DR:** Orchestrate many → Gateway / Expose safely & quickly → mcp-auth-proxy
  38. ## Verified MCP Client
  39. | MCP Client | Status | Notes |
  40. | ----------------- | ------ | ------------------------------------------------ |
  41. | Claude - Web | ✅ | |
  42. | Claude - Desktop | ✅ | |
  43. | Claude Code | ✅ | |
  44. | ChatGPT - Web | ✅ | Need to implement `search` and `fetch` tools.(1) |
  45. | ChatGPT - Desktop | ✅ | Need to implement `search` and `fetch` tools.(1) |
  46. | GitHub Copilot | ✅ | |
  47. | Cursor | ✅ | |
  48. - \*1: https://platform.openai.com/docs/mcp

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.