MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@jeffpress

基本信息

分类

开发工具

传输方式

stdio

作者

jeffpress

关于 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 is a template to deploy a remote MCP (Model Context Protocol) server without authentication on Cloudflare Workers. It serves tools over SSE and is intended for developers who want to expose MCP tools remotely.

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

Deploy via the “Deploy to Workers” button or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools inside the init() method of src/index.ts using this.server.tool(...). Connect from Cloudflare AI Playground by entering your server URL, or from Claude Desktop via the mcp-remote proxy.

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

  • No authentication required for the MCP server
  • Deploy directly to Cloudflare Workers
  • Exposes tools over SSE endpoint
  • Works with Cloudflare AI Playground
  • Compatible with Claude Desktop via mcp-remote proxy

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

  • Prototype MCP tools without setting up auth
  • Connect remote tools to Cloudflare AI Playground
  • Integrate custom tools into Claude Desktop from the cloud

常见问题

1

What is the purpose of this template?

It helps you deploy a remote MCP server on Cloudflare Workers that requires no authentication, so you can quickly share tools.

2

How do I deploy the MCP server?

Use the "Deploy to Workers" button on the README or run the `npm create cloudflare` command with the provided template.

3

How do I add custom tools?

Define each tool inside the `init()` method of `src/index.ts` using `this.server.tool(...)` as shown in the Cloudflare documentation.

4

How can I connect this server to Claude Desktop?

Install the `mcp-remote` package and configure Claude’s `mcpServers` with the command `npx mcp-remote <your-sse-url>`. Restart Claude to see the tools.

5

Does this server use any authentication?

No, this example explicitly does not include authentication. It is intended for development or internal use.

评论

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