frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: mcp-use v2 rebuilt from scratch for stateless 2026-07-28 MCP spec

https://manufact.com/blog/mcp-use-v2
9•luigipederzani•55m ago
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 library backed by standard schemas.

- Drop-in OAuth integrations for Auth0, Clerk, WorkOS, Better Auth, Supabase, and Keycloak.

- Server composition (proxy and mount other MCP servers).

- OpenAPI import and expose your APIs as an MCP server.

The HTTP layer is Hono so it mounts inside an existing app, so you can have edge deployments.

If your product is in Next.js, we’ve seen a lot of developers who want to get rid of the (basically unmaintained) mcp-handler.

So we have a drop-in integration for Next.js: wrap `next.config.ts` in `withMcpUse` for view compilation then `export const { GET, POST, DELETE, OPTIONS } = createNextHandler(server)` from a catch-all route.

For DX:

- MCP inspector built-in: `mcp-use dev` runs it at `/mcp/inspector` with hot-reload. We also have a hosted version: https://inspector.manufact.com/inspector

- mcp-use CLI has a cool headless feature to debug MCP servers and the UI parts from coding agents including visual feedbacks: `mcp-use client <name> screenshot --tool <tool>` renders the View headlessly through Chrome. An agent can call a tool, read the failure, then screenshot the UI it just generated and look at what it built.

Unfortunately we could not avoid some breaking changes.

The good news is 90% of MCP servers built with v2 are compatible with both versions of the MCP spec. Clients negotiate the version automatically, probing with server/discover and falling back to old initialization for legacy servers. Interested in what people running MCP servers think about the stateless move, especially anyone who built their own session layer and now gets to delete it.

Blog post with the details: https://manufact.com/blog/mcp-use-v2

If you want to play with mcp-use v2, it just went out of beta: https://github.com/mcp-use/mcp-use

We’d love to hear what you think of it and how we can improve it!

We are happy to answer any questions and look forward to your comments.

Comments

swiftlyTyped•48m ago
Great article

The Holy Roman Empire was dissolved 220 years ago today

https://en.wikipedia.org/wiki/Dissolution_of_the_Holy_Roman_Empire
1•theanonymousone•2m ago•0 comments

Wyden proposes new taxes on data centers

https://www.politico.com/live-updates/2026/08/06/congress/wyden-proposes-new-taxes-on-data-center...
1•mapping365•2m ago•0 comments

The third wave of American philanthropy

https://nanransohoff.substack.com/p/the-third-wave-of-american-philanthropy
1•herbertl•3m ago•0 comments

Agent Plugins Specification

https://agent-plugins.org/specification
1•Garbage•3m ago•0 comments

ZZ Top Cancel Hollywood Bowl Concert Due to 'Insurmountable Obstacles'

https://www.rollingstone.com/music/music-news/zz-top-cancel-hollywood-bowl-concert-cheap-trick-tr...
1•bookofjoe•4m ago•0 comments

What fs-verity proves–and what it does not

https://bomfather.dev/blog/fs-verity-proves/
3•snaveen•4m ago•0 comments

Renderfy – Stateless API That Turns Tailwind/HTML/Markdown into PNG/PDF

https://renderfy.io
1•coldstart_nomad•4m ago•0 comments

Show HN: Reduck GEO, open source Skill to measure and optimize Claude citations

https://github.com/reduck-ai/agents/tree/main
1•DanyWin•4m ago•0 comments

What Happened to Talenti?

https://www.nytimes.com/wirecutter/reviews/talenti-investigation/
1•tysone•5m ago•0 comments

US Senate panel votes to hold Fauci in contempt of Congress over Covid hearing

https://www.theguardian.com/us-news/2026/aug/06/fauci-senate-contempt-vote-covid
1•wslh•5m ago•0 comments

The German Mittelstand – What I learned from factories across Germany

https://kieranvelasquez.substack.com/p/on-the-german-mittelstand
1•sebg•5m ago•0 comments

I'm Building a Software Factory That Turns My Issues into Merged Code

https://fatihkoc.net/posts/software-factory-side-projects/
1•fatihkocnet•7m ago•0 comments

Belfry – a TV episode tracker built around reminders, not logging

https://belfry.tv
1•Sedude•8m ago•0 comments

Show HN: Mnemosyne – Export AI chat to carry context from one tool into another

https://github.com/TheJoin95/mnemosyne/blob/main/README.md
1•thejoin95•9m ago•0 comments

GitHub Is Experiencing Difficulties

https://www.githubstatus.com/?d=2026/08/06
5•Jeaye•12m ago•0 comments

How Did Rogue Generate Its Random Dungeons?

https://howtomakeanrpg.com/r/a/rogue-dungeon-generation.html
1•danschuller•12m ago•0 comments

California Town Says Flock Cameras Misread License Plates 71% of the Time

https://www.techdirt.com/2026/08/06/california-town-says-flock-cameras-misread-license-plates-71-...
1•hn_acker•12m ago•0 comments

List of Trading Losses

https://en.wikipedia.org/wiki/List_of_trading_losses
1•_vaporwave_•13m ago•0 comments

Dress made of living mycelium can renew and repair itself

https://www.dezeen.com/2026/08/05/dress-living-mycelium-renew-repair/
1•speckx•15m ago•0 comments

API Is Not Your MCP Tool

https://ro14nd.de/mcp-tool-design-patterns/
2•DataOverload•17m ago•0 comments

Massachusetts prosecutors run their offices on software from the dial-up era

https://nasser.blog/dial-up-justice/
1•aragonite•18m ago•0 comments

Agent Plugins

https://twitter.com/OpenAIDevs/status/2085398373511918022
2•tosh•19m ago•1 comments

What's My Local AI?

https://whatsmylocal.ai/
3•chrismatic•20m ago•0 comments

JWT decoder with connect-src 'none', so it can't upload your token

https://jwt.jamuny.com/
2•pop3zxcv•24m ago•1 comments

Introducing: Cloudflare Agents

https://blog.cloudflare.com/agents-on-cloudflare/
3•zuckerborg0101•25m ago•0 comments

Export AI chat sessions to carry context from one tool into another

https://github.com/TheJoin95/mnemosyne
1•thejoin95•26m ago•0 comments

Open Questions on Open Weights

https://www.astralcodexten.com/p/open-questions-on-open-weights
1•reducesuffering•26m ago•0 comments

Microsoft filings suggest "around 70%" of its AI revenue is on OpenAI

https://www.windowscentral.com/artificial-intelligence/microsoft-filings-suggest-around-70-percen...
33•speckx•27m ago•7 comments

The Question Concerning Technology – Martin Heidegger (Wikipedia)

https://en.wikipedia.org/wiki/The_Question_Concerning_Technology
2•jonash54•28m ago•0 comments

Five Indie Platforms You Might Not Have Heard Of

https://brennan.day/five-interesting-indie-platforms-you-might-not-have-heard-of/
3•nate•29m ago•2 comments