
cf mcp durable object
MCP over Websockets on Cloudflare Durable Objects
Repository Info
About This Server
MCP over Websockets on Cloudflare Durable Objects
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
MCP over Websockets on Cloudflare Durable Objects
This is a proof of concept Model Context Protocol (MCP) server running on a Cloudflare Durable Object.
The agent connects to the DO Server via a proxy using the JSON stdio transport, which is then forwarded to the DO Server via Websockets.
Agent <-stdio-> Proxy <-ws-> DO Server
Usage
- Deploy to CloudFlare with
npm run deploy. - Run the proxy server with
npx tsx src/client.ts wss://my-durable-object.foo.workers.dev. - Use mcp inspector to test the server
npx -y @modelcontextprotocol/inspector npx -y tsx src/client.ts wss://...
Quick Start
Clone the repository
git clone https://github.com/gingerhendrix/cf-mcp-durable-objectInstall dependencies
cd cf-mcp-durable-object
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.