-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Question
Does FastMCP with the below setting support Session Management? I am using the below, otherwise it does not work when deployed in K8s (BrokenResourceError)
mcp = FastMCP( "MCP Server", stateless_http=True, json_response=True )
I am observing that when stateless_http=True
, my deployed MCP server (running in Kubernetes) no longer supports session management as no session Id is returned.
Is this the intended behavior? If so, is there a recommended solution or workaround to enable session management with this configuration?
Much appreciated.
Thanks
Additional Context
mcp==1.12.0
python==3.11.9
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested