Remote MCP Server on Cloudflare について
Cloudflare 向けのリモート MCP サーバーの例です。README にはアクセスリンクと Wrangler によるデプロイコマンドがありますが、ツールやデータ機能の説明はありません。
主な機能
- 01Cloudflare デプロイ例
- 02MCP 設定スニペット
活用シーン
- 01Wrangler によるサーバーデプロイの参照
- 02クライアントでの SSE サーバー URL 設定
MCP 対応
リモート MCP サーバーです。設定例では http://localhost:8787/sse を指定しています。
設定
リモートサーバーはインストール不要です。クライアントを選んで設定をコピーするか、ワンクリックで導入できます。
エンドポイント
http://localhost:8787/sseインストールコマンドをコピー
Claude CodeTerminal
claude mcp add --transport http tiny-ser http://localhost:8787/sseCursor.cursor/mcp.json
{"mcpServers":{"tiny-ser":{"type":"http","url":"http://localhost:8787/sse"}}}Cursor で開くVS Code.vscode/mcp.json
{"servers":{"tiny-ser":{"type":"http","url":"http://localhost:8787/sse"}}}VS Code で開くClaude Desktopclaude_desktop_config.json
{"mcpServers":{"tiny-ser":{"type":"http","url":"http://localhost:8787/sse"}}}Windsurf~/.codeium/windsurf/mcp_config.json
{"mcpServers":{"tiny-ser":{"serverUrl":"http://localhost:8787/sse"}}}コマンドはターミナルで実行し、JSON は各クライアントの MCP 設定に貼り付けて再起動します。認可が必要なサーバーは初回接続時にログインを求めます。
ツール
詳細
Cloudflare 上的リモート MCP サーバー

このリンクからアクセスできます:https://note.linkof.link/13a9p7.html
mcp.json
{
"mcpServers": {
"tiny-server": {
"url": "http://localhost:8787/sse"
}
}
}
Cloudflare にデプロイする
tiny-ser-mcp-server 🍣 master via v20.17.0 🐏 26GiB/32GiB | 16GiB/19GiB took 12s
🕙 17:50:29 ➜ npm run deploy
> [email protected] deploy
> wrangler deploy
⛅️ wrangler 4.6.0
------------------
🌀 Building list of assets...
🌀 Starting asset upload...
No files to upload. Proceeding with deployment...
Total Upload: 432.56 KiB / gzip: 83.32 KiB
Your worker has access to the following bindings:
- Durable Objects:
- MCP_OBJECT: MyMCP
- Assets:
- Binding: ASSETS
✘ [ERROR] A request to the Cloudflare API (/accounts/xxx/workers/scripts/tiny-ser-mcp-server) failed.
In order to use Durable Objects, you must switch to a paid plan at
https://dash.cloudflare.com/xxx/workers/plans. [code: 10084]
If you think this is a bug, please open an issue at:
https://github.com/cloudflare/workers-sdk/issues/new/choose
コメント
Markdown 対応
AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。