Skip to content

[Feature Request]: Option to completely remove Bearer token auth to MCP gateway #705

@CalebBartleMAA

Description

@CalebBartleMAA

###Feature Summary
Briefly describe the issue or unexpected behavior.

I am doing auth using a frontend proxy that has proper OAuth and federation capabilities, thus I will not be leveraging any of the manual JWT generation on the MCP gateway side.


🧩 Affected Component

Select the area of the project impacted:

  • [ X] mcpgateway - API
  • mcpgateway - UI (admin panel)
  • [] mcpgateway.wrapper - stdio wrapper
  • [ X] Federation or Transports
  • CLI, Makefiles, or shell scripts
  • [X ] Container setup (Docker/Podman/Compose)
  • Other (explain below)

🔁 Steps to Reproduce

1. Add MCP Server
2. Set Environment Variable to AUTH_REQUIRED: false
(This currently only disables the admin login, there isn't any separate environment variable to disable MCP Client Auth completely)


🤔 Expected Behavior

What should have happened instead?

We should be allowed to set an environment variable to disable MCP Client Auth


📓 Logs / Error Output

Paste any relevant stack traces or logs here.
⚠️ Do not paste secrets, credentials, or tokens.


🧠 Environment Info

You can retrieve most of this from the /version endpoint.

Key Value
Version or commit e.g. v0.9.0 or main@a1b2c3d
Runtime e.g. Python 3.11, Gunicorn
Platform / OS e.g. Ubuntu 22.04, macOS
Container e.g. Docker, Podman, none

Running on Docker

Image

🧩 Additional Context (optional)

Add any configuration details, flags, or related issues.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions