Add GATEWAY_SECRET support for MCP server to API gateway auth (#719)

Add GATEWAY_SECRET support for MCP server to API gateway auth

Pass bearer token from GATEWAY_SECRET environment variable as a
URL query parameter on websocket connections to the API gateway.
When unset or empty, no auth is applied (backwards compatible).

Lock mistralai to fix incompatible API
This commit is contained in:
cybermaggedon 2026-03-26 10:52:02 +00:00 committed by GitHub
parent 6e6e320c47
commit 46f772d8b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 28 additions and 11 deletions

View file

@ -28,7 +28,7 @@ dependencies = [
"langchain-text-splitters",
"mcp",
"minio",
"mistralai",
"mistralai<2.0.0",
"neo4j",
"nltk",
"ollama",