Cloudflare Remote MCP Server
@endou-mame
关于 Cloudflare Remote MCP Server
暂无概览
基本信息
配置
工具
3Echo back input text
Get current timestamp
Generate random number between min and max
概览
What is Cloudflare Remote MCP Server?
A Model Context Protocol (MCP) server implementation that runs on Cloudflare Workers with Durable Objects. It provides a remote, HTTP-accessible MCP endpoint using Streamable transport, enabling AI clients to call tools, access resources, and use prompts over the internet.
How to use Cloudflare Remote MCP Server?
Install dependencies with npm install, then deploy to Cloudflare with npm run deploy. Connect any MCP client (e.g., Claude) to the deployed /mcp endpoint via HTTP POST. Test locally using npm run dev and curl commands.
Key features of Cloudflare Remote MCP Server
- Remote MCP server via HTTP Streamable transport
- Stateful request processing with Durable Objects
- Sample tools: echo, get_time, random_number
- Sample resources: worker-info and sample-data
- Sample prompts: explain_code and debug_help
- CORS support for web client compatibility
Use cases of Cloudflare Remote MCP Server
- Connect AI assistants to remote cloud-hosted tools and resources
- Test and debug MCP protocol interactions without local infrastructure
- Demonstrate MCP capabilities with pre-built prompts and resources
- Integrate MCP into serverless, edge‑based applications
FAQ from Cloudflare Remote MCP Server
What transport protocol does it use?
It uses HTTP Streamable transport with Server-Sent Events (SSE), not WebSocket. This ensures compatibility with proxies, firewalls, and stateless cloud environments.
How do I deploy the server?
Run npm install then npm run deploy. The server is configured via wrangler.jsonc and automatically deploys to Cloudflare Workers.
How can I test the server locally?
Start local development with npm run dev, then use curl to send JSON‑RPC messages to http://localhost:8787/mcp, for example {"jsonrpc":"2.0","id":1,"method":"tools/list"}.
What dependencies does it require?
It uses the @modelcontextprotocol/sdk for MCP protocol implementation and TypeScript with strict mode. Runtime requires Cloudflare Workers and Durable Objects.
Where does data live?
All state is managed inside Cloudflare Durable Objects (the MCPServerObject) within the Worker runtime. No external database is used.
云与基础设施 分类下的更多 MCP 服务器
Azure DevOps MCP Server
Tiberriver256An MCP server for Azure DevOps
Sample Serverless MCP Servers
aws-samplesSample implementations of AI Agents and MCP Servers running on AWS Serverless compute
tfmcp: Terraform Model Context Protocol Tool
nwiizo🌍 Terraform Model Context Protocol (MCP) Tool - An experimental CLI tool that enables AI assistants to manage and operate Terraform environments. Supports reading Terraform configurations, analyzing plans, applying configurations, and managing state with Claude Desktop integrati
AWS MCP Servers
awslabsOpen source MCP Servers for AWS

Aws Kb Retrieval Server
modelcontextprotocolModel Context Protocol Servers
评论