How to Build an MCP Server in TypeScript with SDK v2 and the Stateless 2026-07-28 Spec
The MCP 2026-07-28 revision dropped sessions and the initialize handshake, and the TypeScript SDK moved to a new v2 line. A step-by-step guide to building, serving and testing a small MCP server with the current packages, plus what to change when migrating from v1.