MCP.so
ログイン

Building a Remote MCP Server on Cloudflare (Without Auth)

@jingwei950

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

概要はまだありません

基本情報

カテゴリ

開発者ツール

ランタイム

node

トランスポート

stdio

公開者

jingwei950

設定

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

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

ツール

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

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

概要

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.

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

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.

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.

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.

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.

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.

コメント

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