Commit 44ab673
committed
refactor: remove misleading MCPServer type alias in streamable_http_manager
The TYPE_CHECKING import in streamable_http_manager.py was aliasing the
lowlevel `Server` class as `MCPServer`, which is confusing because
`MCPServer` is a separate, higher-level wrapper class defined in
`mcp.server.mcpserver`. This rename removes the alias and uses the
class's actual name `Server` directly.1 parent 6f8b791 commit 44ab673
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
0 commit comments