1Panel icon indicating copy to clipboard operation
1Panel copied to clipboard

[Feature] Add mcp auth

Open YanxingLiu opened this issue 7 months ago • 4 comments

1Panel Version

latest

Please describe your needs or suggestions for improvements

The mcp now update the offcial auth method. Is there any possibility to support in 1panel? refer: https://modelcontextprotocol.io/specification/2025-03-26/basic/authorization#2-6-access-token-usage

Please describe the solution you suggest

No response

Additional Information

No response

YanxingLiu avatar Apr 21 '25 00:04 YanxingLiu

Is the goal to have mcp-1panel support authentication or for the MCP module in 1panel to support authentication?

zhengkunwang223 avatar Apr 21 '25 02:04 zhengkunwang223

Is the goal to have mcp-1panel support authentication or for the MCP module in 1panel to support authentication?

MCP module in 1panel

YanxingLiu avatar Apr 21 '25 02:04 YanxingLiu

Is the goal to have mcp-1panel support authentication or for the MCP module in 1panel to support authentication?

MCP module in 1panel

Our current use of the https://github.com/supercorp-ai/supergateway project only allows for one oauth2Bearer per server. Does this meet your requirements?

zhengkunwang223 avatar Apr 21 '25 09:04 zhengkunwang223

After binding the domain, you can configure password access to your MCP domain, then add Authorization=Basic your-auth-token in the HTTP request header. Hope this helps ~

Image

realskyrin avatar Apr 27 '25 01:04 realskyrin

After binding the domain, you can configure password access to your MCP domain, then add Authorization=Basic your-auth-token in the HTTP request header. Hope this helps ~

Image

Thank you for your response, it make sense.

YanxingLiu avatar Apr 29 '25 13:04 YanxingLiu