Skip to content

Commit a443362

Browse files
tim-watchaihrpr
andauthored
Update src/mcp/server/fastmcp/server.py
Co-authored-by: ihrpr <[email protected]>
1 parent e53a22e commit a443362

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp/server/fastmcp/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ def _normalize_path(self, mount_path: str, endpoint: str) -> str:
597597
# Combine paths
598598
return mount_path + endpoint
599599

600-
def sse_app(self, mount_path: str = "") -> Starlette:
600+
def sse_app(self, mount_path: str | None = None) -> Starlette:
601601
"""Return an instance of the SSE server app."""
602602
from starlette.middleware import Middleware
603603
from starlette.routing import Mount, Route

0 commit comments

Comments
 (0)