Skip to content

SEP-2632: Structured Content for Progress Notifications - #2632

Draft
stevehaertel wants to merge 4 commits into
modelcontextprotocol:mainfrom
stevehaertel:SEP-structured-progress-content
Draft

stevehaertel wants to merge 4 commits into
modelcontextprotocol:mainfrom
stevehaertel:SEP-structured-progress-content

Conversation

@stevehaertel

Copy link
Copy Markdown

Add a new SEP proposing structured content support 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 message field 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 content field for notifications/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:

  • reviewing the current draft progress utility documentation
  • updating the draft schema source-of-truth in schema/draft/schema.ts
  • updating progress notification example payloads
  • ensuring the SEP and examples consistently use the same proposed content shape:
    • event
    • text
    • actor
    • data
  • ensuring the tool-oriented examples use data.toolName, data.input, and data.output as sibling fields

A 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 message remain compatible.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

This PR intentionally updates only source-of-truth specification files and examples:

  • seps/0000-structured-progress-content.md
  • schema/draft/schema.ts
  • docs/specification/draft/basic/utilities/progress.mdx
  • schema/draft/examples/ProgressNotification/progress-message.json
  • schema/draft/examples/ProgressNotificationParams/progress-message.json

It does not yet regenerate derived artifacts such as:

  • schema/draft/schema.json
  • schema/draft/schema.mdx

Those can be generated in a follow-up step when preparing the PR for full validation.

The SEP is currently in idea status, consistent with the SEP workflow before a sponsor is assigned.

@stevehaertel
stevehaertel requested a review from a team as a code owner April 22, 2026 21:35
@stevehaertel

Copy link
Copy Markdown
Author

I see the failing checks. Will fix 👍🏻

@localden localden changed the title Add SEP for structured progress content SEP-2632: Structured Content for Progress Notifications Apr 22, 2026
@localden localden added SEP draft SEP proposal with a sponsor. labels Apr 22, 2026
@stevehaertel

Copy link
Copy Markdown
Author

Alright! All checks have passed

Now I'm looking for a sponsor :)

Any volunteers?

@kuwatly

kuwatly commented Jun 21, 2026

Copy link
Copy Markdown

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.

@localden localden added proposal SEP proposal without a sponsor. and removed draft SEP proposal with a sponsor. labels Jun 26, 2026
@kuwatly

kuwatly commented Jun 27, 2026

Copy link
Copy Markdown

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.

@sep-automation-bot

Copy link
Copy Markdown

Friendly Reminder

Hi @stevehaertel!

This SEP proposal has been inactive for 94 days.

We wanted to check in:

  • Are you still working on this proposal?
  • Is there anything blocking progress?
  • Do you need help finding a sponsor?

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.

@stevehaertel

Copy link
Copy Markdown
Author

@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?

@dsp-ant
dsp-ant marked this pull request as draft November 6, 2026 15:05
@dsp-ant dsp-ant added the wg-support-needed Needs support from a working or interest group before it can progress. label Nov 6, 2026 — with Claude
@sep-automation-bot

Copy link
Copy Markdown

Friendly Reminder

Hi @stevehaertel!

This SEP proposal has been inactive for 91 days.

We wanted to check in:

  • Are you still working on this proposal?
  • Is there anything blocking progress?
  • Do you need help finding a sponsor?

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.

dsp-ant commented Nov 6, 2026

Copy link
Copy Markdown
Member

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

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

proposal SEP proposal without a sponsor. SEP wg-support-needed Needs support from a working or interest group before it can progress.

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

4 participants