build: complete upgrade to fastapi 0.141, mcp sdk v2, fastmcp 4 and httpx2

This commit is contained in:
lda
2026-09-06 12:17:15 +07:00 Verified
parent 5b901557bd
commit 6d5b6741fb
42 changed files with 946 additions and 737 deletions
+2 -2
View File
@@ -29,12 +29,12 @@ downstream_seen: list[str] = []
async def upstream_message_handler(message: object) -> None:
if isinstance(message, mcp_types.ServerNotification):
upstream_seen.append(message.root.method)
upstream_seen.append(message.method)
async def downstream_message_handler(message: object) -> None:
if isinstance(message, mcp_types.ServerNotification):
downstream_seen.append(message.root.method)
downstream_seen.append(message.method)
upstream_transport = FastMCPTransport(