MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@LMJayasundara

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

LMJayasundara

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 deploys a remote MCP server on Cloudflare Workers that does not require authentication. It is intended for developers who want a quick, publicly accessible MCP endpoint for testing or local client integration.

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

Click the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless to create and deploy the server. The server URL will be remote-mcp-server-authless.<your-account>.workers.dev/sse. Customize tools inside the init() method of src/index.ts using this.server.tool(...).

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

  • Deploy a remote MCP server without authentication.
  • Built on Cloudflare Workers for global edge deployment.
  • Customizable tools defined in src/index.ts.
  • Connects to Cloudflare AI Playground as a remote MCP client.
  • Works with local clients via the mcp-remote proxy.
  • Single‑click deployment from the provided button.

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

  • Quickly test MCP tools from the Cloudflare AI Playground.
  • Integrate a remote MCP server with Claude Desktop using the mcp-remote proxy.
  • Prototype and experiment with MCP without setting up auth infrastructure.

よくある質問

1

How do I deploy the 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.

2

How do I add my own tools?

Inside the `init()` method of `src/index.ts`, define each tool using `this.server.tool(...)`. See the Cloudflare MCP tools documentation for details.

3

How do I connect from 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 start using the tools directly.

4

How do I connect from Claude Desktop?

Install the `mcp-remote` npm package, then add a configuration entry in Claude Desktop’s settings pointing `npx mcp-remote` to your server’s SSE URL.

5

Does the server require any authentication?

No. This example intentionally deploys the MCP server without authentication.

コメント

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