Skip to content

Commit 1ccab9f

Browse files
authored
Progress notifications should not be a loop (modelcontextprotocol#953)
* Progress notifications should not be a loop * Address PR review comments
1 parent a41ee18 commit 1ccab9f

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

docs/specification/2025-06-18/basic/utilities/progress.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,9 @@ sequenceDiagram
7878
Sender->>Receiver: Method request with progressToken
7979
8080
Note over Sender,Receiver: Progress updates
81-
loop Progress Updates
82-
Receiver-->>Sender: Progress notification (0.2/1.0)
83-
Receiver-->>Sender: Progress notification (0.6/1.0)
84-
Receiver-->>Sender: Progress notification (1.0/1.0)
85-
end
81+
Receiver-->>Sender: Progress notification (0.2/1.0)
82+
Receiver-->>Sender: Progress notification (0.6/1.0)
83+
Receiver-->>Sender: Progress notification (1.0/1.0)
8684
8785
Note over Sender,Receiver: Operation complete
8886
Receiver->>Sender: Method response

docs/specification/draft/basic/utilities/progress.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,9 @@ sequenceDiagram
7878
Sender->>Receiver: Method request with progressToken
7979
8080
Note over Sender,Receiver: Progress updates
81-
loop Progress Updates
82-
Receiver-->>Sender: Progress notification (0.2/1.0)
83-
Receiver-->>Sender: Progress notification (0.6/1.0)
84-
Receiver-->>Sender: Progress notification (1.0/1.0)
85-
end
81+
Receiver-->>Sender: Progress notification (0.2/1.0)
82+
Receiver-->>Sender: Progress notification (0.6/1.0)
83+
Receiver-->>Sender: Progress notification (1.0/1.0)
8684
8785
Note over Sender,Receiver: Operation complete
8886
Receiver->>Sender: Method response

0 commit comments

Comments
 (0)