MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@IlanKalendarov

基本信息

分类

开发工具

传输方式

stdio

作者

IlanKalendarov

关于 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 template deploys a remote MCP server that requires no authentication on Cloudflare Workers. It is designed for developers who want to quickly expose MCP tools over the internet without setting up user authentication.

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

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

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

  • Deployable to Cloudflare Workers with one click
  • No authentication required
  • Customizable tools via this.server.tool() in TypeScript
  • Uses Server-Sent Events (SSE) transport
  • Connects to Cloudflare AI Playground and local clients

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

  • Quickly expose MCP tools for demos or testing
  • Integrate custom tools with Cloudflare’s AI playground
  • Prototype MCP servers without building auth infrastructure
  • Connect local MCP clients (e.g., Claude Desktop) to remote tools via proxy

常见问题

1

How do I deploy the server?

Click 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 custom tools?

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

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 use the tools directly.

4

How do I connect Claude Desktop to the server?

Install the `mcp-remote` proxy via npm, then update your Claude Desktop configuration to run `npx mcp-remote <your-server-sse-url>`.

5

Does the server require authentication?

No, this template is specifically built to run without authentication.

评论

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