Skip to content

Commit 0bf3521

Browse files
authored
Update streamable_http_path to /mcp/ to avoid 307 Temporary Redirect
1 parent e80c015 commit 0bf3521

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
@@ -92,7 +92,7 @@ class Settings(BaseSettings, Generic[LifespanResultT]):
9292
mount_path: str = "/" # Mount path (e.g. "/github", defaults to root path)
9393
sse_path: str = "/sse"
9494
message_path: str = "/messages/"
95-
streamable_http_path: str = "/mcp"
95+
streamable_http_path: str = "/mcp/"
9696

9797
# StreamableHTTP settings
9898
json_response: bool = False

0 commit comments

Comments
 (0)