MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@coutoluizf

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

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

coutoluizf

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

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

概览

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

This example enables you to deploy a remote Model Context Protocol (MCP) server on Cloudflare Workers without requiring authentication. It provides an SSE endpoint for remote MCP clients and is intended for developers who want to expose MCP tools over the internet without auth.

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

Deploy by clicking the “Deploy to Workers” button or by running 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 to the server via its URL (remote-mcp-server-authless.<your-account>.workers.dev/sse). Use it with Cloudflare AI Playground or with local MCP clients (e.g., Claude Desktop) through the mcp-remote proxy.

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

  • Deploys a remote MCP server on Cloudflare Workers
  • No authentication required for the server
  • Uses SSE (Server-Sent Events) transport
  • Fully customizable tools via this.server.tool()
  • Works with Cloudflare AI Playground as a remote MCP client
  • Connects to local MCP clients via mcp-remote proxy

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

  • Exposing custom MCP tools to remote clients without auth overhead
  • Integrating MCP tools with the Cloudflare AI Playground from any device
  • Connecting a remote MCP server to Claude Desktop for AI-assisted workflows
  • Rapid prototyping and testing of MCP tool definitions

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

What dependencies are required to deploy?

You need a Cloudflare account and Node.js/npm. Use the provided “Deploy to Workers” button or npm create cloudflare to set up the project.

Does the server require authentication?

No. This example explicitly omits authentication features. It is designed for scenarios where auth is not needed.

What transport protocol does the server use?

It uses SSE (Server-Sent Events) as the transport. The endpoint ends with /sse.

Where does the server run?

The server runs on Cloudflare Workers, a global edge computing platform. Data and code are executed on Cloudflare’s infrastructure.

Can I connect this server to local MCP clients like Claude Desktop?

Yes. Use the mcp-remote proxy (npm package) in your client configuration to point to the remote SSE URL. Claude Desktop configuration example is provided in the README.

评论

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