Commit 6e1fc10
Sergey
fix: enable stateless_http in add-on and fix runtime Python version
Enable stateless_http=True in the add-on's mcp.run() call, aligning it
with all other HTTP deployment modes (main_web, main_sse, main_oauth).
The add-on was missed when stateless mode was introduced in v6.4.0.
Without stateless mode, mcp-proxy connections require consistent
Mcp-Session-Id header forwarding. If the proxy fails to maintain session
state, the server either creates orphaned sessions (stale data) or
rejects requests silently — matching the symptoms in #585.
Also fix the runtime Docker image from Python 3.14 to 3.13 to match the
builder stage, which was causing ModuleNotFoundError for ha_mcp due to
mismatched site-packages paths (python3.13 vs python3.14).
Fixes #5851 parent 934ad1c commit 6e1fc10
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
| |||
0 commit comments