René's URL Explorer Experiment


Title: First-class streaming tool output · Issue #484 · modelcontextprotocol/modelcontextprotocol · GitHub

Open Graph Title: First-class streaming tool output · Issue #484 · modelcontextprotocol/modelcontextprotocol

X Title: First-class streaming tool output · Issue #484 · modelcontextprotocol/modelcontextprotocol

Description: Proposal: Define streamed tool result semantics in MCP I’m working on a project experimenting with long-running tools and realtime updates in AI agent frameworks using MCP. While MCP currently supports notifications (for progress updates...

Open Graph Description: Proposal: Define streamed tool result semantics in MCP I’m working on a project experimenting with long-running tools and realtime updates in AI agent frameworks using MCP. While MCP currently supp...

X Description: Proposal: Define streamed tool result semantics in MCP I’m working on a project experimenting with long-running tools and realtime updates in AI agent frameworks using MCP. While MCP currently supp...

Opengraph URL: https://github.com/modelcontextprotocol/modelcontextprotocol/issues/484

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"First-class streaming tool output","articleBody":"## Proposal: Define streamed tool result semantics in MCP\n\nI’m working on a project experimenting with long-running tools and realtime updates in AI agent frameworks using MCP.\n\nWhile MCP currently supports notifications (for progress updates or resource changes) and pagination (for batched result fetching), these mechanisms are not suited for tools that emit result data incrementally as they run.\n\nWhat’s missing is a native protocol mechanism to surface these incremental tool outputs in real time — both:\n- to user interfaces (for live display), and\n- to agents (for use in ongoing reasoning and decision making *before* the tool call completes).\n\n---\n\n### Why this matters\n\nMany important tool use cases involve progressive results that should be available during execution:\n- AI agents acting as tools (streamed sub-agent responses)\n- Recursive planning and mid-execution decisions\n- Large result sets (e.g. databases, logs, datasets) returning partial rows\n- User-interactive tools or streaming input/output\n- Long-running pipelines or background tasks\n\nThese scenarios need *true streaming semantics*, where partial results are emitted as chunks and can be consumed by the agent and/or UI while the tool is still active.\n\nToday, MCP has no defined mechanism for this — notifications and pagination alone are not sufficient.\n\n---\n\n### Proposed addition to MCP\n\nIt would be ideal for MCP to define streamed result semantics as a first-class pattern in the protocol:\n\n- Allow tool implementations to yield result chunks incrementally while running (not only final results)\n- Define protocol-level messages specifically for streamed tool result chunks (distinct from notifications and pagination)\n- Ensure that agent frameworks consuming MCP can ingest these streamed result chunks as they arrive and optionally surface them into LLM context at reasoning steps\n\nThis would unlock important real-time and incremental execution patterns for agents, enabling much more advanced and dynamic tool integrations.\n\n---\n\n### Demonstration project (proof of gap)\n\nAn experimental project demonstrates the current protocol gap and explores an interim solution using notifications + SDK extension:\n\nhttps://github.com/josephbharrison/streamable-mcp-client\n\nWhile this prototype streams chunks via notifications and forcibly advances agent reasoning, it does **not solve the problem fully**, as streamed chunks are not surfaced into agent context without protocol-level support.\n\nThis reinforces that first-class streamed tool result support should be defined at the protocol level for proper integration and reasoning.","author":{"url":"https://github.com/josephbharrison","@type":"Person","name":"josephbharrison"},"datePublished":"2025-05-07T17:41:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/484/modelcontextprotocol/issues/484"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7e2cdae0-4657-b92b-82e9-8440f10f64b0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC342:37B953:876B70:B465CE:6A5B6AE6
html-safe-noncef3ba0e9a8a02656f8bba607751ba202e2f1e82f8f3214db2d43813d51339673e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzQyOjM3Qjk1Mzo4NzZCNzA6QjQ2NUNFOjZBNUI2QUU2IiwidmlzaXRvcl9pZCI6IjgyMzAzMTE3MzM2NDAyNjAzMjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd5ad16d5e00ec5f8108720f3938bd1b7c32cf12a6403936f08cc881b8c76428c
hovercard-subject-tagissue:3046722418
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/modelcontextprotocol/modelcontextprotocol/484/issue_layout
twitter:imagehttps://opengraph.githubassets.com/10fe94563b0743179a53c27f6e201e7743caa2178d505d294849a58b149088ba/modelcontextprotocol/modelcontextprotocol/issues/484
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/10fe94563b0743179a53c27f6e201e7743caa2178d505d294849a58b149088ba/modelcontextprotocol/modelcontextprotocol/issues/484
og:image:altProposal: Define streamed tool result semantics in MCP I’m working on a project experimenting with long-running tools and realtime updates in AI agent frameworks using MCP. While MCP currently supp...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejosephbharrison
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
go-importgithub.com/modelcontextprotocol/modelcontextprotocol git https://github.com/modelcontextprotocol/modelcontextprotocol.git
octolytics-dimension-user_id182288589
octolytics-dimension-user_loginmodelcontextprotocol
octolytics-dimension-repository_id862570523
octolytics-dimension-repository_nwomodelcontextprotocol/modelcontextprotocol
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id862570523
octolytics-dimension-repository_network_root_nwomodelcontextprotocol/modelcontextprotocol
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/modelcontextprotocol/modelcontextprotocol/issues/484#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fmodelcontextprotocol%2Fissues%2F484
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmodelcontextprotocol%2Fmodelcontextprotocol%2Fissues%2F484
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=modelcontextprotocol%2Fmodelcontextprotocol
Reloadhttps://github.com/modelcontextprotocol/modelcontextprotocol/issues/484
Reloadhttps://github.com/modelcontextprotocol/modelcontextprotocol/issues/484
Reloadhttps://github.com/modelcontextprotocol/modelcontextprotocol/issues/484
Please reload this pagehttps://github.com/modelcontextprotocol/modelcontextprotocol/issues/484
modelcontextprotocol https://github.com/modelcontextprotocol
modelcontextprotocolhttps://github.com/modelcontextprotocol/modelcontextprotocol
Notifications https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fmodelcontextprotocol
Fork 1.7k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fmodelcontextprotocol
Star 8.6k https://github.com/login?return_to=%2Fmodelcontextprotocol%2Fmodelcontextprotocol
Code https://github.com/modelcontextprotocol/modelcontextprotocol
Issues 113 https://github.com/modelcontextprotocol/modelcontextprotocol/issues
Pull requests 80 https://github.com/modelcontextprotocol/modelcontextprotocol/pulls
Discussions https://github.com/modelcontextprotocol/modelcontextprotocol/discussions
Actions https://github.com/modelcontextprotocol/modelcontextprotocol/actions
Projects https://github.com/modelcontextprotocol/modelcontextprotocol/projects
Models https://github.com/modelcontextprotocol/modelcontextprotocol/models
Security and quality 0 https://github.com/modelcontextprotocol/modelcontextprotocol/security
Insights https://github.com/modelcontextprotocol/modelcontextprotocol/pulse
Code https://github.com/modelcontextprotocol/modelcontextprotocol
Issues https://github.com/modelcontextprotocol/modelcontextprotocol/issues
Pull requests https://github.com/modelcontextprotocol/modelcontextprotocol/pulls
Discussions https://github.com/modelcontextprotocol/modelcontextprotocol/discussions
Actions https://github.com/modelcontextprotocol/modelcontextprotocol/actions
Projects https://github.com/modelcontextprotocol/modelcontextprotocol/projects
Models https://github.com/modelcontextprotocol/modelcontextprotocol/models
Security and quality https://github.com/modelcontextprotocol/modelcontextprotocol/security
Insights https://github.com/modelcontextprotocol/modelcontextprotocol/pulse
First-class streaming tool outputhttps://github.com/modelcontextprotocol/modelcontextprotocol/issues/484#top
enhancementNew feature or requesthttps://github.com/modelcontextprotocol/modelcontextprotocol/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com/josephbharrison
josephbharrisonhttps://github.com/josephbharrison
on May 7, 2025https://github.com/modelcontextprotocol/modelcontextprotocol/issues/484#issue-3046722418
https://github.com/josephbharrison/streamable-mcp-clienthttps://github.com/josephbharrison/streamable-mcp-client
enhancementNew feature or requesthttps://github.com/modelcontextprotocol/modelcontextprotocol/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.