---
title: Agents SDK v0.2.24 with resumable streaming, MCP improvements, and schedule fixes
description: This release adds resumable streaming over websockets, enhanced MCP client APIs with connection state observability, improved schedule reliability, and SSE transport enhancements.
image: https://developers.cloudflare.com/changelog-preview.png
---

> Documentation Index  
> Fetch the complete documentation index at: https://developers.cloudflare.com/changelog/llms.txt  
> Use this file to discover all available pages before exploring further. 

[Skip to content](#%5Ftop) 

# Changelog

New updates and improvements at Cloudflare.

[ Subscribe to RSS ](https://developers.cloudflare.com/changelog/rss/index.xml) [ View RSS feeds ](https://developers.cloudflare.com/fundamentals/new-features/available-rss-feeds/) 

![hero image](https://developers.cloudflare.com/_astro/hero.CVYJHPAd_26AMqX.svg) 

[ ← Back to all posts ](https://developers.cloudflare.com/changelog/) 

## Agents SDK v0.2.24 with resumable streaming, MCP improvements, and schedule fixes

Nov 26, 2025 

[ Agents ](https://developers.cloudflare.com/agents/)[ Workers ](https://developers.cloudflare.com/workers/) 

The latest release of [@cloudflare/agents ↗](https://github.com/cloudflare/agents) brings resumable streaming, significant MCP client improvements, and critical fixes for schedules and Durable Object lifecycle management.

#### Resumable streaming

`AIChatAgent` now supports resumable streaming, allowing clients to reconnect and continue receiving streamed responses without losing data. This is useful for:

* Long-running AI responses
* Users on unreliable networks
* Users switching between devices mid-conversation
* Background tasks where users navigate away and return
* Real-time collaboration where multiple clients need to stay in sync

Streams are maintained across page refreshes, broken connections, and syncing across open tabs and devices.

#### Other improvements

* Default JSON schema validator added to MCP client
* [Schedules ↗](https://developers.cloudflare.com/agents/runtime/execution/schedule-tasks/) can now safely destroy the agent

#### MCP client API improvements

The `MCPClientManager` API has been redesigned for better clarity and control:

* **New `registerServer()` method**: Register MCP servers without immediately connecting
* **New `connectToServer()` method**: Establish connections to registered servers
* **Improved reconnect logic**: `restoreConnectionsFromStorage()` now properly handles failed connections

TypeScript

```
// Register a server to Agentconst { id } = await this.mcp.registerServer({  name: "my-server",  url: "https://my-mcp-server.example.com",});
// Connect when readyawait this.mcp.connectToServer(id);
// Discover tools, prompts and resourcesawait this.mcp.discoverIfConnected(id);
```

The SDK now includes a formalized `MCPConnectionState` enum with states: `idle`, `connecting`, `authenticating`, `connected`, `discovering`, and `ready`.

#### Enhanced MCP discovery

MCP discovery fetches the available tools, prompts, and resources from an MCP server so your agent knows what capabilities are available. The `MCPClientConnection` class now includes a dedicated `discover()` method with improved reliability:

* Supports cancellation via AbortController
* Configurable timeout (default 15s)
* Discovery failures now throw errors immediately instead of silently continuing

#### Bug fixes

* Fixed a bug where [schedules ↗](https://developers.cloudflare.com/agents/runtime/execution/schedule-tasks/) meant to fire immediately with this.schedule(0, ...) or `this.schedule(new Date(), ...)` would not fire
* Fixed an issue where schedules that took longer than 30 seconds would occasionally time out
* Fixed SSE transport now properly forwards session IDs and request headers
* Fixed AI SDK stream events conversion to UIMessageStreamPart

#### Upgrade

To update to the latest version:

Terminal window

```
npm i agents@latest
```

```json
{"@context":"https://schema.org","@type":"BlogPosting","@id":"https://developers.cloudflare.com/changelog/post/2025-11-26-agents-resumable-streaming/#page","headline":"Agents SDK v0.2.24 with resumable streaming, MCP improvements, and schedule fixes · Changelog","description":"This release adds resumable streaming over websockets, enhanced MCP client APIs with connection state observability, improved schedule reliability, and SSE transport enhancements.","url":"https://developers.cloudflare.com/changelog/post/2025-11-26-agents-resumable-streaming/","inLanguage":"en","image":"https://developers.cloudflare.com/changelog-preview.png","dateModified":"2025-11-26","datePublished":"2025-11-26","publisher":{"@type":"Organization","name":"Cloudflare","url":"https://www.cloudflare.com/"},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
```
