MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@piyushgithub15

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

piyushgithub15

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)?

It is an example that deploys a remote MCP server without authentication on Cloudflare Workers. It is intended for developers who want to create MCP endpoints for AI agents and tools.

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

Deploy via the "Deploy to Workers" button or by running npm create cloudflare@latest my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools inside the init() method of src/index.ts using this.server.tool(...). Connect from Cloudflare AI Playground by entering the deploy URL, or from Claude Desktop using the mcp-remote proxy.

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

  • Deploy remote MCP server on Cloudflare Workers
  • No authentication required
  • Customize tools in src/index.ts
  • Connect from Cloudflare AI Playground
  • Connect from Claude Desktop via mcp-remote proxy

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

  • Build remote MCP endpoints for AI agents
  • Integrate custom tools with Cloudflare Workers
  • Connect MCP server to Claude Desktop or AI Playground

よくある質問

1

Do I need authentication?

No, this example deploys a remote MCP server that does not require authentication.

2

How do I deploy the server?

Use the "Deploy to Workers" button or run `npm create cloudflare` with the specified template.

3

How do I add my own tools?

Define each tool inside the `init()` method of `src/index.ts` using `this.server.tool(...)`.

4

How can I test the server remotely?

Connect from Cloudflare AI Playground by entering your deploy URL, or use the `mcp-remote` proxy to connect from Claude Desktop.

5

What protocol does the server use?

The server uses SSE (Server-Sent Events), as indicated by the `/sse` endpoint in the deploy URL.

コメント

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