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.

评论

开发工具 分类下的更多 MCP 服务器