MCP.so
ログイン

Cloudflare Remote MCP Server

@endou-mame

Cloudflare Remote MCP Server について

概要はまだありません

基本情報

カテゴリ

クラウドとインフラ

ランタイム

node

トランスポート

stdio

公開者

endou-mame

設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

ツール

3

Echo 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.

コメント

「クラウドとインフラ」の他のコンテンツ