Skip to content

Commit c047206

Browse files
committed
remove hidden flag
add agents + MCP changelog unhide br changelog fix indentation (of course) remove hidden: true
1 parent 8d6ada8 commit c047206

6 files changed

+67
-10
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
title: Build MCP servers with the Agents SDK
3+
description: The Agents SDK now includes built-in support for building remote MCP servers directly as part of your Agent.
4+
- agents
5+
- workers
6+
date: 2025-04-07T13:00:00Z
7+
---
8+
9+
import { Render, PackageManagers, TypeScriptExample } from "~/components";
10+
11+
The Agents SDK now includes built-in support for building remote MCP (Model Context Protocol) servers directly as part of your Agent. This allows you to easily create and manage MCP servers, without the need for additional infrastructure or configuration.
12+
13+
The SDK includes a new `MCPAgent` class that extends the `Agent` class and allows you to expose resources and tools over the MCP protocol, as well as authorization and authentication to enable remote MCP servers.
14+
15+
<TypeScriptExample>
16+
17+
```ts
18+
export class MyMCP extends McpAgent<Env> {
19+
server = new McpServer({
20+
name: "Demo",
21+
version: "1.0.0",
22+
});
23+
24+
async init() {
25+
this.server.resource(`counter`, `mcp://resource/counter`, (uri) => {
26+
// ...
27+
});
28+
29+
this.server.tool(
30+
"add",
31+
"Add two numbers together",
32+
{ a: z.number(), b: z.number() },
33+
async ({ a, b }) => {
34+
// ...
35+
},
36+
);
37+
}
38+
}
39+
```
40+
41+
</TypeScriptExample>
42+
43+
See [the example](https://github.com/cloudflare/agents/tree/main/examples/mcp) for the full code and as the basis for building your own MCP servers, and the [client example](https://github.com/cloudflare/agents/tree/main/examples/mcp-client) for how to build an Agent that acts as an MCP client.
44+
45+
To learn more, review the [announcement blog](https://blog.cloudflare.com/building-ai-agents-with-mcp-authn-authz-and-durable-objects) as part of Developer Week 2025.
46+
47+
### Agents SDK updates
48+
49+
We've made a number of improvements to the [Agents SDK](/agents/), including:
50+
51+
- Support for building MCP servers with the new `MCPAgent` class.
52+
- The ability to export the current agent, request and WebSocket connection context using `import { context } from "agents"`, allowing you to minimize or avoid direct dependency injection when calling tools.
53+
- Fixed a bug that prevented query parameters from being sent to the Agent server from the `useAgent` React hook.
54+
- Automatically converting the `agent` name in `useAgent` or `useAgentChat` to kebab-case to ensure it matches the naming convention expected by [`routeAgentRequest`](/agents/api-reference/calling-agents/#calling-your-agent).
55+
56+
To install or update the Agents SDK, run `npm i agents@latest` in an existing project, or explore the `agents-starter` project:
57+
58+
```sh
59+
npm create cloudflare@latest -- --template cloudflare/agents-starter
60+
```
61+
62+
See the full release notes and changelog [on the Agents SDK repository](https://github.com/cloudflare/agents/blob/main/packages/agents/CHANGELOG.md) and

src/content/changelog/autorag/2025-04-07-autorag-open-beta.mdx

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
title: Create fully-managed RAG pipelines for your AI applications with AutoRAG
33
description: AutoRAG lets you create fully-managed, retrieval-augmented generation (RAG) pipelines that continuously updates and scales on Cloudflare.
44
date: 2025-04-07T6:00:00Z
5-
hidden: true
65
---
76

87
[AutoRAG](/autorag) is now in open beta, making it easy for you to build fully-managed retrieval-augmented generation (RAG) pipelines without managing infrasturcture. Just upload your docs to [R2](/r2/get-started/), and AutoRAG handles the rest: embeddings, indexing, retrieval, and response generation via API.

src/content/changelog/browser-rendering/2025-04-07-br-free-ga-playwright.mdx

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
title: Browser Rendering REST API is Generally Available, with new endpoints and a free tier
2+
title: Browser Rendering REST API is Generally Available, with new endpoints and a free tier
33
description: Browser Rendering updates - free tier and REST API GA with new endpoints
44
products:
55
- browser-rendering
66
date: 2025-04-07T6:00:00Z
7-
hidden: true
87
---
98

109
We’re excited to announce Browser Rendering is now available on the [Workers Free plan](https://www.cloudflare.com/plans/developer-platform/), making it even easier to prototype and experiment with web search and headless browser use-cases when building applications on Workers.
@@ -27,7 +26,7 @@ curl -X 'POST' 'https://api.cloudflare.com/client/v4/accounts/<accountId>/browse
2726

2827
```
2928

