MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@Jacqopb

关于 Building a Remote MCP Server on Cloudflare (Without Auth)

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

Jacqopb

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Building a Remote MCP Server on Cloudflare (Without Auth)?

This example deploys a remote Model Context Protocol (MCP) server on Cloudflare Workers without requiring authentication. It is designed for developers who want to expose MCP tools over the internet quickly, using Cloudflare’s serverless platform.

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

Deploy using the “Deploy to Workers” button to get a URL like remote-mcp-server-authless.<account>.workers.dev/sse, or run npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless. Customize tools by editing init() in src/index.ts with this.server.tool(...). Connect to Cloudflare AI Playground by entering the SSE URL, or to Claude Desktop by configuring a mcp-remote proxy in claude_desktop_config.json.

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

  • Deployable via a one‑click “Deploy to Workers” button
  • No authentication required for access
  • Exposes tools over SSE at a public URL
  • Tools are defined programmatically with this.server.tool()
  • Compatible with Cloudflare AI Playground as a remote client
  • Works with local MCP clients via the mcp-remote proxy

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

  • Quickly prototyping and sharing MCP tools without managing authentication
  • Testing MCP tools from the Cloudflare AI Playground
  • Integrating MCP tools into Claude Desktop through a remote proxy
  • Providing publicly accessible MCP servers for demos or lightweight workloads

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

What runtime does the server require?

It runs on Cloudflare Workers; local development uses npm and the create cloudflare CLI.

How do I add custom tools?

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

How can I connect to the Cloudflare AI Playground?

Go to https://playground.ai.cloudflare.com/ and enter your deployed SSE URL (remote-mcp-server-authless.<account>.workers.dev/sse).

How do I connect Claude Desktop to this server?

Use the mcp-remote npm package as a proxy. In Claude Desktop’s claude_desktop_config.json, set the command to npx with arguments ["mcp-remote", "<sse-url>"].

Does this server require authentication?

No, this example explicitly deploys an MCP server without authentication.

评论

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