8000 Sticky session / Stateless mode support · Issue #99 · punkpeye/fastmcp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Sticky session / Stateless mode support #99
Open
@AlexBrohshtut

Description

@AlexBrohshtut

Hi!

I’m using FastMCP with Kubernetes, multiple pods and NGINX ingress. The problem is with session state: as far as I see, sessions are stored only in memory on a single pod. MCP don’t use cookies and IP hash routing is not reliable for us, so requests from the same client can go to different pods and the session is lost.

Is there any way to make sessions persistent between pods, maybe with Redis or something? Has anyone solved this before, or is there a workaround for this situation?

I noticed the official SDK has a stateless mode which maybe could help, but FastMCP doesn’t seem to support this out of the box.

Any advice or shared experience would be appreciated, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0