MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@aoprisan

基本信息

分类

开发工具

传输方式

stdio

作者

aoprisan

关于 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 example lets you deploy a remote MCP server on Cloudflare Workers that requires no authentication. It is designed for developers who want a lightweight, publicly accessible MCP endpoint for AI tool integration.

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

Deploy directly via the "Deploy to Workers" button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless from the command line. Customize tools by editing the init() method in src/index.ts. Connect clients by pointing them to the SSE URL, e.g., remote-mcp-server-authless.<your-account>.workers.dev/sse.

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

  • Deploy a remote MCP server on Cloudflare Workers
  • No authentication required for access
  • Exposes tools over SSE
  • Fully customizable tool definitions in TypeScript
  • Connects to Cloudflare AI Playground directly
  • Works with local MCP clients via mcp‑remote proxy

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

  • Hosting a public MCP server for AI assistants
  • Testing MCP tools from the Cloudflare AI Playground
  • Integrating remote tools into Claude Desktop via proxy
  • Rapid prototyping of MCP‑based services without auth overhead

常见问题

1

How do I deploy the server?

Use the "Deploy to Workers" button or run the npm create command. This creates a worker at `remote-mcp-server-authless.<your-account>.workers.dev/sse`.

2

How do I add custom tools?

Define each tool inside the `init()` method of `src/index.ts` using `this.server.tool(...)`. See the Cloudflare MCP tools documentation for details.

3

How do I connect to Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/, enter your deployed SSE URL, and use the tools in the playground.

4

How do I connect Claude Desktop to this server?

Install the `mcp-remote` npm package, then add a configuration entry in Claude Desktop pointing `npx mcp-remote` to your server’s SSE URL. Restart Claude to see the tools.

评论

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