Skip to content

Commit 76325b7

Browse files
committed
progress_token is 0 on first tool-call and the return is taken mistakenly
1 parent 978cfe3 commit 76325b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcp/server/fastmcp/server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ async def report_progress(
599599
else None
600600
)
601601

602-
if not progress_token:
602+
if progress_token == None:
603603
return
604604

605605
await self.request_context.session.send_progress_notification(

0 commit comments

Comments
 (0)