MCP.so
登录

Building a Remote MCP Server on Cloudflare (Without Auth)

@shaikzhafir

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

暂无概览

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

shaikzhafir

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

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

概览

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

A deployable template that lets you create a remote MCP (Model Context Protocol) server on Cloudflare Workers without requiring authentication. It is intended for developers who want to expose MCP tools remotely and connect them to clients like Cloudflare AI Playground or Claude Desktop.

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

Deploy the server either by clicking the "Deploy to Workers" button or by running npm create cloudflare@latest -- my-mcp-server --template=cloudflare/ai/demos/remote-mcp-authless in the command line. After deployment, customize tools inside the init() method of src/index.ts using this.server.tool(...). Connect to Cloudflare AI Playground by entering the deployed SSE URL, or to Claude Desktop by using the mcp-remote proxy with the same URL.

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

  • Deploy a MCP server without authentication on Cloudflare Workers
  • Add custom MCP tools inside src/index.ts
  • Connect to Cloudflare AI Playground as a remote MCP client
  • Connect to local MCP clients via the mcp-remote proxy
  • Uses Server-Sent Events (SSE) transport

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

  • Building and hosting custom MCP tools accessible from anywhere
  • Integrating MCP tools with Cloudflare’s AI Playground for testing or demonstration
  • Connecting remote MCP servers to desktop clients such as Claude Desktop

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

What are the prerequisites to deploy this server?

A Cloudflare account and Node.js/npm are required to deploy using the template.

How do I add my own tools to the MCP server?

Each tool is defined inside the init() method of src/index.ts using this.server.tool(...). The server’s tools section in the Cloudflare documentation provides more details.

How can I connect this server to Claude Desktop?

Install the mcp-remote npm package and configure Claude Desktop’s mcpServers to use npx mcp-remote <your-server-sse-url>.

Where does the MCP server data live?

The server runs on Cloudflare Workers; tool definitions are stored in your code, and any runtime data persists only within the worker’s execution context.

What transport does this server use?

This server uses the SSE (Server-Sent Events) transport protocol.

评论

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