<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/build-and-deploy-remote-model-context-protocol-mcp-servers-to-cloudflare-l2dj7nex3" -->

---
title: Build and Deploy Remote Model Context Protocol (MCP)...
description: Recent updates to the Model Context Protocol (MCP) enable its deployment on Cloudflare, enhancing AI interoperability, security, and capability. Key features...
canonical: https://daily.dev/posts/build-and-deploy-remote-model-context-protocol-mcp-servers-to-cloudflare-l2dj7nex3
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Build and Deploy Remote Model Context Protocol (MCP) Servers to Cloudflare | daily.dev
og:description: Recent updates to the Model Context Protocol (MCP) enable its deployment on Cloudflare, enhancing AI interoperability, security, and capability. Key features...
og:url: https://daily.dev/posts/build-and-deploy-remote-model-context-protocol-mcp-servers-to-cloudflare-l2dj7nex3
og:image: https://api.daily.dev/og/posts/l2dj7nEX3.png
og:image:alt: Build and Deploy Remote Model Context Protocol (MCP) Servers to Cloudflare
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Build and Deploy Remote Model Context Protocol (MCP) Servers to Cloudflare

**[Collections](https://daily.dev/sources/collections)** · 2 min read · 1 upvotes · 0 comments

## Summary

Recent updates to the Model Context Protocol (MCP) enable its deployment on Cloudflare, enhancing AI interoperability, security, and capability. Key features include OAuth authorization, remote transport handling via the McpAgent class, and usage of Cloudflare Workers for persistent connections. Updates also introduce OAuth 2.1 authentication, streamable HTTP transport, and enhanced batching and tool integrations. Leading companies like Microsoft are adopting MCP, highlighting its growing industry support.

## Content

# Enhancing AI with Cloud-Based Model Context Protocol: Deployments and Updates

## Introduction
The Model Context Protocol (MCP) has recently undergone significant updates and can now be deployed on Cloudflare, opening up new possibilities for AI applications. These advancements streamline interactions between AI agents and enhance their interoperability, security, and capability.

## Cloud-Based Deployments
Cloudflare now supports the deployment of remote MCP servers accessible over the Internet. This shift from local MCP servers to cloud-based solutions broadens access for developers and consumers. Key features of this deployment include:

- **OAuth Authorization:** Simplifies authorization processes through OAuth, enhancing security.
- **Remote Transport Handling:** Leveraging the McpAgent class to manage remote transports effectively.
- **Cloudflare Workers:** Ensures persistent and secure connections, facilitating robust communication channels for AI applications.

This transition to the cloud allows AI agents to interact more seamlessly across diverse environments, fostering wider application and interaction.

## Exciting Updates to MCP
The recent updates to MCP mark a significant advancement in AI agent technology. Some of the crucial improvements include:

- **OAuth 2.1-based Authorization:** Enhances the security framework and simplifies the authentication processes.
- **Streamable HTTP Transport:** Improves the efficiency and speed of data transport, providing real-time data streaming capabilities.
- **JSON-RPC Batching and Tool Annotations:** Facilitates batch processing and better tool integration, enhancing the operational capacity of AI agents.

## Industry Support and Adoption
A common protocol for AI agents, MCP, is rapidly gaining support from leading tech companies such as Microsoft, Anthropic, and LangChain. Microsoft's introduction of Playwright-MCP allows AI agents like Claude to interact with web environments more effectively. This standardization effort, much like USB-C for peripherals, aims to unify AI-agent interactions and provides a more coherent framework.

## Optimizing Performance with MCP
The Agents SDK enhances the usability of MCP servers by facilitating local and remote connections robustly. The support for both stdio and HTTP over SSE servers ensures flexible communication options. Additionally, incorporating caching tools for managing MCP operations can significantly improve performance, making AI systems more efficient and responsive.

## Conclusion
The deployment of MCP servers on Cloudflare, coupled with the recent updates, signals a new era for AI application development. These advancements highlight the importance of standardized protocols and cloud-based solutions in fostering innovative and secure AI interactions.

---

Tags: [#ai](https://daily.dev/tags/ai), [#authentication](https://daily.dev/tags/authentication), [#cloudflare](https://daily.dev/tags/cloudflare)

[View this post on daily.dev](https://daily.dev/posts/build-and-deploy-remote-model-context-protocol-mcp-servers-to-cloudflare-l2dj7nex3)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Build and Deploy Remote Model Context Protocol (MCP) Servers to Cloudflare","url":"https://daily.dev/posts/build-and-deploy-remote-model-context-protocol-mcp-servers-to-cloudflare-l2dj7nex3","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/build-and-deploy-remote-model-context-protocol-mcp-servers-to-cloudflare-l2dj7nex3"},"datePublished":"2025-03-26T19:58:35.928Z","dateModified":"2025-03-27T01:57:16.573Z","description":"Recent updates to the Model Context Protocol (MCP) enable its deployment on Cloudflare, enhancing AI interoperability, security, and capability. Key features...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6eb5b47e4b8175935f814f29750dee47?_a=AQAEuj9","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/6eb5b47e4b8175935f814f29750dee47?_a=AQAEuj9","isAccessibleForFree":true,"articleSection":"Collections","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Collections","logo":"https://media.daily.dev/image/upload/s--fk_6ycEi--/f_auto,q_auto/v1780996001/logos/collections?_a=BAMAMiWQ0","url":"https://daily.dev/sources/collections"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/build-and-deploy-remote-model-context-protocol-mcp-servers-to-cloudflare-l2dj7nex3","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ai,authentication,cloudflare","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Collections","item":"https://daily.dev/sources/collections"},{"@type":"ListItem","position":3,"name":"Build and Deploy Remote Model Context Protocol (MCP) Servers to Cloudflare"}]}
```

