Skip to content

Commit ea7a063

Browse files
committed
fix by ruff
1 parent 389dc90 commit ea7a063

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/mcp/server/fastmcp/server.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,10 @@ class Settings(BaseSettings, Generic[LifespanResultT]):
8989
# HTTP settings
9090
host: str = "127.0.0.1"
9191
port: int = 8000
92-
root_path: str = "" # root path, same with root_path in uvicorn config, for sse or streamable http
92+
93+
root_path: str = "" # Root path, same with root_path in uvicorn config.
94+
# Used for SSE or streamable HTTP.
95+
9396
mount_path: str = "/" # Mount path (e.g. "/github", defaults to root path)
9497
sse_path: str = "/sse"
9598
message_path: str = "/messages/"

0 commit comments

Comments
 (0)