MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@sxjeru

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

概要はまだありません

基本情報

カテゴリ

開発者ツール

ランタイム

node

トランスポート

stdio

公開者

sxjeru

設定

標準の設定はありません

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

リポジトリ

ツール

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

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

概要

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

This example deploys a remote MCP (Model Context Protocol) server on Cloudflare Workers without requiring authentication. It is intended for developers who want a quick, unauthenticated remote MCP server for testing or tool prototyping.

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

Deploy via the provided "Deploy to Workers" button or using the CLI command npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools by editing src/index.ts inside the init() method with this.server.tool(...). Connect from Cloudflare AI Playground by entering the deployed URL, or from local clients like Claude Desktop via the mcp-remote proxy configured in the VS Code settings.

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

  • Deploy to Cloudflare Workers with one click or CLI.
  • No authentication required for the MCP server.
  • Add custom tools by modifying the server code.
  • Connect from remote MCP clients (e.g., AI Playground, Claude Desktop).
  • Uses Server‑Sent Events (SSE) transport.

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

  • Rapidly prototyping MCP tools without setting up authentication.
  • Testing MCP integration from Cloudflare’s AI Playground.
  • Connecting a remote MCP server to a local client like Claude Desktop.
  • Learning how to deploy and customize an MCP server on Cloudflare Workers.

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

How do I deploy this server?

Use the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless in your terminal.

How do I add custom tools to the server?

Edit the src/index.ts file and define each tool inside the init() method using this.server.tool(...).

How do I connect from Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/, enter your deployed MCP server URL (e.g., remote-mcp-server-authless.<account>.workers.dev/sse), and start using the tools.

How do I connect from Claude Desktop?

Use the mcp-remote package as a proxy. In Claude Desktop’s developer settings, add an MCP server with command npx mcp-remote <your-server-url>.

Does this server require authentication?

No, this example deploys a remote MCP server that does not require authentication, as indicated by the "Without Auth" in its name.

コメント

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