René's URL Explorer Experiment


Title: Investigate migration to stateless MCP 2026-07-28 · Issue #293 · devframes/devframe · GitHub

Open Graph Title: Investigate migration to stateless MCP 2026-07-28 · Issue #293 · devframes/devframe

X Title: Investigate migration to stateless MCP 2026-07-28 · Issue #293 · devframes/devframe

Description: Context While reviewing the resource subscription work in PR #292, we noticed that Devframe still uses the 2025-era MCP protocol model. Devframe already depends on version 2 of the TypeScript MCP SDK, but the SDK keeps hand-constructed c...

Open Graph Description: Context While reviewing the resource subscription work in PR #292, we noticed that Devframe still uses the 2025-era MCP protocol model. Devframe already depends on version 2 of the TypeScript MCP S...

X Description: Context While reviewing the resource subscription work in PR #292, we noticed that Devframe still uses the 2025-era MCP protocol model. Devframe already depends on version 2 of the TypeScript MCP S...

Opengraph URL: https://github.com/devframes/devframe/issues/293

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Investigate migration to stateless MCP 2026-07-28","articleBody":"## Context\n\nWhile reviewing the resource subscription work in [PR #292](https://github.com/devframes/devframe/pull/292), we noticed that Devframe still uses the 2025-era MCP protocol model.\n\nDevframe already depends on version 2 of the TypeScript MCP SDK, but the SDK keeps hand-constructed clients and servers on the legacy protocol unless applications opt into the new serving and negotiation entry points.\n\nThe current Devframe implementation still relies on:\n\n- the `initialize` handshake\n- `Mcp-Session-Id`\n- session-local HTTP routing\n- GET and DELETE session operations\n- `resources/subscribe` and `resources/unsubscribe`\n- direct `Server.connect()` calls for stdio\n- legacy client negotiation in `devframe connect`\n\nMCP 2026-07-28 replaces this with a stateless protocol based on independent requests, per-request metadata, `server/discover`, and `subscriptions/listen`.\n\nReferences:\n\n- [MCP 2026-07-28 specification](https://modelcontextprotocol.io/specification/2026-07-28)\n- [TypeScript SDK migration guide](https://github.com/modelcontextprotocol/typescript-sdk/blob/main/docs/migration/support-2026-07-28.md)\n\n## Why consider migrating\n\nThe stateless model is now the direction of the MCP specification. Existing 2025-era behavior remains supported for compatibility, but newer protocol work and client behavior will build on the 2026 model.\n\nUnless Devframe intentionally remains a legacy-only MCP implementation, we will likely need to migrate at some point to maintain compatibility with modern MCP clients and future protocol revisions.\n\nMigration would bring:\n\n- modern MCP client compatibility\n- HTTP requests that can reach any server instance without session affinity\n- no application-owned `Mcp-Session-Id` registry or DELETE teardown protocol\n- SDK-managed protocol discovery and per-request version validation\n- SDK-managed `subscriptions/listen` routing and notification filtering\n- required HTTP routing-header validation\n- automatic modern result fields such as `resultType`, `ttlMs`, and `cacheScope`\n- one server factory that can serve both protocol eras where compatibility is needed\n- a clearer path to future MCP extensions built on the stateless protocol\n\nThis should also let Devframe delete part of its custom HTTP session lifecycle once legacy support is no longer needed.\n\n## Likely migration cost\n\nThis is more than changing a protocol-version constant.\n\nThe server construction model would need to change from a session-owned server to an SDK factory:\n\n- HTTP would move to `createMcpHandler`.\n- Stdio would move to `serveStdio`.\n- `devframe connect` would enable modern version negotiation.\n- MCP server registration would need to work when the SDK creates instances per request or connection.\n\nResource notifications need particular attention. MCP 2026-07-28 replaces `resources/subscribe` and `resources/unsubscribe` with a long-lived `subscriptions/listen` request. Devframe would need to:\n\n- publish resource and list changes through the SDK notification bus\n- decide how the existing resource `subscribe` and `unsubscribe` callbacks map to listen-stream lifecycle\n- preserve correct cleanup when a listen stream closes\n- update the SharedState resource bridge\n- test concurrent listeners and resource-specific filters\n\nCompatibility policy changes the size of the work:\n\n- A modern-only migration could replace the custom HTTP session handler.\n- Supporting both eras would require routing modern requests to `createMcpHandler` while retaining the current sessionful handler for legacy clients. The SDK's default legacy HTTP fallback is stateless and cannot preserve legacy resource subscriptions by itself.\n- Tests would need separate modern and legacy coverage. Current raw HTTP and in-memory tests exercise the legacy handshake.\n- Documentation would need to explain the supported protocol versions and any legacy compatibility window.\n\nThe public Devframe resource API may remain useful, but its subscription semantics should be reviewed before treating the current callback lifecycle as the long-term contract.\n\n## Questions\n\n- Should Devframe adopt MCP 2026-07-28 now, or wait for broader client adoption?\n- Should the first migration support both protocol eras or move directly to modern-only MCP?\n- If legacy support remains, how long should Devframe keep the sessionful HTTP route?\n- Should HTTP, stdio, and `devframe connect` migrate together?\n- How should Devframe's resource subscription callbacks map to `subscriptions/listen`?\n- Can the migration preserve the current public resource API, or should subscription lifecycle become an internal MCP adapter concern?\n","author":{"url":"https://github.com/dvcolomban","@type":"Person","name":"dvcolomban"},"datePublished":"2026-08-25T18:45:51Z","url":"https://github.com/devframes/devframe/issues/293"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f3939a21-1d69-42b6-9a53-931c954ec5cc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id99FE:4E2A2:108705:1725C0:6AFB6ACE
html-safe-nonce6b809a897b92fff7c6ebd41b6179b9ceaf835be3deec11371feadfb1679d4a39
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUZFOjRFMkEyOjEwODcwNToxNzI1QzA6NkFGQjZBQ0UiLCJ2aXNpdG9yX2lkIjoiMzMzNDczODEzOTQxODQyMTk2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd7f8a1aada4fb64e3f0802fe79989dc954dbb6bd687bbd82ecc93661ec184ab9
hovercard-subject-tagissue:5249370316
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/devframes/devframe/293/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f682fa20e569ddc3b8e11fc919070d47ce76986b98a56fe3fcb85562178e31e8/devframes/devframe/issues/293
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f682fa20e569ddc3b8e11fc919070d47ce76986b98a56fe3fcb85562178e31e8/devframes/devframe/issues/293
og:image:altContext While reviewing the resource subscription work in PR #292, we noticed that Devframe still uses the 2025-era MCP protocol model. Devframe already depends on version 2 of the TypeScript MCP S...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedvcolomban
hostnamegithub.com
expected-hostnamegithub.com
Nonecca289ecd54650fcf3c0b037a58b97186dee2cc4406819d87fab93728fd83700
turbo-cache-controlno-preview
go-importgithub.com/devframes/devframe git https://github.com/devframes/devframe.git
octolytics-dimension-user_id279879373
octolytics-dimension-user_logindevframes
octolytics-dimension-repository_id1231722386
octolytics-dimension-repository_nwodevframes/devframe
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1231722386
octolytics-dimension-repository_network_root_nwodevframes/devframe
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
release88808b1fae5ab8a526a73e7ce5542a10eb9d6971
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/devframes/devframe/issues/293#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdevframes%2Fdevframe%2Fissues%2F293
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdevframes%2Fdevframe%2Fissues%2F293
Sign uphttps://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=devframes%2Fdevframe
Reloadhttps://github.com/devframes/devframe/issues/293
Reloadhttps://github.com/devframes/devframe/issues/293
Reloadhttps://github.com/devframes/devframe/issues/293
devframeshttps://github.com/devframes
devframehttps://github.com/devframes/devframe
Codehttps://github.com/devframes/devframe
Issues12 (12)https://github.com/devframes/devframe/issues
Pull requests13 (13)https://github.com/devframes/devframe/pulls
Actionshttps://github.com/devframes/devframe/actions
Security and qualityhttps://github.com/devframes/devframe/security
Insightshttps://github.com/devframes/devframe/pulse
https://github.com/devframes/devframe
New issuehttps://github.com/login?return_to=https://github.com/devframes/devframe/issues/293
New issuehttps://github.com/login?return_to=https://github.com/devframes/devframe/issues/293
#297https://github.com/devframes/devframe/pull/297
Investigate migration to stateless MCP 2026-07-28https://github.com/devframes/devframe/issues/293#top
#297https://github.com/devframes/devframe/pull/297
https://github.com/dvcolomban
dvcolombanhttps://github.com/dvcolomban
on Aug 25, 2026https://github.com/devframes/devframe/issues/293#issue-5249370316
PR #292https://github.com/devframes/devframe/pull/292
MCP 2026-07-28 specificationhttps://modelcontextprotocol.io/specification/2026-07-28
TypeScript SDK migration guidehttps://github.com/modelcontextprotocol/typescript-sdk/blob/main/docs/migration/support-2026-07-28.md
antfuhttps://github.com/antfu
completedhttps://github.com/devframes/devframe/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#297https://github.com/devframes/devframe/pull/297
on Aug 27, 2026https://github.com/devframes/devframe/issues/293#event-30078219200
Sign up for freehttps://github.com/signup?return_to=https://github.com/devframes/devframe/issues/293
Sign in to commenthttps://github.com/login?return_to=https://github.com/devframes/devframe/issues/293
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.