Transport
The Model Context Protocol (MCP) specification defines two standard transport mechanisms ↗:
- stdio, communication over standard in and standard out — designed for local MCP connections
 - HTTP with Server-Sent Events (SSE) — designed for remote MCP connections
 
MCP Servers deployed to Cloudflare support remote MCP connections, using HTTP with Server-Sent Events (SSE) as transport. SSE requires a persistent HTTP connection, which is supported by Cloudflare Durable Objects and the Agents SDK. Transport is configured and handled automatically by the McpAgent class ↗. You don't need to configure anything — it just works.
Was this helpful?
- Resources
 - API
 - New to Cloudflare?
 - Products
 - Sponsorships
 - Open Source
 
- Support
 - Help Center
 - System Status
 - Compliance
 - GDPR
 
- Company
 - cloudflare.com
 - Our team
 - Careers
 
- 2025 Cloudflare, Inc.
 - Privacy Policy
 - Terms of Use
 - Report Security Issues
 - Trademark