Cloudflare Agents SDK
SDK for stateful AI agents on Cloudflare with persistent state, real-time WebSockets, scheduled tasks and remote MCP servers.
Tags
Agent access
Related
- Model Context Protocol (MCP): Open protocol that standardizes how AI applications connect to external tools, data sources and prompts via MCP servers.
- Cloudflare Sandboxes: Execute untrusted or generated code on Cloudflare in Linux VMs (Containers) or isolated Dynamic Workers, via the Sandbox SDK.
Guides & comparisons
- Connect an agent to a remote MCP server (Guide): How remote MCP works over Streamable HTTP in the 2026-07-28 spec, how OAuth sign-in is discovered, and copy-paste configs for Claude Code, Codex, Cursor, Gemini CLI, VS Code and Claude connectors.
Sources
- https://github.com/cloudflare/agents
- https://developers.cloudflare.com/agents/
- https://developers.cloudflare.com/agents/model-context-protocol/
Machine-readable
- JSON
- Markdown
- Source file on GitHub (edit via pull request)