# mcp-use v2 rebuilt from scratch for stateless 2026-07-28 MC…

Hi HN, Luigi here. We maintain mcp-use an open-source TypeScript framework for building MCP servers and MCP Apps: https://github.com/mcp-use/mcp-use MCP is now (finally) stateless so we rewrote mcp-use v2 from scratch for the 2026-07-28 MCP spec revision: https://blog.modelcontextprotocol.io/posts/…

- **Page:** https://magpie.gallery/i/mcp-use-v2-rebuilt-from-scratch-for-stateless-2026-2ucv
- **Type:** Link to an idea elsewhere
- **Category:** AI & dev
- **Tags:** mcp, typescript, framework, servers

## Source

Web · luigipederzani: mcp-use v2 rebuilt from scratch for stateless 2026-07-28 MCP spec

- **Original:** https://news.ycombinator.com/item?id=49198472

> Hi HN, Luigi here. We maintain mcp-use an open-source TypeScript framework for building MCP servers and MCP Apps: https://github.com/mcp-use/mcp-use MCP is now (finally) stateless so we rewrote mcp-use v2 from scratch for the 2026-07-28 MCP spec revision: https://blog.modelcontextprotocol.io/posts/2026-07-28/ Thanks to the rebuild: - Throughput: +27% → from 8,615 to 10,982 median ops/sec - Cold launch: 2.2x faster → from 151.6 ms to 68.1 ms - Clean install: 82% smaller → from 404.6 MiB to 74.4 MiB Benchmark with methodology here: https://github.com/mcp-use/mcp-use/blob/main/benchmark.md What changed in the spec: 1. No more sessions. The initialize/initialized exchange and the Mcp-Session-Id header are gone (SEP-2575, SEP-2567). Every request carries its own protocol version, client identity, and capabilities in _meta. Server discovery is an optional server/discover RPC instead of a mandatory round trip. 2. Multi round-trip requests replace server-initiated calls (SEP-2322). Now the server returns resultType: "input_required" with a requestState, and the client retries the original call with inputResponses. Mid-call user confirmations no longer need a live connection. 3. Header-based routing (SEP-2243). Mcp-Method and Mcp-Name are now required HTTP headers, so gateways, rate limiters, and WAFs can route and meter without parsing the JSON body. 4. Cacheable list results (SEP-2549). 5. Auth hardening: DCR still works but is deprecated in favor of CIMD and will be removed in a future spec revision. 6. Roots, sampling, and logging are deprecated with a 12mo window. 7. Legacy HTTP+SSE gets a one year offramp. Regarding mcp-use, we are focused on MCP apps for Claude connectors and ChatGPT plugins. MCP apps use an MCP extension called ext-apps, which allows tools to return UIs that render in chats. What we support: - Views have HMR, so they hot reload while you develop. - Standard Schema validators for tool and prompt I/O, so Zod, ArkType, Valibot all work. Or any validator

## GitHub projects

- https://github.com/mcp-use/mcp-use

## Rules for reuse

- Build your own version: don't copy another product's code, look, icons, colours or copy.
- The original belongs to its author; Magpie only links to it.
- The original content's copyright belongs to its creator. Magpie doesn't download or re-upload it; we only show the link and the official preview.
