AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

agents-sdk

Build, debug, or review Cloudflare Agents SDK applications using the agents package.

Original source
cloudflare
License
Apache-2.0
Pinned revision
e44f580f9c4fa3bf268e284ae7706c7954ba31fd

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

Ask your assistant

Use Agentic Memory skills to read cloudflare--agents-sdk at revision e44f580f9c4fa3bf268e284ae7706c7954ba31fd, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 21

references/mcp.md

MCP Integration

For new servers, prefer createMcpHandler over the deprecated McpAgent. For existing servers, check the installed SDK version and state/session requirements before choosing a migration path.

Read the relevant current documentation for implementation details and supported dependency versions:

| Task | Documentation | |------|---------------| | Build a server | Handler API — server factories, Worker entrypoint, dependencies, and examples | | Migrate an existing server | MCP SDK v2 migration — stateless migration and temporary legacy paths | | Connect to servers and use their tools | Client API — connections, OAuth, tools, resources, and retries | | Choose a transport | Transports — remote HTTP and existing RPC integrations | | Secure a server | Securing MCP servers — OAuth and proxy security |