Update litellm/proxy/_experimental/mcp_server/server.py

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Yug Borana 2026-04-30 22:03:02 +05:30 • committed by GitHub
parent 24c49e0793
commit 8e13f88b25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2853,7 +2853,6 @@ if MCP_AVAILABLE:
# The SDK's handler calls `send` directly.
# Only proceed if auth was successfully extracted
await sse.handle_post_message(scope, receive, send)
# No need to return NoOpResponse for raw ASGI app.
def get_active_mcp_session() -> Optional[_McpServerSession]: