Skip to content

Commit de76d1e

Browse files
committed
fix: update root_path default value to empty string
1 parent b15306d commit de76d1e

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
@@ -89,7 +89,7 @@ class Settings(BaseSettings, Generic[LifespanResultT]):
8989
# HTTP settings
9090
host: str = "0.0.0.0"
9191
port: int = 8000
92-
root_path: str = "/" # root path, same with root_path in uvicorn config, for sse or streamable http
92+
root_path: str = "" # root path, same with root_path in uvicorn config, for sse or streamable http
9393
mount_path: str = "/" # Mount path (e.g. "/github", defaults to root path)
9494
sse_path: str = "/sse"
9595
message_path: str = "/messages/"

0 commit comments

Comments
 (0)