MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@jingwei950

基本情報

カテゴリ

開発者ツール

トランスポート

stdio

作者

jingwei950

Building a Remote MCP Server on Cloudflare について

概要はまだありません

Building a Remote MCP Server on Cloudflare の設定

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

{
  "mcpServers": {
    "clickup-mcp-server-jingwei950": {
      "command": "npx",
      "args": [
        "wrangler",
        "login"
      ]
    }
  }
}

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 intended for developers who want a simple, publicly accessible MCP server without setting up authentication.

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

Use the one-click "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless locally. After deployment, the server is accessible via a Workers URL ending in /sse. Secrets such as API keys can be added via wrangler secret put or the Cloudflare Dashboard.

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

  • Deploy a remote MCP server without authentication.
  • One-click deploy directly from the GitHub repository.
  • Local development with wrangler dev and .dev.vars for secrets.
  • Securely manage production secrets via Wrangler or Dashboard.
  • Add custom MCP tools inside the init() method of src/index.ts.

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

  • Connect your MCP server to the Cloudflare AI Playground.
  • Integrate MCP tools with Claude Desktop using the mcp-remote proxy.
  • Quickly prototype an MCP server without setting up authentication.

よくある質問

1

How do I deploy the MCP server manually?

Clone the repository, run `npm install`, log in with `npx wrangler login`, then deploy with `npx wrangler deploy`. The worker will be available at a URL like `my-mcp-server.<your-account>.workers.dev/sse`.

2

How do I manage secrets/API keys for custom tools?

For production, use `npx wrangler secret put YOUR_SECRET_NAME` or the Cloudflare Dashboard (Settings > Variables > Add Variable > Encrypt). For local development, create a `.dev.vars` file (do not commit it) with `YOUR_SECRET_NAME="value"`. Access secrets via the `env` object in your worker code.

3

How do I connect to Cloudflare AI Playground?

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

4

How do I connect Claude Desktop to this remote MCP server?

Install the `mcp-remote` npm package, then configure Claude Desktop's `mcpServers` with `command: "npx"` and `args: ["mcp-remote", "<your-server-url>/sse"]`. Restart Claude to see the tools.

5

What runtime or dependencies are required?

The server runs on Cloudflare Workers. For local development, you need Node.js and npm. No authentication libraries are required for this server.

コメント

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