You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/migration.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -222,6 +222,22 @@ Affected types:
222
222
223
223
The `ClientSession.read_resource()`, `subscribe_resource()`, and `unsubscribe_resource()` methods now accept both `str` and `AnyUrl` for backwards compatibility.
224
224
225
+
### `StreamableHTTPASGIApp` moved to `streamable_http_manager` module
226
+
227
+
The `StreamableHTTPASGIApp` class has been moved from `mcp.server.fastmcp.server` to `mcp.server.streamable_http_manager`.
228
+
229
+
**Before (v1):**
230
+
231
+
```python
232
+
from mcp.server.fastmcp.server import StreamableHTTPASGIApp
233
+
```
234
+
235
+
**After (v2):**
236
+
237
+
```python
238
+
from mcp.server.streamable_http_manager import StreamableHTTPASGIApp
0 commit comments