# Protocol revision

Canonical URL: https://developers.iagenify.com/sdk/mcp/protocol-revision/
Language: en

Five revisions are spoken, newest first. The newest both sides know is the one used — and announcing one you do not speak is worse than announcing an old one.

Status: 5 revisions · newest in common · stateless core

```javascript
import { MCP_PROTOCOL_VERSION } from "iagenify";

MCP_PROTOCOL_VERSION;   // "2026-07-28" — the one this client prefers
```

## The order {#list}

`2026-07-28`, `2025-11-25`, `2025-06-18`, `2025-03-26`, `2024-11-05`. The handshake announces them and settles on the newest the server also knows; with none in common it raises `mcp_protocol_unsupported` instead of guessing.

## Why the list is the real list {#honest}

> **A claim you cannot back is caught by the good servers and hidden by the rest**
>
> A server implementing the newest revision properly refuses a handshake that claims it and omits what it requires. An older one answers with its own revision instead, which looks like success. The second case is the dangerous one, because nothing says anything is wrong.

## The modern core is stateless {#stateless}

That is why there is nothing to hold open and nothing to resume: a call is a request and a response. A process that restarts loses no connection, which matters when the thing carrying the package is a server that redeploys.

## Reading what was agreed {#reading}

```javascript
const servers = await api.mcp.list();
servers.map((s) => `${s.name}: ${s.protocolVersion}`);

// Re-negotiate and record it again
await api.mcp.get("example", { refresh: true });
```

## The one fallback {#fallback}

A modern server that refuses the modern discovery is retried once with the older handshake — and only on a protocol-level refusal. A 401, a redirect, a silence or a timeout already name what to fix.

- [initialize()](/sdk/ref/mcp-client/initialize): The handshake.
- [Errors](/sdk/mcp/errors): Including the version refusal.

```python
from iagenify import MCP_PROTOCOL_VERSION

MCP_PROTOCOL_VERSION   # "2026-07-28" — the one this client prefers
```

```python
servers = api.mcp.list()
[f"{s['name']}: {s['protocolVersion']}" for s in servers]

# Re-negotiate and record it again
api.mcp.get("example", refresh=True)
```
