You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
12
@@ -16,25 +16,25 @@ The SDK includes a new `MCPAgent` class that extends the `Agent` class and allow
@@ -48,15 +48,15 @@ To learn more, review the [announcement blog](https://blog.cloudflare.com/buildi
48
48
49
49
We've made a number of improvements to the [Agents SDK](/agents/), including:
50
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).
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
55
56
56
To install or update the Agents SDK, run `npm i agents@latest` in an existing project, or explore the `agents-starter` project:
See the full release notes and changelog [on the Agents SDK repository](https://github.com/cloudflare/agents/blob/main/packages/agents/CHANGELOG.md) and
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
0 commit comments