From 776b4b8cc8f5294df63c7274fb768aba2673724f Mon Sep 17 00:00:00 2001 From: Ben Date: Wed, 24 Dec 2025 04:41:06 +0000 Subject: [PATCH] fix: use correct underlying server attribute for SSE handling in FastMCP --- src/monarch_mcp_custom/server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/monarch_mcp_custom/server.py b/src/monarch_mcp_custom/server.py index e628cf3..48d945e 100644 --- a/src/monarch_mcp_custom/server.py +++ b/src/monarch_mcp_custom/server.py @@ -188,10 +188,10 @@ def create_app(): read_stream, write_stream, ): - await mcp.run( + await mcp._mcp_server.run( read_stream, write_stream, - mcp.create_initialization_options(), + mcp._mcp_server.create_initialization_options(), ) routes = [