Repository navigation
SEP-2632: Structured Content for Progress Notifications - #2632
stevehaertel wants to merge 4 commits into
Conversation
|
I see the failing checks. Will fix 👍🏻 |
|
Alright! Now I'm looking for a sponsor :) Any volunteers? |
|
This would address our MCP Apps use case (context in #2932). During tool execution, an app iframe currently only receives tool-input-partial and the final tool-result for a given tools/call, with no server-push channel for incremental output. In SEP-2632, are the proposed content fields for progress notifications intended to carry structured data such as JSON progress objects that apps can consume programmatically, or mainly human-readable status strings for client UI? For MCP Apps, structured JSON progress payloads (similar to structuredContent on tool-result) would let apps render meaningful intermediate state instead of just a generic loading indicator. |
|
One concrete use case I’d love SEP‑2632 to support is dynamic A2UI rendering inside MCP Apps, not just textual status updates. A2UI already defines a streaming contract for progressive UI (surfaceUpdate / dataModelUpdate messages applied incrementally as each chunk arrives), and the A2UI team has an “A2UI in MCP Apps” guide that shows how an A2UI renderer can run inside an MCP App iframe: https://a2ui.org/guides/a2ui-in-mcp-apps/. Today, that renderer can only ever receive a single tool-result at the end of a long‑running call. If notifications/progress (or a sibling mechanism) can carry ordered, structured partial tool‑output payloads instead of just message strings, hosts could forward those into MCP Apps as tool-output-partial messages, letting the A2UI layer treat each progress event as the next entry in its JSONL stream and unlock true progressive UI rendering for long‑running tools. |
Friendly ReminderHi @stevehaertel! This SEP proposal has been inactive for 94 days. We wanted to check in:
If this proposal is no longer being pursued, please let us know and we can close it. Otherwise, any update on the current status would be appreciated! This is an automated message from the SEP lifecycle bot. |
|
@sep-automation-bot I would very much like to continue with this, but I need help finding a sponsor. @kuwatly Would you like to be the sponsor? |
Friendly ReminderHi @stevehaertel! This SEP proposal has been inactive for 91 days. We wanted to check in:
If this proposal is no longer being pursued, please let us know and we can close it. Otherwise, any update on the current status would be appreciated! This is an automated message from the SEP lifecycle bot. |
|
Hey @stevehaertel, thank you for putting this up. We are changing how we are handling contributions (yet to be documented well). For SEPs to be accepted, they will have to go through a working group, in this case the Tasks and Events Working Group. I took the freedom to move this to draft for now. It can be opened again once we have moved this through the Tasks and Events Working Group. Generated by Claude Code |
Add a new SEP proposing structured
contentsupport for MCP progress notifications, and update the draft progress specification source files and examples to reflect the proposal.Motivation and Context
MCP progress notifications currently support a
messagefield for human-readable status updates. This works for simple progress reporting, but it is limited for modern tool, workflow, and multi-agent scenarios where a progress event may need to communicate more than a single string.This PR introduces a placeholder SEP proposing an optional structured
contentfield fornotifications/progress, alongside updates to the draft source-of-truth specification files and examples to illustrate the proposal.The motivation for this SEP was informed in part by the Langflow enhancement demonstration discussed here:
That work uses the existing
message-only progress mechanism to create a richer, more transparent user experience for nested and delegated execution. It also demonstrates why a protocol-level structured representation would be useful across MCP implementations.How Has This Been Tested?
This work has been reviewed as a specification and proposal change rather than a completed production implementation.
Tested scenarios include:
schema/draft/schema.tscontentshape:eventtextactordatadata.toolName,data.input, anddata.outputas sibling fieldsA motivating prototype exists outside this repository in Langflow:
I have not yet regenerated derived schema artifacts or run the full repository validation suite in this PR draft.
Breaking Changes
No.
This proposal adds optional fields only and does not remove or redefine existing progress notification behavior. Existing implementations that only use
messageremain compatible.Types of changes
Checklist
Additional context
This PR intentionally updates only source-of-truth specification files and examples:
seps/0000-structured-progress-content.mdschema/draft/schema.tsdocs/specification/draft/basic/utilities/progress.mdxschema/draft/examples/ProgressNotification/progress-message.jsonschema/draft/examples/ProgressNotificationParams/progress-message.jsonIt does not yet regenerate derived artifacts such as:
schema/draft/schema.jsonschema/draft/schema.mdxThose can be generated in a follow-up step when preparing the PR for full validation.
The SEP is currently in
ideastatus, consistent with the SEP workflow before a sponsor is assigned.