MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@awpthorp

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

awpthorp

Building a Remote MCP Server on Cloudflare について

概要はまだありません

Building a Remote MCP Server on Cloudflare の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "calculator": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:8787/sse"
      ]
    }
  }
}

Building a Remote MCP Server on Cloudflare のツール

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

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

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

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

This example allows you to deploy a remote MCP server that doesn’t require authentication on Cloudflare Workers. It is for developers who want a quick, serverless MCP endpoint with no auth overhead.

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

Deploy by clicking the “Deploy to Workers” button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools by editing src/index.ts. Connect from Cloudflare AI Playground (enter your deployed URL) or from Claude Desktop using the mcp-remote proxy.

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

  • Deploys directly to Cloudflare Workers with no authentication.
  • Includes a one-click deploy button for fast setup.
  • Provides a template for custom MCP tools via this.server.tool(...).
  • Connects to Cloudflare AI Playground as a remote client.
  • Works with local MCP clients using the mcp-remote proxy.

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

  • Hosting a public MCP tool server for demos or internal use without auth complexity.
  • Integrating custom MCP tools with Cloudflare AI Playground.
  • Connecting remote MCP tools to Claude Desktop via a proxy.

よくある質問

1

What prerequisites are needed?

You need a Cloudflare account and npm to run the `npm create cloudflare` command. No authentication is required for the MCP server itself.

2

How do I add my own tools?

Define each tool inside the `init()` method of `src/index.ts` using `this.server.tool(...)`. See Cloudflare’s tools documentation for details.

3

What is the deployed URL format?

The URL will be like `remote-mcp-server-authless.<your-account>.workers.dev/sse`.

4

How do I connect from Claude Desktop?

Use the `mcp-remote` npm package as a proxy. In Claude Desktop’s MCP configuration, set the command to `npx mcp-remote` with the server’s SSE URL as an argument.

5

Does this server support authentication?

No, this example explicitly deploys a remote MCP server without authentication.

コメント

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