All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Security
Security
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

Agents, Workers - Agents SDK v0.6.0: RPC transport for MCP, optional OAuth, hardened schema conversion, and @cloudflare/ai-chat fixes

4mo ago

Source

CloudflareAgents, Workers - Agents SDK v0.6.0: RPC transport for MCP, optional OAuth, hardened schema conversion, and @cloudflare/ai-chat fixescloudflare.com
Snippet from the RSS feed
The latest release of the Agents SDK lets you define an Agent and an McpAgent in the same Worker and connect them over RPC — no HTTP, no network overhead. It also makes OAuth opt-in for simple MCP connections, hardens the schema converter for production workloads, and ships a batch of @cloudflare/ai-chat reliability fixes. RPC transport for MCP You can now connect an Agent to an McpAgent in the same Worker using a Durable Object binding instead of an HTTP URL. The connection stays entirely within the Cloudflare runtime — no network round-trips, no serialization overhead. Pass the Durable Object namespace directly to addMcpServer : JavaScript import { Agent } from "agents" ; export class MyAgent extends Agent { async onStart () { // Connect via DO binding — no HTTP, no network overhead await this . addMcpServer ( "counter" , env . MY_MCP ) ; // With props for per-user context await this . addMcpServer ( "counter" , env . MY_MCP , { props : { userId : "user-123" , role : "admin" }, } ) ; } } TypeScript import { Agent } from "agents" ; export class MyAgent extends Agent { async onStart () { // Connect via DO binding — no HTTP, no network overhead await this . addMcpServer ( "counter" , env . MY_MCP ) ; // With props for per-user context await this . addMcpServer ( "counter" , env . MY_MCP , { props : { userId : "user-123" , role : "admin" }, } ) ; } } The addMcpServer method now accepts string

You might also wanna read

API To MCP: A platform that converts business APIs into AI-agent-ready MCP servers

API To MCP is a tool that converts REST, GraphQL, SaaS, and internal business APIs into hosted MCP (Model Context Protocol) servers, enablin

Product Hunt·26d ago

UTCP Agent: Lightweight Tool-Calling Protocol for AI Agents

UTCP Agent is a lightweight alternative to MCP (Model Context Protocol) that enables AI agents to call tools directly with minimal code. The

Product Hunt·10mo ago

Building Three Production-Ready MCP Servers for AI Agent Tool Integration

The article introduces the Model Context Protocol (MCP) as an open standard that unifies how AI agents connect to external tools and data so

dev.to·6d ago

Executor: An MCP gateway that unifies AI agent-to-tool connections

Executor is an MCP (Model Context Protocol) gateway that acts as a unified endpoint for connecting AI agents (like Claude Code, Cursor, and

executor.sh·11d ago

Executor: An MCP gateway that unifies AI agent-to-tool connections

Executor is an MCP (Model Context Protocol) gateway that acts as a unified endpoint for connecting AI agents (like Claude Code, Cursor, and

executor.sh·11d ago

Open-Source SDK 'mcp-use' for Building AI Agents with MCP Servers

The article introduces 'mcp-use,' an open-source SDK and cloud infrastructure designed to help development teams build and deploy custom AI

Product Hunt·11mo ago

AWS launches Web Search on Bedrock AgentCore for grounded AI agent responses with zero data egress

AWS announced the general availability of Web Search on Amazon Bedrock AgentCore, a fully managed tool that enables AI agents to ground thei

aws.amazon.com·17d ago

Comments

Sign in to join the conversation.

No comments yet. Be the first.