Durable Objects
Enables the use of Model Context Protocol (MCP) servers with Cloudflare Durable Objects, utilizing a Server-Sent Events (SSE) transport layer.
概要
This tool provides the necessary components to run an MCP server as a Cloudflare Durable Object. It includes an SSE transport layer adapted for Cloudflare Workers, overcoming limitations in the standard `@modelcontextprotocol/typescript-sdk`. By mirroring the existing SSE transport, it enables seamless integration of MCP servers within the Durable Objects environment, extending the reach and capabilities of MCP implementations.
主な機能
- Includes example for end-to-end testing
- 1 GitHub stars
- SSE transport layer compatible with Cloudflare Workers
- MCP server implementation as a Durable Object
- Mirrors the `@modelcontextprotocol/typescript-sdk` SSE transport
- Addresses compatibility issues between the SDK and Durable Objects
ユースケース
- Running MCP servers in a serverless environment
- Integrating MCP with Cloudflare Durable Objects
- Developing scalable and distributed MCP applications