30-
For the full list of endpoints, check out our [REST API documentation](/browser-rendering/rest-api/). You can also interact with Browser Rendering via the [Cloudflare TypeScript SDK](https://github.com/cloudflare/cloudflare-typescript).
29+
For the full list of endpoints, check out our [REST API documentation](/browser-rendering/rest-api/). You can also interact with Browser Rendering via the [Cloudflare TypeScript SDK](https://github.com/cloudflare/cloudflare-typescript).
3130

3231
We also recently landed support for [Playwright](/browser-rendering/platform/playwright/) in Browser Rendering for browser automation from Cloudflare [Workers](/workers/), in addition to [Puppeteer](/browser-rendering/platform/puppeteer/), giving you more flexibility to test across different browser environments.
3332

src/content/changelog/durable-objects/2025-04-07-durable-objects-free-tier.mdx

+3-4
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ title: Durable Objects on Workers Free plan
33
description: Durable Objects now available on Workers Free plan.
44
products:
55
- durable-objects
6-
- workers
6+
- workers
77
date: 2025-04-07T06:00:00Z
8-
hidden: true
98
---
109

11-
Durable Objects can now be used with zero commitment on the [Workers Free plan](/workers/platform/pricing/) allowing you to build AI agents with [Agents SDK](/agents/), collaboration tools, and real-time applications like chat or multiplayer games.
10+
Durable Objects can now be used with zero commitment on the [Workers Free plan](/workers/platform/pricing/) allowing you to build AI agents with [Agents SDK](/agents/), collaboration tools, and real-time applications like chat or multiplayer games.
1211

13-
Durable Objects let you build stateful, serverless applications with millions of tiny coordination instances that run your application code alongside (in the same thread!) your durable storage. Each Durable Object can access its own SQLite database through a [Storage API](/durable-objects/best-practices/access-durable-objects-storage/). A Durable Object class is defined in a Worker script encapsulating the Durable Object's behavior when accessed from a Worker. To try the code below, click the button:
12+
Durable Objects let you build stateful, serverless applications with millions of tiny coordination instances that run your application code alongside (in the same thread!) your durable storage. Each Durable Object can access its own SQLite database through a [Storage API](/durable-objects/best-practices/access-durable-objects-storage/). A Durable Object class is defined in a Worker script encapsulating the Durable Object's behavior when accessed from a Worker. To try the code below, click the button:
1413

1514
[![Deploy to Cloudflare](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/cloudflare/templates/tree/staging/hello-world-do-template)
1615

src/content/changelog/durable-objects/2025-04-07-sqlite-in-durable-objects-ga.mdx

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ products:
55
- durable-objects
66
- workers
77
date: 2025-04-07T06:00:00Z
8-
hidden: true
98
---
109

1110
SQLite in Durable Objects is now generally available (GA) with 10GB SQLite database per Durable Object. Since the [public beta](https://blog.cloudflare.com/sqlite-in-durable-objects/) in September 2024, we've added feature parity and robustness for the SQLite storage backend compared to the preexisting key-value (KV) storage backend for Durable Objects.

src/content/changelog/workflows/2025-04-07-workflows-ga.mdx

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ description: Workflows is now GA - ship Workflows that you can rely on in produc
44
- workflows
55
- workers
66
date: 2025-04-07T13:00:00Z
7-
hidden: true
87
---
98

109
import { Render, PackageManagers, TypeScriptExample } from "~/components"

0 commit comments

Comments
 (0)