Dev.to
7/30/2026

MCP Went Stateless: Migrating to the 2026-07-28 Spec (and Proving It Works)
Short summary
The 2026-07-28 MCP spec eliminates sessions entirely — every request is self-contained with version info in _meta headers. TypeScript ships two new packages alongside the legacy SDK, and a codemod handles mechanical migration. The author identifies a critical security bug: unsigned requestState blobs that round-trip through clients become attacker-controlled input.
- •MCP 2026-07-28 spec removes sessions; every request is stateless and self-contained
- •TypeScript v2 packages ship alongside legacy SDK with a codemod for migration
- •New security risk: unsigned requestState blobs are attacker-controlled input
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



