ols4 icon indicating copy to clipboard operation
ols4 copied to clipboard

MCP routing issue in prod only

Open jamesamcl opened this issue 2 months ago • 1 comments

In wwwdev we have one backend instance, MCP works fine

In www we have two backend instances. Sometimes MCP SSE messages go to one of them and sometimes the other. But the session state is not shared so this causes errors.

Possible solutions:

  1. Share session state across the backend instances somehow
  2. Route all MCP requests to one backend
  3. Scale down to one backend instance (with more resources?)
  4. Use streamable HTTP MCP instead which may not have this problem

For now I have updated the recommended MCP URLs to wwwdev

jamesamcl avatar Sep 15 '25 13:09 jamesamcl