MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@momput

Building a Remote MCP Server on Cloudflare (Without Auth) について

概要はまだありません

基本情報

カテゴリ

開発者ツール

ランタイム

node

トランスポート

stdio

公開者

momput

設定

標準の設定はありません

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

リポジトリ

ツール

ツールは検出されませんでした

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

概要

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

This example allows you to deploy a remote MCP (Model Context Protocol) server that requires no authentication on Cloudflare Workers. It is intended for developers who want to quickly spin up a remote MCP server for testing, prototyping, or connecting to MCP clients like the Cloudflare AI Playground or Claude Desktop.

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

Deploy using the “Deploy to Workers” button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. After deployment, customize the server by adding tools inside the init() method of src/index.ts using this.server.tool(...). The server URL will be remote-mcp-server-authless.<your-account>.workers.dev/sse.

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

  • No authentication required for the MCP server
  • Deployable with one click or command line
  • Fully customizable tools via this.server.tool()
  • Connects to Cloudflare AI Playground as a remote MCP client
  • Compatible with local MCP clients via the mcp-remote proxy

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

  • Rapidly testing MCP tools without setting up local infrastructure
  • Integrating MCP tools with the Cloudflare AI Playground for interactive experimentation
  • Connecting Claude Desktop to a remote MCP server using the mcp-remote proxy
  • Providing a public, stateless MCP server for internal or demonstration purposes

FAQ from Building a Remote MCP Server on Cloudflare (Without Auth)

How do I deploy this MCP server?

Click the “Deploy to Workers” button or run npm create cloudflare@latest with the provided template to create a local project and deploy it to Cloudflare Workers.

How do I add custom tools to the server?

Define each tool inside the init() method of src/index.ts using this.server.tool(...). Refer to the Cloudflare AI documentation on MCP tools for details.

How do I connect to the Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/, enter your deployed MCP server URL (remote-mcp-server-authless.<your-account>.workers.dev/sse), and you can use your tools directly from the playground.

How do I connect Claude Desktop to this MCP server?

Install the mcp-remote proxy (npx mcp-remote) and add a configuration entry in Claude Desktop’s developer settings that points to your MCP server’s SSE endpoint. Restart Claude to see the tools.

コメント

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