modelcontextprotocol / modelcontextprotocol/ext-apps
Notification when model context was read by model
Open
@idosal is already working on this.
Since Jan 27, 2026.
enhancement
v2
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 387
- Avg merge
- 3h 21m
- Merged PRs (30d)
- 6
Description
ui/update-model-context (https://github.com/modelcontextprotocol/ext-apps/pull/125) leaves context for the model to pick up at some point (next user turn at the latest), leaving the app in the dark as to what to put in there (repeat everything previously said, or add new stuff only? only the last version of the context is passed to the model) and as to whether it's been read or not.
Here are two potential ways to fix this:
onmodelcontextread: new notification that lets the app know when the context "inbox" was read- Add a
wait?: booleantoui/update-model-contextso its result is suspended until the context was read by the model (success), or until a concurrent model context update was sent (failed w/ appropriate json rpc error code)
cc/ @idosal
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.