MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@ChrisTowles

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

ChrisTowles

Building a Remote MCP Server on Cloudflare について

概要はまだありません

Building a Remote MCP Server on Cloudflare の設定

標準の設定はありません

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

リポジトリ

Building a Remote MCP Server on Cloudflare のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Building a Remote MCP Server on Cloudflare (Without Auth)?

Building a Remote MCP Server on Cloudflare (Without Auth) is an example repository for deploying a remote MCP server on Cloudflare Workers without requiring authentication. It is intended for developers who want to quickly set up a server that exposes tools via the Model Context Protocol (MCP) and connect it to clients like the Cloudflare AI Playground or Claude Desktop.

How to use Building a Remote MCP Server on Cloudflare (Without Auth)?

Deploy the server using the provided "Deploy to Workers" button or by running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools by editing the init() method in src/index.ts using this.server.tool(...). The server listens for SSE connections at the deployed URL.

Key features of Building a Remote MCP Server on Cloudflare (Without Auth)

  • Deploy without authentication on Cloudflare Workers.
  • Add custom tools via the server's this.server.tool(...).
  • Connect to Cloudflare AI Playground (remote client).
  • Connect to Claude Desktop using mcp-remote proxy.
  • Use SSE transport for remote MCP connections.

Use cases of Building a Remote MCP Server on Cloudflare (Without Auth)

  • Prototype an MCP tool that performs calculations and test it in the Cloudflare AI Playground.
  • Provide a remote calculator tool to Claude Desktop for quick access.
  • Deploy a server with custom data retrieval tools for use with any MCP client supporting SSE.

よくある質問

1

What dependencies are required?

The server runs on Cloudflare Workers and can be deployed via the provided button or `npm create cloudflare`. No additional runtime dependencies beyond the Workers platform are needed.

2

Does this server support authentication?

No, this example is explicitly built without authentication. It is intended for development or internal use where authentication is not required.

3

Where does the server data live?

The server is stateless and runs on Cloudflare Workers. Tools defined in `src/index.ts` can access external data, but the server itself does not store data.

4

What transport protocol does it use?

The server uses SSE (Server-Sent Events) at the `/sse` endpoint.

5

How do I connect local MCP clients?

Local clients like Claude Desktop can connect using the `mcp-remote` proxy, which relays SSE to a local MCP client.

コメント

「開発者ツール」の他のコンテンツ