# Pi v1.8.0 adds support for the stateless MCP 2026-07-28 revision

> Pi can now use the stateless 2026-07-28 revision of the Model Context Protocol, including with servers that reject the initialize step.

- Status: official (From the company, authors or authority themselves, with a link to their own page.)
- Topic: Products
- Published: 2026-12-03T12:41:14+00:00
- Updated: 2026-12-03T13:10:05.269598+00:00
- Web page: https://ai-news.ikangai.com/story/pi-v1-8-0-adds-support-for-the-stateless-mcp-2026-07-28-revision/
- Seen in: Pi releases
- Change: capability (New capability)
- Applies to: Pi v1.8.0, mcp.json

## What changed

Pi v1.8.0 adds a fallback to the stateless Model Context Protocol 2026-07-28 revision for servers that reject initialize, and users can set "protocol": "2026-07-28" in mcp.json for servers that speak both revisions.

Pi v1.8.0, released December 3, adds support for the stateless 2026-07-28 revision of the Model Context Protocol. That revision drops the initialize handshake used by earlier versions. The change is a fallback rather than a switch. Pi still opens every connection with initialize, which the MCP docs say earlier-revision servers expect, so existing servers keep working as before. Only when a server rejects initialize does Pi send server/discover and speak 2026-07-28 to it instead.

The fallback has several moving parts. For a server that rejected initialize, Pi follows tool list changes on a subscriptions/listen stream and reopens that stream when it ends, so tools added or withdrawn by the server are tracked as they change. A stdio server that exits after rejecting initialize, or that refuses server/discover on the same process, is launched once more with the new revision. With 2026-07-28 servers, Pi answers their requests for workspace roots but fails any tool call that asks for elicitation or sampling. The docs say Pi does not support either one.

Servers that speak both revisions are handled differently. According to the mcp.md docs at v1.8.0, Pi doesn't ask them whether they also speak 2026-07-28. Older servers break on any request they don't recognize, and Python servers before mcp 1.9.4 stop answering. Instead, a user who wants the stateless revision with such a server sets "protocol": "2026-07-28" in mcp.json, where the default is "auto".

The release also publishes a JSON schema for mcp.json. Adding "$schema": "https://pi.dev/schemas/mcp.schema.json" lets editors validate the file and offer completion. The docs give the reason: Pi keeps unknown fields at load time, so a mistyped field name changes behavior silently, and the schema is what flags it in the editor. The release notes credit the stateless MCP support to work based on #12479 by @dmmulroy.

## Why it matters

Companies running MCP servers in agent tools will be able to adopt the stateless revision in Pi without changing servers that still need initialize.

## What you can do

Teams running MCP servers that reject initialize can test the 2026-07-28 setting in mcp.json before relying on it in production.

## Original source

- [Release v1.8.0 · earendil-works/pi · GitHub](https://github.com/earendil-works/pi/releases/tag/v1.8.0)
- [pi/packages/coding-agent/docs/mcp.md at v1.8.0 · earendil-works/pi · GitHub](https://github.com/earendil-works/pi/blob/v1.8.0/packages/coding-agent/docs/mcp.md)

---

AI wrote this summary from the sources listed, and nobody reviewed it individually before publication. Check the original source before you rely on it.

Cite as: IKANGAI AI News, "Pi v1.8.0 adds support for the stateless MCP 2026-07-28 revision", 2026-12-03, https://ai-news.ikangai.com/story/pi-v1-8-0-adds-support-for-the-stateless-mcp-2026-07-28-revision/
